Christian Del Taglia wrote:
The command "mount -t smbfs //osiris/scsi-raid /S -o username=cfd" does not give an error message. However, with "df" I get
Try adding users to your mount options, as well as rw if that is what you want. Also, what is the permissions on /S?
I just checked man smbmount, and saw that users is not valid for smbfs. Try uid=xxx or gid=users or something like that to give your users permission.
I tried mount -t smbfs //osiris/scsi-raid /S -o username=cfd,uid=cfd,rw
but I get the same error: oberon:/ # ls -d /S /bin/ls: /S: Permission denied
The same happens with the additional option gid=users. I didn't try
smbfstab
yet.
Just to be clear: the share is on a windows server 2003, not on a Samba server.
What are the permissions of the /S directory before the mount ? Just a thought ....
Before the mount I have drwxr-xr-x 2 root root 48 2005-06-25 15:51 S
Do I have to set other permissions? Which?
No that should be OK. The permissions of the mount point can affect access of the mounted volume. If the /S directory were permitted 700, for example, that would give the behavior you originally asked about (I have had that rather sneaky problem in the past, that's why I brought it up :-) ). -- William A. Mahaffey III --------------------------------------------------------------------- Remember, ignorance is bliss, but willful ignorance is LIBERALISM !!!!