|Just another Perl shrine|
Re: How do I know if I can delete a file/folder?by mitd (Curate)
|on Jul 26, 2002 at 05:36 UTC||Need Help??|
This simple answer is you, that is you the owner of the process which is attempting to delete the file, must have 'write permissions' on/for that file.
The definition of 'write permissions' is one of the following:
The same rule apply to directories with addtional condition that the directory must be empty.
Holy Dumbus Old Fartus! why an old fart should not be
After a well deserved 'slap upside the head' from grep and others.
Please ignore the above the only excuse I can offer is 1969 bad drugs.
Repeat after me: File deletion operations are Directory operations and therefore depend on directory ownership and mode settings
mitd-Made in the Dark