in reply to Re: 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?

Hello,

Well, you are wrong. When you delete a file, you are actually changing the directory that the file is in, so write access to that directory is sufficient. When you change the contents of the file, eh, you are actually changing the file itself, so you need write access to the file (write access to the directory is not needed). Your demonstration is in no way related to the question asked.

Since the original question asks about deleting, then write access to the directory is the right answer, therefore grep is not wrong.

--
Alper Ersoy

  • Comment on Re: Re: Re: How do I know if I can delete a file/folder?