Is there an encrypted write-only file system for Linux?

Posted by Grumbel on Super User See other posts from Super User or by Grumbel
Published on 2010-04-21T12:15:39Z Indexed on 2012/03/28 11:33 UTC
Read the original article Hit count: 274

Filed under:
|
|
|
|

I am searching for an encrypted filesystem for Linux that can be mounted in a write-only mode, by that I mean you should be able to mount it without supplying a password, yet still be able to write/append files, but neither should you be able to read the files you have written nor read the files already on the filesystem. Access to the files should only be given when the filesystem is mounted via the password. The purpose of this is to write log files or similar data that is only written, but never modified, without having the files themselves be exposed. File permissions don't help here as I want the data to be inaccessible even when the system is fully compromised.

Does such a thing exist on Linux? Or if not, what would be the best alternative to create encrypted log files?

My current workaround consists of simply piping the data through gpg --encrypt, which works, but is very cumbersome, as you can't easily get access to the filesystem as a whole, you have to pipe each file through gpg --decrypt manually.

© Super User or respective owner

Related posts about linux

Related posts about ubuntu