I want to have a place on the filesystem that presents a write-only "view" of another folder that I have read-write access to.
I'm picturing something that's similar in behavior to an FTP drop box, where files can be copied into it but not read out of it, e.g.:
$ ls read-write-view/ write-only-view/
read-write-view/:
a b c
write-only-view/:
$ cp d write-only-view/
$ ls read-write-view/ write-only-view/
read-write-view/:
a b c d
write-only-view/:
It's important that this works as in the example — the contents are still visible when accessed through read-write-view/
, and both "views" are functional for a single user.
How can I set something like this up? Some clever arrangement of symbolic links, perhaps? Or an unusual configuration of a bind mount?