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 mounted my nas in ubuntu 12.10 and it works with read/write, but when I'm adding a file or directory that file gets read only permissions. My fstab mount looks like this:

//192.168.0.12/share/ /media/nas cifs credentials=/home/jocke/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0

If I mount the smb share manualy through the GUI it works, but not through fstab.

What I am doing wrong?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Solved the problem! I added the noperm option to the fstab mount. So now it looks like this:

//192.168.0.12/share/ /media/nas cifs credentials=/home/jocke/.smbcredentials,noperm,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.