Red Hat Bugzilla – Bug 9914
RH 6.1 mount mounts smbfs as root only
Last modified: 2008-05-01 11:37:54 EDT
Whenever I mount a smbfs share no matter which options i use its always
mounted with root permissions. I used this line to mount my smb share in
6.0 and it worked fine but in 6.1 it mounts as root.
mount -t smbfs -o guest,uid=501 //server/share/ /home/dir/dir
The UID 501 is a valid user!
I tried using other otpions such as umask=777 gid=50 rw fmask=777 in all
sorts of combinations with no luck
The share mounts ok but the permission are set to that of root and other
users can't modify or add files to that share.
The options to smbmount changed. This is fixed as of
samba-2.0.6, but there is still a slightly different syntax.
yep that fixed it