With Samba 3.0.14a, an "access denied" error is returned if I try to rename a
file that has the read-only attribute set (i.e. no owner "w" permission).
This behavior is a regression from previous versions of Samba (e.g. 3.0.10) and
inconsistent with Windows (which allows read-only files to be renamed).
1. On Windows (2000), map Y: to a Samba 3.0.14a share.
2. Open up Command Prompt and execute the following commands:
Y:\>echo test > a
Y:\>attrib +r a
A R Y:\a
Y:\>ren a b
Access is denied.
Notice that the "ren" command fails with an "Access is denied" error.
If I downgrade to 3.0.10 and execute the same commands, there is no error; the
file is successfully renamed.
*** This bug has been marked as a duplicate of 3035 ***