Update and clean systemd file to mount CIFS share (SMBv3.1.1)
This commit is contained in:
parent
85efc92f61
commit
94fa84e56e
@ -8,9 +8,8 @@ Environment="SERVER='//192.168.0.254/Data'"
|
|||||||
What=$SERVER
|
What=$SERVER
|
||||||
Where=/mnt/data
|
Where=/mnt/data
|
||||||
Type=cifs
|
Type=cifs
|
||||||
Options=credentials=/etc/samba/credentials/data,_netdev,cache=none,users,user,noacl,guest,rw,,uid=1000,gid=985,iocharset=utf8,vers=1.0
|
Options=credentials=/etc/samba/credentials/data,_netdev,uid=1000,gid=985,iocharset=utf8,vers=3.1.1,file_mode=0644,dir_mode=0755
|
||||||
SloppyOptions=On
|
SloppyOptions=On
|
||||||
DirectoryMode=0755
|
|
||||||
TimeoutSec=10
|
TimeoutSec=10
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
Reference in New Issue
Block a user