aboutsummaryrefslogtreecommitdiff
path: root/tests/example_filesystems/v0.6/gocryptfs.conf
diff options
context:
space:
mode:
authorJulian Orth2018-05-06 18:08:30 +0200
committerJakob Unterwurzacher2018-06-07 22:57:57 +0200
commit10212d791a3196c2c8705a7a3cccdeb14a8efdbe (patch)
tree23739590b776452fec4791d4737c878f36e76ced /tests/example_filesystems/v0.6/gocryptfs.conf
parent53d6a9999dd0e4c31636d16179f284fff35a35d9 (diff)
Set a default PATH if PATH is empty or unset
mount(1) unsets PATH before calling mount.fuse. Therefore it's not set in gocrpytfs either and daemonization fails if gocryptfs was not executed via an absolute path. mount.fuse handles this by leaving the execution of the helper to /bin/sh. /bin/sh handles an empty PATH by searching a few default locations. This patch sets the PATH to a sane default if it's empty or unset.
Diffstat (limited to 'tests/example_filesystems/v0.6/gocryptfs.conf')
0 files changed, 0 insertions, 0 deletions