smbmount problem

Noah Lee nlee at acclaim.com
Wed Feb 7 22:27:51 GMT 2001


I have a problem with smbmount and permissions. I have several mount points
setup to mount shares from various NT 4.0 Server machines on my linux box.
Before the smbmount it looks like this:

drwxrwxrwx   12 root     root         4096 Feb  2 15:17 ./
drwxr-xr-x   22 root     root         4096 Jan 16 18:04 ../
drwxrwxrwx    2 root     root         4096 Jan 16 12:14 a2002/
drwxrwxrwx    2 root     root         4096 Jan 16 12:14 a2003/
drwxrwxrwx    2 root     root         4096 Jan 16 12:14 mas/
drwxrwxrwx    2 root     root         4096 Jan 16 12:14 q2002/

Then I run the smbmount commands for these:

smbmount //txs-q/q2002 /share/q2002 -o
username=uname,password=passwd,fmask=0777,dmask=0777,rw
smbmount //txs-a/a2002 /share/a2002 -o
username=uname,password=passwd,fmask=0777,dmask=0777,rw
smbmount //txs-a/a2003 /share/a2003 -o
username=uname,password=passwd,fmask=0777,dmask=0777,rw
smbmount //txs-mas/mas /share/mas -o
username=uname,password=passwd,fmask=0777,dmask=0777,rw

Then the permissions end up as such:

drwxrwxrwx   12 root     root         4096 Feb  2 15:17 ./
drwxr-xr-x   22 root     root         4096 Jan 16 18:04 ../
drwxrwxrwx    1 root     root          512 Feb  7 14:36 a2002/
dr-xr-xr-x    1 root     root          512 Feb  7 15:22 a2003/
dr-xr-xr-x    1 root     root          512 Feb  7 16:08 mas/
dr-xr-xr-x    1 root     root          512 Feb  6 11:56 q2002/

Where only the a2002 folder ends up having 777 permissions and, hence, the
ability to have my users write to this directory. Every other share the
users cannot write to the share, which I cannot figure out. I checked the NT
side and the uname I'm using is a member of the group that has Full Access
on the shares and there isn't really any difference between the a2002 share
and a2003 share, but yet the users can ONLY write to the a2002 samba share.
This is driving me crazy! Any ideas??




More information about the samba mailing list