Super User is a question and answer site for computer enthusiasts and power users. 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

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

// /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

The top answer over here should be what you want I think:

// /home/myaccount/sharedFolder cifs username=xxx,password=xxx,iocharset=utf8,mode=0777,dir_mode=07‌​77 0 0
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .