summaryrefslogtreecommitdiffstats
path: root/crypto/arc4.c
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2013-11-15 20:41:32 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-04 10:57:15 -0800
commit9d41513cef9d3e3083a0cb83216b88074492f461 (patch)
treeb2c49dea2cdf71e1482c0921caeeab06b99bec57 /crypto/arc4.c
parent57a5b135c2fd42bfcab2fa4b25395234038e4a16 (diff)
downloadlinux-stable-9d41513cef9d3e3083a0cb83216b88074492f461.tar.gz
linux-stable-9d41513cef9d3e3083a0cb83216b88074492f461.tar.bz2
linux-stable-9d41513cef9d3e3083a0cb83216b88074492f461.zip
setfacl removes part of ACL when setting POSIX ACLs to Samba
commit b1d93356427be6f050dc55c86eb019d173700af6 upstream. setfacl over cifs mounts can remove the default ACL when setting the (non-default part of) the ACL and vice versa (we were leaving at 0 rather than setting to -1 the count field for the unaffected half of the ACL. For example notice the setfacl removed the default ACL in this sequence: steven@steven-GA-970A-DS3:~/cifs-2.6$ getfacl /mnt/test-dir ; setfacl -m default:user:test:rwx,user:test:rwx /mnt/test-dir getfacl: Removing leading '/' from absolute path names user::rwx group::r-x other::r-x default:user::rwx default:user:test:rwx default:group::r-x default:mask::rwx default:other::r-x steven@steven-GA-970A-DS3:~/cifs-2.6$ getfacl /mnt/test-dir getfacl: Removing leading '/' from absolute path names user::rwx user:test:rwx group::r-x mask::rwx other::r-x Signed-off-by: Steve French <smfrench@gmail.com> Acked-by: Jeremy Allison <jra@samba.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/arc4.c')
0 files changed, 0 insertions, 0 deletions