[Samba] Cannot change File Attributes
Andreas Schlager
aschlager at kaindl.com
Fri Oct 28 06:41:41 GMT 2005
Hi list,
i've upgraded Samba 3.0.14a to 3.0.20b (debian package) and ran into
following problem:
I cannot change the file-attribute (read-only, hidden, archive) from a
file via the windows explorer as an ordinary user. The error "access
denied" occurs.
The file has following permissions on Unix:
-rwxrw---- 1 root Massen 0 2005-10-28 08:17 Neu Textdatei.txt
The user is named "ewlun" and is member of the Group "Massen". The share
where the user writes this file has following settings:
[Programme]
comment = Programme
path = /home/samba/Programme
read only = No
create mask = 0770
directory mask = 0750
acl group control = Yes
inherit owner = Yes
inherit permissions = Yes
If the Administrator-user is trying to change the file-attributes, this
works in following way:
Before set to "read only":
-rwxrw---- 1 root Massen 0 2005-10-28 08:17 Neu Textdatei.txt
After set to "read only":
-r--r----- 1 root Massen 0 2005-10-28 08:17 Neu Textdatei.txt
BUT: It is possible to edit the file (f.e. via 'Notepad')! After saving
the file has following permissions again:
-rwxrw---- 1 root Massen 18 2005-10-28 08:27 Neu Textdatei.txt
This behaviour is new in 3.0.20b, with 3.0.14a this was working as expected.
--
M. Kaindl Holzindustrie
Kaindlstraße 2
A-5071 Wals/Salzburg
Andreas Schlager, IT
More information about the samba
mailing list