Skip to content

Commit

Permalink
MANPAGE: describe -badname
Browse files Browse the repository at this point in the history
  • Loading branch information
rfjakob committed Jun 20, 2021
1 parent 9ac77d4 commit cdddd1d
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Documentation/MANPAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,31 @@ other users, subject to file permission checking. Only works if
user_allow_other is set in /etc/fuse.conf. This option is equivalent to
"allow_other" plus "default_permissions" described in fuse(8).

#### -badname string
When gocryptfs encounters a "bad" file name (cannot be decrypted or decrypts
to garbage), a warning is logged and the file is hidden from the
plaintext view.

With the `-badname` option, you can select "bad" file names that should
still be shown in the plaintext view instead of hiding them. Bad files
will get ` GOCRYPTFS_BAD_NAME` appended to their name.

Glob pattern. Can be passed multiple times for multiple patterns.

Examples:

Dropbox sync conflicts:

-badname '*conflicted copy*'

Syncthing sync conflicts:

-badname '*.sync-conflict*'

Show all invalid filenames:

-badname '*'

#### -ctlsock string
Create a control socket at the specified location. The socket can be
used to decrypt and encrypt paths inside the filesystem. When using
Expand Down

0 comments on commit cdddd1d

Please sign in to comment.