Nick Guenther wrote:
Don't you want sticky(8)?
According to the man page:
A directory with the `sticky bit' set places restrictions on file dele-
tion: a file in a sticky directory may only be removed or renamed by a
user if the user has write permission for the directory and the user is
the owner of the file, the owner of the directory, or the superuser.
In my case the directory is owned by the user (who has write access
since he has to create the new files to store) so even with sticky bit I
think it will be possible to remove the files.
Having the directory owned by another user and having a seperate user
(in the same group probably) upload the files , again the upload user
will have write permission in the directory, and he will own the files,
as a result he will be able to delete them.
Am i missing something??
Aristotelis