0

I want to give a ubuntu 12.04 user access to the shared folder of windows servers. I made the these changes to the /etc/fstab

//192.168.1.100/share  /home/user/share  cifs username=dem,password=****,iocharset=utf8,sec=ntlm  0  0

The problem is that the user can't make any changes to it, despite this user has full access to this share directory on windows server.

please advice

7
  • Do you see the share?
    – bob
    May 8, 2014 at 13:21
  • yes, i can access the share but with read only.
    – user251447
    May 8, 2014 at 13:24
  • 1
    please try by adding uid & gid options (e.g. uid=1000,gid=1000)
    – bob
    May 8, 2014 at 13:33
  • 1
    where do they stand in this commmand?
    – user251447
    May 8, 2014 at 13:39
  • 1
    add it after password=****,
    – AzkerM
    May 8, 2014 at 13:43

1 Answer 1

0

I think you have to add uid & gid that missing:

//192.168.1.100/share /home/user/share cifs uid=1000,gid=1000,username=dem,password=****, iocharset=utf8, sec=ntlm 0 0

from mount.cifs manpage--- uid=arg: sets the uid that will own all files on the mounted filesystem

To find the user's uid/gid that will have access to the share, run in terminal id username

You must log in to answer this question.

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