And Thus Spake terry white <[EMAIL PROTECTED]> (on Sat, 31 May 2003 15:47:17
-0700 (PDT)):

> ... "removing parts of this file or append text" is in opposition to 'not
> being able to delete a file'.  because, they all require 'write'
> permission.

Actually, one can exist without the other.

If user A has write permissions on the DIRECTORY containing file B, but not
on the file itself, then the user can DELETE the file but not modify it.

OTOH, if user A does NOT have write permission to the directory, then they
CANNOT delete (nor create) files in the directory. All you have to do is
make sure there is a null-length file already in the directory, and the user
will be able to read/write it (provided it has the right permissions) but
NOT delete it.

-- 
G. Stewart   --   [EMAIL PROTECTED] -- [EMAIL PROTECTED]
Registered Linux user #284683
---------------------------------------------------------------
Some days you are the bug; some days you are the
windshield.

Reply via email to