Problem with moving read-only files

J. Mostert J.Mostert at delftgeot.nl
Mon Nov 15 07:45:50 GMT 1999


Hi there,

Recently I found a problem with moving read-only files, owned by another
user. If you try to move such a file from a read-only network directory
to another writable network directory (owned by yourself), you get an
error message that you cannot delete the original file. This is, of
course, correct. The problem however is that the file in the directory
you were moving to, is read-only and not owned by yourself.

Example: drive N: is connected with a Samba server. In the read-only
directory N:\tmp is a file named "from.dat", owned by user aaa, with
unix permissions 744. Moving it to the directory N:\mydir will result in
a file that cannot be deleted from N:\mydir. The owner of to.dat is user
aaa; the unix permissions are 600.
You need to login on the unix machine in order to remove the file. It
cannot be removed from the Win95/NT client.

Jan Mostert.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: J.Mostert.vcf
Type: text/x-vcard
Size: 308 bytes
Desc: Card for J. Mostert
Url : http://lists.samba.org/archive/samba/attachments/19991115/828009f4/J.Mostert.vcf


More information about the samba mailing list