[Samba] Problems with file-creating: Wrong access-rights
Harry Rüter
harry_rueter at gmx.de
Sat Jun 1 04:15:02 GMT 2002
Hi People,
i have the following problem :
When i create a file on a share from a Winxx
the access-rights are not the ones i want to have.
Here's the part of smb.conf belonging to the problem:
[data]
browsable = yes
writable = yes
comment = Datenverzeichnis
path = /data
public = yes
force directory mode = 0770
force create mode = 0660
When creating a file a get the following :
ls -l mod.tar.gz
-rwxrw-r-- 1 Administ users 151795 May 31 12:20
mod.tar.gz
486dx66:/data #
The rights are : 764
Creating a directry tst :
486dx66:/data # ls -dl tst
drwxrwxr-x 2 Administ users 1024 Jun 1 13:05 tst
486dx66:/data #
The rights : 775
Where's the mistake i made ?
Greetings Harry
More information about the samba
mailing list