1

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.

countermode
  • 7,533
  • 5
  • 31
  • 58

1 Answers1

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)

Emmanuel
  • 4,187