Just to clarify two points in my previous cry for help (see mail below)...
1.
The file I used for testing had read AND write permissions for root, and no
permissions for anyone else. And yet it could be deleted by any Windows
user (through SAMBA).
If I chmod the file to having ONLY read access by root (no write access)
then Windows users cannot delete the file.
It appears as though SAMBA is doing reads as the windows user, but is doing
deletes as root?
2.
So far the only SAMBA servers I've found that do not have this problem have
"read only = yes". So it appears to be a problem with all our
writable
servers.
Any ideas, anyone?
>Date: Fri, 02 Feb 2001 12:25:32 +1100
>
>I'm a newbie, so I hope that this is question has not been answered a
>thousand times... I couldn't find it in the archives...
>
>This problem exists on some of the SAMBA servers here but not on
>others. I want to be able to have several users writing to a SAMBA share,
>but not to be able to modify or delete each others files.
>
>I have found that anyone can delete anyones files no matter who owns them
>or what permissions are on those files.
>
>For the sake of testing, I created (on the UNIX side) a file in the
>directory used for such a SAMBA share and changed its
>ownership/permissions such that it had read access for root (owner) and no
>other access at all for any group or world.
>
>However, any user connected to that share from Windows can delete such a
>file. This is a big problem for me!!!
>
>Note that such users cannot read the file (as it should be) but they can
>delte it (from Windows), even though, at the UNIX level, they shouldn't
be
>able to do either.
>
>Is SAMBA supposed to respect the UNIX permissions? I thought that the man
>page indicated that it would not override UNIX permissions.
>
>Any help would be greatly appreciated.
>
>Thanks,
>Nik.
>
>================================================================>NIK
SANDS - Systems Administrator MailTo:Nik.Sands@utas.edu.au
>Information Technology Services Phone: +61-3-63243732
>University of Tasmania, Australia Fax: +61-3-63243081
>
>
================================================================NIK SANDS -
Systems Administrator MailTo:Nik.Sands@utas.edu.au
Information Technology Services Phone: +61-3-63243732
University of Tasmania, Australia Fax: +61-3-63243081