Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

After doing the cifs mount we are unable to touch on the share with the user kvk. But we are able to do the same as a root user. following are the configuration and error log.

Fedora version 15: fstab:

//<windows-ip>/HS        /home/kvk/share/HS      cifs   defaults,username=user_support   0           0

Error while touch :

[kvk@ats-079 @temp]$ pwd
[kvk@ats-079 @temp]$ touch newfile
touch: cannot touch `newfile': Permission denied

@temp is the directory with in //windows-ip>/HS

share|improve this question
up vote 1 down vote accepted

Try this:

//<windows-ip>/HS    /home/kvk/share/HS    cifs    uid=kvk,gid=kvk,file_mode=0664,dir_mode=0775   0 0
share|improve this answer
This should possibly fix the problem on the linux/unix side. The other topic are acls on the server side for user user_support. The best check for that is to test the share with smbclient //<windows-ip>/HS – f4m8 Nov 10 '11 at 8:48

Your Answer


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.