[Samba] ACLs on a directory on GPFS

Andras Frankel Andras.Frankel at mcgill.ca
Fri Feb 1 08:05:12 MST 2013


No, that didn't change anything. Still can't access directories (it
works fine with files.)

On 02/01/2013 01:27 AM, Pacher Dragos wrote:
> Does it work if you remove the
> map acl inherit = yes
> ?
> 
No, that didn't change anything. Still can't access directories (it
works fine with files.)


What is happening if I use acl_xattr module instead of cfs_gpfs module?
 Is there a risk of data corruption due to lack of gpfs locking?

Thanks,

Andras

> 
> On Thu, Jan 31, 2013 at 10:41 PM, Andras Frankel
> <Andras.Frankel at mcgill.ca <mailto:Andras.Frankel at mcgill.ca>> wrote:
> 
>     Hello,
> 
>     I am using the vfs_gpfs samba module to map ACLs through samba. It works
>     fine on files, but directory ACLs are ignored. Ex:
> 
>     getfacl /sb/share/myplace/
> 
>     file: sb/share/myplace/
>     owner: root
>     group: root
>     user::rwx
>     user:afrankel:rwx
>     group::---
>     mask::rwx
>     other::---
> 
>     When I try to access this folder in Windows, I get permission denied.
>     The same permissions on a files, I can open it / modify it without any
>     problems.
> 
>     Here is my seetings :
> 
>         mmlsfs sb
> 
>     -D nfs4 File locking semantics in effect
>     -k all ACL semantics in effect
> 
>     /etc/samba/smb.conf :
>     ---------------------
> 
>     clustering = yes
>     fileid:mapping = fsname
>     vfs objects = shadow_copy2 syncops gpfs fileid
>     shadow:snapdir = .snapshots
>     shadow:fixinodes =yes
>     gpfs:sharemodes = Yes
>     gpfs:leases = Yes
>     posix locking = Yes
>     kernel oplocks = Yes
>     level2 oplocks = no
>     force unknown acl user = Yes
>     nfs4: mode = special
>     nfs4: chown = yes
>     nfs4: acedup = merge
> 
>     [share]
>     read only = No
>     browseable = yes
>     path = /sb/share
>     map acl inherit = yes
>     inherit acls = no
>     dos filemode = no
>     create mask = 0770
>     force create mode = 0770
>     directory mask = 0777
> 
>     Versions :
> 
>     GPFS v3.4.0-18 on Linux.
>     samba-3.5.10-114
> 
>     Did anybody else has experienced this? Note that if I replace 'gpfs'
>     module with 'acl_xattr' modules, it seems to work fine. Can I use samba
>     on gpfs without the GPFS module?
> 
>     Thanks,
> 
>     Andras
>     --
>     To unsubscribe from this list go to the following URL and read the
>     instructions:  https://lists.samba.org/mailman/options/samba
> 
> 



More information about the samba mailing list