fs: allow mounting /mnt/* as ordinary user
This commit is contained in:
parent
56c637d4d3
commit
97ce93cac6
|
@ -7,6 +7,7 @@ let fsOpts = rec {
|
||||||
common = [
|
common = [
|
||||||
"_netdev"
|
"_netdev"
|
||||||
"noatime"
|
"noatime"
|
||||||
|
"user" # allow any user with access to the device to mount the fs
|
||||||
"x-systemd.requires=network-online.target"
|
"x-systemd.requires=network-online.target"
|
||||||
"x-systemd.after=network-online.target"
|
"x-systemd.after=network-online.target"
|
||||||
"x-systemd.mount-timeout=10s" # how long to wait for mount **and** how long to wait for unmount
|
"x-systemd.mount-timeout=10s" # how long to wait for mount **and** how long to wait for unmount
|
||||||
|
@ -19,7 +20,6 @@ let fsOpts = rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
ssh = common ++ [
|
ssh = common ++ [
|
||||||
"user"
|
|
||||||
"identityfile=/home/colin/.ssh/id_ed25519"
|
"identityfile=/home/colin/.ssh/id_ed25519"
|
||||||
"allow_other"
|
"allow_other"
|
||||||
"default_permissions"
|
"default_permissions"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user