luminousmonkey.org

OpenSolaris with CIFS and ZFS ACLs

Saturday 01 November 2008, 08:36 WST

If you’re using OpenSolaris and the CIFS server stuff that’s built-in with ZFS, you may have run into a problem where you can’t edit or rename files with Windows, even though you’ve got write permissions on the file.  It’s not the server that’s stopping you, it’s the Windows client.  It’s looking at the ACLs and checking for permission, sees that it doesn’t have it and denying you.

The trick is you have to set the ACLs to what Windows expects.  To do this, make sure you’ve got you path set to use the Solaris ls and chmod utils.

export PATH=/bin:$PATH

Then set the permissions for all the files, and dirs recursively:

chmod -R A=owner@:rwxpdDaARWcCos:fd:allow,owner@::fd:deny,group@:wp:fd:deny,group@:rx:fd:allow,everyone@:wpAWCo:fd:deny,everyone@:rxaRcs:fd:allow movies

Depending on what you want to do, you will have to change the ACL options, but hopefully this helps a little.

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

Leave a Reply

Spam Protection by WP-SpamFree

September 2010
M T W T F S S
« May    
 12345
6789101112
13141516171819
20212223242526
27282930  

Other: