Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

// /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
If you navigate to // 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
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

Your Answer


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

Browse other questions tagged or ask your own question.