Skip to content

Commit 146b34c

Browse files
committedDec 28, 2019
Added -o allow_root to encfs to make it compatible with firejail
1 parent bd26fad commit 146b34c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎cd-encfs

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function cd_encfs_wrapper {
2929
local real_target=$PWD
3030
(sleep 60 &)
3131
popd > /dev/null
32-
encfs "$real_target" "$mountpoint"
32+
encfs -o allow_root "$real_target" "$mountpoint"
3333
}
3434

3535
function cd_encfs_mount {
@@ -53,7 +53,7 @@ function cd_rencfs_wrapper {
5353
local real_target=$PWD
5454
(sleep 60 &)
5555
popd > /dev/null
56-
encfs --reverse "$real_target" "$mountpoint"
56+
encfs --reverse -o allow_root "$real_target" "$mountpoint"
5757
}
5858

5959
function cd_rencfs_mount {

0 commit comments

Comments
 (0)