Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

want to have one folder in windows server 2008 r2 shared to a Linux user with read-write permission.

I put the following sentence int the /etc/fstab file

//192.168.1.1/sharedFolder /home/myaccount/sharedFolder smbfs rw,users,username=xxx,password=xxx 0 0

My issue is that only superuser can read and write. normal users cannot write files

How to modify this setting?

share|improve this question
    
There is no mount option assigning a user to a smbfs (or nfs) mount. (IMHO is the uid option limited to file systems not supporting user access rights at all.) –  user86064 Sep 18 '12 at 10:36
add comment

1 Answer

The top answer over here should be what you want I think: http://askubuntu.com/questions/72471/correct-way-of-mounting-a-windows-share

//192.168.1.1/sharedFolder /home/myaccount/sharedFolder cifs username=xxx,password=xxx,iocharset=utf8,mode=0777,dir_mode=07‌​77 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.