Hello,
This is my first post and I'm a bit of a Linux n00b. I'm having trouble auto mounting a shared file located on Ubuntu 12.10 server. I'm trying to mount the file on Ubuntu 12.10 desktop. I've been working on this off and on almost all week and have implemented every fix I could find online.
The error messages is:
If I click on the mounted shared file located on the "side bar" on the desktop nothing happens. Nothing opens and no messages are displayed. However, if I go through network browser and click on the file I can access the it without any restrictions - I can copy, paste, save, whatever. Also I have a windows xp computer on the network that can access the shared files without any problems at all.
When I run sudo mount -a I get the error message:
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
If I try to click on the shared file in the network browser I get the the error:
mount: only root can mount //192.168.2.120/omgdocuments on /media/samba_share
I've checked the manual and as many websites as I could find that reference those errors. And have implemented all of the fixes I found. But I'm still getting the same two error messages.
Currently the applicable section of the fstab file looks like this:
# Samba share cifs - omgdocuments
//192.168.2.120/omgdocuments /media/samba_share cifs credentials=/home/desktop001/.smbcredentials,rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
The ~/.smbcredentials file looks like this:
username=name of the user on the server
password=password of the user on the server
I have made the dir /media/samba_share and have set the permissions 0777. Also at one point this weekend I made sure the file was owned by the user and then, out of frustration, I gave the user root access.
Normally I would just access the file via network browser, but this is for work and the person using the computer isn't smart enough to click on a few files to access her work. So I really need to find a way to make it simple to access the network files. Either auto mounting the file or I'm open to any and all recommendations. (Is is possible to just put a link to the "network borwser" file on the desktop?)
I'm a little worried that I've tired to implement to many "fixes" and have messed up some other setting that's causing these errors. Sorry if my terminology is incorrect or if I didn't make the issue clear. If you have any questions please ask and I will do my best to answer. Thank you very much for your help.