No 'cache=loose' mount option for teachers' PCs.

Use the default 'cache=strict' for the CIFS mount to
provide extra data consistency.
This commit is contained in:
Andreas B. Mundt 2024-01-17 16:51:12 +01:00
parent 57e090034d
commit e30a7032a5
2 changed files with 114 additions and 112 deletions

View file

@ -35,7 +35,7 @@
server="{{ smb_server }}"
path="{{ smb_share }}"
mountpoint="/srv/samba/schools/default-school"
options="sec=krb5i,cruid=%(USERUID),user=%(USER),gid=1010,file_mode=0770,dir_mode=0770,mfsymlinks,nobrl,fsc,actimeo=600"
options="sec=krb5i,cruid=%(USERUID),user=%(USER),gid=1010,file_mode=0770,dir_mode=0770,mfsymlinks,nobrl,fsc,actimeo=600{{ cifsopt | default(",cache=loose") }}"
><not><or><user>root</user><user>ansible</user><user>Debian-gdm</user><user>sddm</user><user>{{ localuser }}</user></or></not>
</volume>
insertafter: "<!-- Volume definitions -->"