diff options
author | Jakob Unterwurzacher | 2017-07-11 23:19:58 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2017-07-11 23:19:58 +0200 |
commit | 3062de6187990f9b4f669ecd9dffdd48ee0d778f (patch) | |
tree | f62274c8d0497a1fec068f75d8519fbf0263247d /Documentation/SECURITY.md | |
parent | 849ec10081c0eb04535017f8845501ae799ac477 (diff) |
fusefronted: enable writing to write-only files
Due to RMW, we always need read permissions on the backing file. This is a
problem if the file permissions do not allow reading (i.e. 0200 permissions).
This patch works around that problem by chmod'ing the file, obtaining a fd,
and chmod'ing it back.
Test included.
Issue reported at: https://github.com/rfjakob/gocryptfs/issues/125
Diffstat (limited to 'Documentation/SECURITY.md')
0 files changed, 0 insertions, 0 deletions