[Samba] ACL/Excel file issue

Daniel Huntley Daniel.Huntley at morningstar.com
Thu Apr 10 21:42:32 GMT 2008


Hi,

I have the same issue. Only started happening when I upgraded to 3.0.25b
Centos5

As a temporary solution I set force security mode = 0770 on the shares
which fixes the problem but is not an ideal solution.

Dan

-----Original Message-----
From: samba-bounces+dhuntley=aspecthuntley.com.au at lists.samba.org
[mailto:samba-bounces+dhuntley=aspecthuntley.com.au at lists.samba.org] On
Behalf Of Ben Tisdall
Sent: Wednesday, 9 April 2008 3:08 AM
To: samba at samba.org
Subject: [Samba] ACL/Excel file issue

Hi,

I've just upgraded an organisation from 3.0.23a to 3.0.25b on CentOS.

Everything went fine excpet they're having an issue with Excel files 
going RO which perhaps is related to acls.

$ ls foo.xls
-r--rwxr--+ 1 mr.bogus staff 101376 Apr  8 12:59 08-04-04 foo.xls

and getfacl gives:

# owner: mr.bogus
# group: staff
user::r--
user:mr.test:rw-
group::rw-
mask::rwx
other::r--

This is the testparm output with extraneous shares pruned out. It's the 
same conf as the old server.

[global]
         workgroup = REDRESSTRUST
         netbios name = REDRESS3
         interfaces = eth0, lo
         bind interfaces only = Yes
         passdb backend = ldapsam:ldap://127.10.0.1:1389
         passwd program = /usr/sbin/smbldap-passwd %u
         passwd chat = *New*Password* %n\n*Re-enter*new*password* %n\n 
*Password*changed*
         username map = /etc/samba/users.conf
         log level = 1
         syslog = 0
         name resolve order = wins bcast hosts
         time server = Yes
         printcap name = cups
         show add printer wizard = No
         add user script = /usr/sbin/smbldap-useradd -m %u
         delete user script = /usr/sbin/smbldap-userdel "%u"
         add group script = /usr/sbin/smbldap-groupadd -p "%g"
         delete group script = /usr/sbin/smbldap-groupdel "%g"
         add user to group script = /usr/sbin/smbldap-groupmod -m "%u"
"%g"
         delete user from group script = /usr/sbin/smbldap-groupmod -x 
"%u" "%g"
         set primary group script = /usr/sbin/smbldap-usermod -g "%g"
"%u"
         add machine script = /usr/sbin/smbldap-useradd -w "%u"
         logon script = login.bat
         logon drive = P:
         domain logons = Yes
         preferred master = Yes
         wins support = Yes
         ldap admin dn = uid=admin,dc=redress,dc=org
         ldap delete dn = Yes
         ldap group suffix = ou=groups
         ldap idmap suffix = ou=idmap
         ldap machine suffix = ou=computers
         ldap passwd sync = Yes
         ldap suffix = dc=redress,dc=org
         ldap ssl = no
         ldap user suffix = ou=users
         printing = cups
         print command =
         lpq command = %p
         lprm command =
         hide files = /desktop.ini/
         map archive = No
         include = /etc/samba/shares.conf

[OrgData]
         comment = "STAFF read/write, others read"
         path = /space/data1/orgdata
         valid users = root, @staff
         read only = No
         create mask = 0664
         force create mode = 0664
         directory mask = 0775
         force directory mode = 0775

Thanks,

-- 
Ben Tisdall
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


More information about the samba mailing list