1

User can change the file permission to write only (010) in unix environment. But are there any usecase to keep the file permission to write only mode?.

Anbu
  • 91
  • 7
  • A secure log file comes to mind, where `root` might have read permission, but a group ID under which a specific program runs would have write-only access... – twalberg Nov 03 '14 at 15:42

1 Answers1

3

There could be an instant where you want a set of users to write (append) into a file but not be able to read it; especially what other users may have written into it.

unxnut
  • 8,509
  • 3
  • 27
  • 41
  • Is there any application with the above scenario? – Anbu Nov 03 '14 at 14:26
  • 1
    As a professor, I may want to collect the response of all students to a question in a file but may not want them to see the response of others. Also applicable any time you elicit ideas from a group where you may not want people to be able to see others' ideas. – unxnut Nov 03 '14 at 17:07