cifs permissions issue solved

Posted by hyling on July 5th, 2009 filed in Uncategorized

Well, thanks to a post to cifs-discuss one of the nice sun guys answered my questions.

The cifs server ran but whenever a user copied files to the share, it would be created without permissions.  Turns out I have to set ACL permissions on the share.

This sets the ACLs so only the owner has permissions:

note: you’re using /usr/bin/chmod if you only use chmod it’ll default to the gnu version which is not what you want.

# /usr/bin/chmod A=owner@:full_set:fd:allow <your-root-dir>

Leave a Comment