[linux-cifs-client] chmod on a cifs client and ACLs on a Windows server

Steven French sfrench at us.ibm.com
Tue Jan 8 16:35:33 GMT 2008


The alternative behavior would be that all ACEs are preserved, except 
those for owner, owning group (if present), and everyone (those three 
would be overwritten by the mode bits).

The current behavior for chmod on the Linux cifs client works on mounts 
that are mounted with the "cifsacl" mount option in the current Linux cifs 
development tree (and presumably in -mm by now) but is not checked into 
mainline kernel yet - but we want to resolve the right behavior before 
2.6.25 builds open up in a few weeks (so that this could can make 2.6.25).


Steve French
Senior Software Engineer
Linux Technology Center - IBM Austin
phone: 512-838-2294
email: sfrench at-sign us dot ibm dot com



"Shirish Pargaonkar" <shirishpargaonkar at gmail.com> 
Sent by: linux-cifs-client-bounces+sfrench=us.ibm.com at lists.samba.org
01/08/2008 09:57 AM

To
linux-cifs-client at lists.samba.org
cc
agruen at suse.de
Subject
[linux-cifs-client] chmod on a cifs client and ACLs on a Windows server






Cifs client, when chmod command is issued, follows what
SFU/Interix does.  Is this the behaviour that cifs client
should exhibit (that is how it is implemented currently)?

Regards,

Shirish


When doing a chmod on Interix, always the following is done:
- all ACLs are removed and replaced by 3 new ACLs,
  one for the windows file owner, one for the POSIX group of the
  file owner and one for Everyone (SSID: S-1-1-0)

Regards,

Shirish
_______________________________________________
linux-cifs-client mailing list
linux-cifs-client at lists.samba.org
https://lists.samba.org/mailman/listinfo/linux-cifs-client




More information about the linux-cifs-client mailing list