Chris wrote:
When copying files to a CIFS share running on Opensolaris how
do you set the default unix file creation permissions for those
files in the unix side file system?

Mostly, you shouldn't need to.

Treat it like a Windows system and set the ACLs as you would on a Windows system, and they will work sensibly for UNIX applications too.

As Chris notes, "ls -l" will often show "---------". Don't worry about it too much. Look at the ACL and make sure that it says what you want it to.

Set the "inherit" bits on the ACL on the root of your hierarchy so that your desired ACL automatically propagates down to newly created files and directories.

There are still some rough edges in the interaction between ACLs and legacy UNIX-style permissions. We're working on them, but for many purposes you can just ignore permissions and pay attention to ACLs.
_______________________________________________
cifs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss

Reply via email to