[Samba] File & directory permissions

Oliver Thinnes O.Thinnes at pulsaar.de
Tue Jun 18 08:39:01 GMT 2002


When typing "testparm|less" you should see that the default value for create
mask = 0744.

Thus all new created or modified (!!!) files have these permission. See log
file (smb.conf: log level = 2). Then you see the permission that are set.

I hope this helps.

----- Original Message -----
From: "Sébastien Valsemey" <sebastien.valsemey at orange.fr>
To: <samba at lists.samba.org>
Sent: Monday, June 17, 2002 6:27 PM
Subject: [Samba] File & directory permissions


Hello,

My main problem is that I can't change the read-only attribute on a
directory (not a file) included in a Samba share from the properties
dialog box on any Windows workstation. There is not even an error
message, but depending of the OS (98, ME, NT4, 2K...), when I click on
Apply, either the tick goes, or when I reopen the dialog box, the tick
has gone. I checked the permissions and the directory (security) mask,
my configuration file is basic and I tried several versions of Samba.
(2.2.3a, 2.2.4). Of course, the user which connects has correct Unix
permissions.

Here is my whole smb.conf file:

[global]
   workgroup = ALCIDIAN
   encrypt passwords = yes

[homes]
   comment = Home Directories
   browseable = no
   writable = yes
   create mask = 0700
   directory mask = 0700

I would be very grateful if anyone could help me.

Regards,
Sébastien Valsemey.



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






More information about the samba mailing list