ACLs needed for CIFS rename operation?

Added by Mike H 8 months ago

I have just setup NS-2.2 using the vmware image and a developer license. I have a number of CIFS-shared folders, and (so far) 1 Win7 client using workgroup user authentication (non-anonymous).

I am seeing excellent read/write performance (2X what I was getting with CentOS/Samba on the same hardware) and like the management tools. The only issue I am seeing is when I try to rename a file/directory from Windows Explorer on the client I get a permissions error. I have played with my user's ACLs quite a bit (using the NMC command 'setup folder acl') but I cannot seem to get this to work. The CIFS log available through the Web UI does not show any errors.

Any suggestions on what to try?

Thanks.


Replies

RE: ACLs needed for CIFS rename operation? - Added by Mike H 8 months ago

I haven't quite solved this yet, but I'm learning more about ZFS ACLs when combined with Windows clients: http://mattwilson.org/blog/solaris/solaris-cifs-server-and-zfs-acls-the-problem/

If/when I do get this resolved I will posts here for other new NexentaStor users.

RE: ACLs needed for CIFS rename operation? <solved> - Added by Mike H 8 months ago

OK, here's the magic incantation (which I got from here: [[http://mattwilson.org/blog/solaris/solaris-cifs-server-and-zfs-acls-the-problem/#comment-6254]]):

/usr/sun/bin/chmod -R A=owner@:rwxpdDaARWcCos:df:allow,everyone@:xrcarR:df:allow /volumes/myvol/*

where myvol is replaced with your data volume name.

YMMV, MikeH

RE: ACLs needed for CIFS rename operation? - Added by Yann H 8 months ago

Awesome, thanks for sharing your find.