From 94fa84e56eb3b7be3c468ef10d1faf1341103184 Mon Sep 17 00:00:00 2001 From: adrien Date: Wed, 21 Apr 2021 16:38:21 +0200 Subject: [PATCH] Update and clean systemd file to mount CIFS share (SMBv3.1.1) --- system/mnt-data.mount | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/system/mnt-data.mount b/system/mnt-data.mount index 8a59cd2..eb51b43 100644 --- a/system/mnt-data.mount +++ b/system/mnt-data.mount @@ -8,9 +8,8 @@ Environment="SERVER='//192.168.0.254/Data'" What=$SERVER Where=/mnt/data 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 -DirectoryMode=0755 TimeoutSec=10 [Install]