[Samba] Different file permissions on new file
Alexander Busam
a.busam at hofmann-foerdertechnik.com
Mon Feb 1 23:23:41 MST 2010
Alexander Busam schrieb:
> Hello list :-)
>
> I got different file permissions on a new created/copied file.
>
> If I copy the file to \\192.168.1.25\data
> I got -rwx------ 1 advantage advantage 0 Jan 18 11:16 test.txt
>
> If I copy the file to \\192.168.1.25\data\pix
> I got -rwxrwxr--+ 1 advantage advantage 0 Jan 18 11:18 test.txt
>
> The permissions of the path to the share are:
> drwxrwxr-x+ 14 advantage advantage 4096 Jan 18 11:16 data
>
> What is wrong?
>
> Best regards,
>
> Alex
>
> The smb.conf:
>
> # Samba config file created using SWAT
> # from 127.0.0.1 (127.0.0.1)
> # Date: 2010/01/18 11:22:35
>
> [global]
> workgroup = HMDBSRV
> server string = map to guest = Bad Password
> printcap name = cups
> add machine script = /usr/sbin/useradd -c Machine -d
> /var/lib/nobody -s /bin/false %m$
> logon script = scripts\login.bat
> logon path = \\%L\profiles\.msprofile
> logon drive = L:
> logon home = \\%L\%U\.9xprofile
> domain master = No
> ldap admin dn = cn=xxx,dc=yyyy,dc=de
> ldap group suffix = ou=groups
> ldap machine suffix = ou=hosts
> ldap passwd sync = Yes
> ldap suffix = dc=yyyy,dc=de
> ldap ssl = no
> ldap user suffix = ou=users
> usershare allow guests = Yes
> printing = cups
> cups options = raw
> print command = lpq command = %p
> lprm command = oplocks = No
>
> [data]
> comment = Datenbank
> path = /data
> force user = advantage
> force group = advantage
> read only = No
> guest ok = Yes
> preserve case = No
> level2 oplocks = No
>
Can anybody tell me what's wrong ?
More information about the samba
mailing list