Make NFS share readonly

This commit is contained in:
Tim Schubert 2021-03-16 14:27:05 +01:00
parent 7bccc0b7ef
commit f760a9e002
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA

View file

@ -19,7 +19,7 @@ in
workgroup = WORKGROUP workgroup = WORKGROUP
server string = media server string = media
netbios name = media netbios name = media
security = user security = user
#use sendfile = yes #use sendfile = yes
#max protocol = smb2 #max protocol = smb2
hosts allow = ${allow} localhost hosts allow = ${allow} localhost
@ -31,7 +31,7 @@ in
public = { public = {
path = sharePath; path = sharePath;
browseable = "yes"; browseable = "yes";
"read only" = "no"; "read only" = "yes";
"guest ok" = "yes"; "guest ok" = "yes";
"create mask" = "0644"; "create mask" = "0644";
"directory mask" = "0755"; "directory mask" = "0755";