steve
2012-Jul-06 10:21 UTC
[Samba] Samba4: mounting cifs on Linux client no longer preserves acl's
Version 4.0.0beta4-GIT-8f44389 Hi everyone Up until recently, mounting a share on a Linux client preserved the permissions of the files in the share, but now it doesn't. e.g. on the server drwxrws---+ 2 root staff 4096 Jul 6 12:04 7a # file: year7 # owner: root # group: staff # flags: -s- user::rwx user:root:rwx group::rwx mask::rwx other::--- default:user::rwx default:user:root:rwx default:group::rwx default:mask::rwx default:other::--- Now we mount the share on a Linux client: mount -t cifs //hh1/reports /mnt -ore,sec=krb5,uid=,gid=staff Now it has changed to: drwxr-xr-x 1 root staff 0 jun 30 19:39 year7> # file: year7 > # owner: root > # group: staff > user::rwx > group::r-x > other::r-xThe acl has been lost. This has been OK until recently. e.g. it worked with beta2. I can work around it by mounting the shares with nfs but then we lose the oplocks. Any ideas anyone? Cheers, Steve
steve
2012-Jul-06 10:53 UTC
[Samba] Samba4: mounting cifs on Linux client no longer preserves acl's
On 06/07/12 12:21, steve wrote:> mount -t cifs //hh1/reports /mnt -ore,sec=krb5,uid=,gid=staff >Retried with: mount -t cifs //hh1/reports /mnt -orw,sec=krb5,uid=,gid=staff Same. So it's not the typo. Cheers, Steve
steve
2012-Jul-06 11:14 UTC
[Samba] Samba4: mounting cifs on Linux client no longer preserves acl's
On 06/07/12 12:21, steve wrote:> Version 4.0.0beta4-GIT-8f44389 > > Hi everyone > Up until recently, mounting a share on a Linux client preserved the > permissions of the files in the share, but now it doesn't. >Here is the same on: Version 4.0.0beta2 mount -t cifs //hh1/reports /mnt -orw,sec=krb5,uid=,gid=staff drwxrws---+ 4 root staff 0 Jun 30 19:39 year7 # file: year7 # owner: root # group: staff # flags: -s- user::rwx user:root:rwx group::rwx mask::rwx other::--- default:user::rwx default:user:root:rwx default:group::rwx default:mask::rwx default:other::--- It works fine with the beta2. Would it be possible to 'revert fix' this for the new betas? Cheers, Steve