Always permission 777 on mount shared cifs
问题 I have a little problem when I mount a SMB shared folder from a Synology NAS. I want to mount a shared folder with permissions: git:root 700 But the mounted folder always have permission set to 777 ( even after a chmod 700 without error) In my /etc/fstab I used this line: #uid=999 ---> git user //server/folder /mnt/artifacts cifs username=windowsUser,password=xxxxx,gid=0,uid=999,file_mode=0700,dir_mode=0700,iocharset=utf8 0 0 Do you know why I cannot set my rights to 700 ? I did a mistake ?