samba share permissions
I am trying to mount a samba share rwx to the owner and group but no matter what I try with the smb.conf file it always mounts 0755 and not 0775.
*************** output of df command ****************** [root@server]# df -h /opt/builds Filesystem Size Used Avail Use% Mounted on //using-vss01.xxx.net/ATGBuilds 8.5G 7.8G 682M 93% /opt/builds *************** output of ls command ****************** [root@server]# ls -ld /opt/builds drwxr-xr-x 1 atgdev atg 4096 Aug 9 23:42/opt/builds *********** entry in /etc/fstab ********************* //using-vss01.xxx.net/ATGBuilds /opt/builds smbfs credentials=/etc/samba/.smbpa sswd,uid=atgdev,gid=atg 0 0 Any help would be appreciated. Thanks, Kurt I finally figured this out myself. I had to add fmask = 0775 and dmask = 0775 to the mount command it the /etc/fstab. *********** entry in /etc/fstab ***************** //using-vss01.xxx.net/ATGBuilds /opt/builds smbfs credentials=/etc/samba/.smbpa sswd,uid=atgdev,gid=atg,fmask=0775,dmask=0775 0 0 Thanks to anyone who took a look at this for me. Kurt |
Try adding "dmask=0000" to the mount options (just guessing, after reading man smbmount).
|
All times are GMT -5. The time now is 04:04 PM. |