in reply to Re: How do I know if I can delete a file/folder?
in thread How do I know if I can delete a file/folder?

THIS IS WRONG FOR UNIX

As I tried to politely explain in a /msg to mitd a file delete is a directory operation. The file permissions are not a factor. You need directory write permissions to delete a file in *nix

If you are still unsure please check these links

  • Permissions - By Rutgers Univ.
  • An Introduction to Unix Permissions - By ONLAMP.com
  • File and Directory Permissions
  • CHMOD on perlfect.com
  • To quote from the perlfect.com site:

    Directories

    Another interesting thing to note is that lib/ which is a directory has permissions, too. Permissions take a different meaning for directories. Here's what they mean:



    grep
    Just me, the boy and these two monks, no questions asked.