You are not logged in.
Hi, I have an Arch Linux system with the needed samba client software installed. I'm mounting a share on my local system that has been made available from my QNAP NAS.
/etc/fstab entry:
//SERVER/Share /mnt/NAS cifs credentials=/home/user/credentials,user=username,uid=username,gid=groupname,file_mode=0640,dir_mode=0750,x-systemd.automount 0 0
This mounts the share and makes all files available to my username with the default filemode/dirmode of 640 and 750 respectively... however, the setup I'm really after, is a scenario in which the users of the share can determine the permissions.
E.g. I want to be able to mount on /mnt/NAS and do the following:
# create somefile with file permissions 640
touch /mnt/NAS/somefile
# make the readable for other users
chmod o+r /mnt/NAS/somefile
# see if the permissions have been modified:
ls -al /mnt/NAS/somefile
Result: the file still has 640 permissions.
Question: how do I configure the samba server to allow users to set their own permissions? Is that even possible with samba or is NFS better suited for this?
Offline