described problem for: samba 3.0.20, 3.0.12, 3.0.13, 3.0.14a
latest tested release without described problem: 3.0.10
compiled on AIX5.X
When login the Userprofile is transfered to client, but all directories and some
files have the attribut "read-only" set.
For test we can reset the attributes with 'attrib -r -a -s -h "%USERPROFILE%\*"
/S /D'. But after logout/login we get the same behaviour.
Maybe this report is related to Bugzilla Bug 2813?
please attach a gzipeed level 10 debug log for the transfer of the profile
from the server to client.
This is due to the code in smbd/dosmode.c that sets attributes to read-only if
the user doesn't have write access. Two fixes for this - if you have EA support
on the filesystem, set smbd to store DOS attributes in them using :
store dos attributes = yes
and explicitly set the dos attributes on the profile files.
Or secondly: set "acl check permissions = false".
This is fixed in 3.0.21 which has a new parameter "map readonly" that can
control this explicitly.