Being aware of this answer I wonder whether there is any useful purpose for write-only directories, i.e. directories with permissions -w-.

Any directory-"writing" operation I know of (such as creat, mkdir, link, unlink, symlink, rename) fails with permissions -w- but works perfectly with permissions -wx.

  • No, this is not a duplicate. I've seen that question. Commented Sep 4, 2014 at 12:59

1 Answer 1


I don't see any usage except d-w--w--w- looks nicer than d---------, you can use it if you want to protect a directory from modifications.

(just joking here)

Not the answer you're looking for? Browse other questions tagged .