[Linux-cluster] ACL issue with Samba 2.0.23d + GFS

Marc Grimme grimme at atix.de
Thu Dec 14 06:40:04 UTC 2006


On Thursday 14 December 2006 00:46, Dex Chen wrote:
> I build (with ACL support) and installed samba 2.0.23d on RedHat EL
> 2.6.9. It runs fine. But, I ran into an issue with ACL support.
> Here is the detail:
> I set up a cifs share (gfs_cifs) which is on Linux GFS (see the smb.conf
> below), and mount it on a XP box. Then I try to change the permission of
> the dir through Windows native security tab. When I apply the changes
> (click on OK/Apply button), "Unable to save permission changes ...
> Access is denied" error message is popped up.
> I tried all other options in smb.conf, and nothing is help.
>
> But, I was able to using "setfacl" command on linux to modify the acl of
> GFS dir.
Use the latest RPM Version of GFS and it will go away. I had the same problems 
and updated and it worked. You need at least RHEL4/U4 it didn't work with all 
versions of U3.
Regards Marc.
>
> In addition, I was able to do exactly same thing for a share (ext_cifs)
> on ext3 file system.
>
> >From the above, it seems to me this problem has something to do with
>
> GFS.
> I took a look at the src/kernels/2.6.9-34.EL-x86_64/.config file and did
> not see any GFS entries similar to the following fro EXT3:
> CONFIG_EXT3_FS_XATTR=y
> CONFIG_EXT3_FS_POSIX_ACL=y
>
> Any help on this would be really appreciated.
>
> Thanks,
>
> Dex
>
> ====================smb.conf======================================
>
> [global]
>    workgroup = lab01.local
>    netbios name = CUB02
>    server string = cub01 Samba Server
>    printcap name = /etc/printcap
>    load printers = yes
>    cups options = raw
>    log file = /var/log/samba/%m.log
>    max log size = 50
>    local master = no
>    preferred master = no
>    os level = 0
>    security = user
>    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>    dns proxy = no
>    template shell = /bin/false
>    winbind use default domain = yes
>    idmap uid = 50000-60000
>    idmap gid = 50000-60000
>    template homedir = /home/winnt/%d/%u
>    template shell = /bin/bash
>    encrypt passwords = yes
>    acl compatibility = win2k
> [ext_cifs]
>    comment = test cif shares from Ext3
>    path = /var/tmp/ext_cifs1
>    public = no
>    writable = yes
>    dos filemode = yes
> [gfs_cifs]
>    comment =  test cif shares from GFS
>    path = /mnt/volume1/export/gfs_cifs1
>    public = no
>    writable = yes
>    dos filemode = yes
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster

-- 
Gruss / Regards,

Marc Grimme
Phone: +49-89 452 3538-14
http://www.atix.de/               http://www.open-sharedroot.org/

**
ATIX - Ges. fuer Informationstechnologie und Consulting mbH
Einsteinstr. 10 - 85716 Unterschleissheim - Germany




More information about the Linux-cluster mailing list