Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • I think your comment is the answer I was looking for. I really had trouble to find out about that. But what is about the root directory? Only the root user can handle it? Commented Oct 2, 2016 at 14:07
  • @SatoKatsura: I don't think that it is sufficient to be owner of the directory the files resides in. I think you have to own the file, since the permissions are stored in the inode of the file, not in the directory structure. But you could delete a file that you do not own in a folder that you have write permissions on. Commented Oct 2, 2016 at 15:31