Ich habe einen neuen Ubuntu 18.04 Rechner aufgesetzt und mit univeniton-join aus Github mit dem Master verbunden. Soweit so gut.
Wenn ich jetzt in die /etc/fstab folgende Zeile eintrage:
//vserver01/share1 /home/user/share1 cifs noauto,user,credentials=/home/user/.smbcredentials 0 0
dann wird das share1 auf den ersten Blick problemlos gemountet, allerdings tauchen lokal keine ACL Informaitonen auf. Erst wenn ich in der Zeile ein vers=1.0 als erste Option eintrage, dann sind die ACLs wieder da.
Ich brauche meine ACLs, würde aber schon gerne auf eine höhere SMB Version wechseln. Kennt jemand das Thema?
Thanks for your reply.
You are perfectly right. There is absolutely no reason to use cifs. I don’t know why I used cifs. I just switched to nfs and voila it works.
I tried out a getfacl on some files and all the additional ACLs were missing when I used cifs and not vers=1.0.
Thanks
Yes CIFS ACL’s didn’t work since Kernel 4.15 in Ubuntu on protocolversion above 1.0. And no in Kernel 5.0 it is also no fixed. The only way is to force some option. If you use smb4k for mounting CIFS shares, every option will be set automaticly right. And no entry in FSTAB is necessary.