diff options
author | Charles Duffy | 2017-05-30 16:01:06 -0500 |
---|---|---|
committer | rfjakob | 2017-06-01 00:26:17 +0200 |
commit | cf1ded5236157e2f9ec06eeea26023b67b40f16d (patch) | |
tree | 48c9926efd8c10a76b6f28943397f8b1ae5cc3da /Documentation/MANPAGE.md | |
parent | fc2a5f5ab0149d48b5d45a9af96799b07d802ae6 (diff) |
Implement force_owner option to display ownership as a specific user.
Diffstat (limited to 'Documentation/MANPAGE.md')
-rw-r--r-- | Documentation/MANPAGE.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/MANPAGE.md b/Documentation/MANPAGE.md index 054fc66..119a3cb 100644 --- a/Documentation/MANPAGE.md +++ b/Documentation/MANPAGE.md @@ -78,6 +78,17 @@ that uses built-in Go crypto. Setting this option forces the filesystem to read-only and noexec. +#### -force_owner string +If given a string of the form "uid:gid" (where both "uid" and "gid" are +substituted with positive integers), presents all files as owned by the given +uid and gid, regardless of their actual ownership. Implies "allow_other". + +This is rarely desired behavior: One should *usually* run gocryptfs as the +account which owns the backing-store files, which should *usually* be one and +the same with the account intended to access the decrypted content. An example +of a case where this may be useful is a situation where content is stored on a +filesystem that doesn't properly support UNIX ownership and permissions. + #### -fsname string Override the filesystem name (first column in df -T). Can also be passed as "-o fsname=" and is equivalent to libfuse's option of the |