Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to share a folder in my Windows server to my Ubuntu server.

and I am getting the following error when I issue the command mount -a

mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

inside /etc/fstab

//192.168.100.34/Shared/Files /home/user/files        cifs    guest,uid=1000,iocharset=utf8   0       0

The folder being shared from Windows has RWX set permission and the firewall is being disabled (for now).

The folder inside the Ubuntu server is chmod 777

share|improve this question
1  
If you navigate to //192.168.100.34/Shared/Files using Nautilus, are you asked to login with a password? If so, you need to add a credentials file. –  earthmeLon May 27 '13 at 4:39
    
Thanks, sir. I didnt knew that windows server by default requires domain/username/password for shared folders. –  user1645034 May 27 '13 at 5:07
1  
Hey now! You didn't even upvote my comment! :P I'm glad you were able to figure it out. Best of luck. –  earthmeLon Jun 23 '13 at 21:35
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.