Hi,

Running 3.0.28-0.2-1625-SUSE-CODE10,
if in /etc/samba/smb.conf the "hide dot files" parameter is set to "No" then
on the client I see

$ touch hi
touch: cannot touch `hi': Permission denied
$ ls -alh
total 4.0K
drwxrwxr-x 10      500 users    0 2010-05-20 14:27 .
drwxr-xr-x 29 root     root  4.0K 2010-05-18 16:36 ..
...
-rw-r-----  1 root     users    0 2010-05-20 14:27 hi
...
$ rm hi
rm: remove write-protected regular empty file `hi'? yes
$ ls hi
ls: cannot access hi: No such file or directory

It does not seem the permissions of the directory matter, the files created
are always owned by root despite the creating process saying "permission
denied."  And they are always deletable.  No client-side options made any
difference until we stumbled upon "hide dot files = Yes" which worked, and
now files are created correctly with proper permissions.

cheers,
stephan

PS: the entry in smb.conf
[xxx]
inherit acls = Yes
path = /xxx
 read only = No
valid users = ....
browseable = Yes
 writeable = yes
hide dot files = Yes
inherit permissions = Yes
 admin users = xxx
create mask = 660
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to