mounted samba shares disappear
have suse 9.2 pro installed from dvd
have samba set up and i am using kde. most everything is default i can browse to windows shares fine and access them completey using the smb:// protocol when i try to mount the share however, it disappers from konqueror. if i go to a cli and ls the folder i get an error Permission Denied. i have used two different commands as follows and both have the same result Code:
mount -t smbfs //windowsshare/suse /media/suse my user name on my suse box is the same as on my windows box with the same password and yeah i am mounting and umounting as root (su) any ideas? |
i presume the files are accessible AS root? i'd assume that you are mounting the shares with a permissions mask that will only allow root access. consequently those permissions get applied to the folder, and poof... it's no longer accesible to non root users. try adding fmask=000 and dmask=000 options temporarily to open up the permissions of the mount considerably.also try adding an /etc/fstab entry, with a "user" option, which will allow you to mount it as non root and then the share should be owned by that user, not root.
|
well, not sure where to use the dmask and fmask options. i put this line in my fstab file
Code:
//windowsshare/suse /media/suse smbfs user 0 0 |
so try
Code:
//windowsshare/suse /media/suse smbfs user,fmask=000,dmask=000 0 0 |
Here is a link to a page on 'smbmount'.
I wonder if you are seeing the mentioned bug: Quote:
If you put an entry in /etc/fstab you will want to use the credential option rather than have the password in your /etc/fstab entry. The options are included inf the fstab entry after the mount point The options are also comma seperated. |
All times are GMT -5. The time now is 03:16 AM. |