-
Notifications
You must be signed in to change notification settings - Fork 104
Add new 'metadata_dir' configuration file option #325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new 'metadata_dir' configuration file option #325
Conversation
The new 'metadata_dir' configuration file option specifies a path to store the fscrypt metadata directory (.fscrypt). This is useful if you want to put this outside of any filesystem or directory configured for encryption.
|
I just signed Google Individual CLA, it should be better now. |
|
Can you explain more concretely what the use case is for this option? Encryption policies are only valid on the filesystem on which they are applied, so it makes sense to store them on the same filesystem as the encrypted directories. It can make sense to store protectors elsewhere (and in fact login protectors are always stored on the root filesystem), but it seems desirable to keep things simple. So I am not sure the benefit of this outweights the extra complexity; can you explain your use case? |
|
As it is not possible to encrypt the root of an ext4 file system, this patch is useful when you want to present only encrypted content to users. The idea is to mount the root of the file system somewhere not visible/accessible to users, and then make use of a bind mount to present the encrypted directory that we want to make accessible to users. |
|
Two things.
So, there is a filesystem on |
|
Indeed, making Do you have any idea on how this could be implemented in |
The code that scans |
|
This pull request can be closed in favor of #327 . |
The new 'metadata_dir' configuration file option specifies a path to
store the fscrypt metadata directory (.fscrypt). This is useful if
you want to put this outside of any filesystem or directory configured
for encryption.