If you are in a *nix it's easy. To delete a file (in a directory you can get to) you must have write permissions for that directory. So all you have to do is successfully open a file in the same directory.
For a more OS independant solution copy the file (cp -p) to a backup file then delete the original
As a note when you ask a question that is heavily dependant on a specific OS please include that information
UPDATE: Changed modern version of linux to *nix
| Just me, the boy and these two monks, no questions asked. |
In reply to Re: How do I know if I can delete a file/folder?
by grep
in thread How do I know if I can delete a file/folder?
by soffen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |