add shared share
This commit is contained in:
@@ -31,10 +31,10 @@
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
#fileSystems."/srv/dev-disk-by-uuid-98570615-8eda-4a45-8a20-3c58b50e3d79" =
|
||||
# { device = "/dev/mapper/base--storage-NAS";
|
||||
# fsType = "ext4";
|
||||
# };
|
||||
fileSystems."/srv/shared" =
|
||||
{ device = "/dev/mapper/base--storage-NAS";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
#fileSystems."/export/ShatteredMINT" =
|
||||
# { device = "/srv/dev-disk-by-uuid-18333f38-626c-4c22-af29-314a87282809";
|
||||
|
||||
@@ -22,9 +22,22 @@
|
||||
# };
|
||||
"homes" = {
|
||||
"path" = "/srv/private/%S";
|
||||
"valid users" = "%S";
|
||||
"writable" = "yes";
|
||||
"comment" = "homes share";
|
||||
"browseable" = "no";
|
||||
"browseable" = "yes";
|
||||
"create mask" = "0700";
|
||||
"directory mask" = "0700";
|
||||
};
|
||||
|
||||
"shared" = {
|
||||
"path" = "/srv/shared";
|
||||
"writable" = "yes";
|
||||
"comment" = "homes share";
|
||||
"browseable" = "yes";
|
||||
"create mask" = "0700";
|
||||
"directory mask" = "0700";
|
||||
"force user" = "shatteredmint";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user