Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
/home/kvk/share/HS/temp
[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

1 Answer 1

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

 
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.