when mount share I have wrong user and wrong group.

Post Reply
msan
Posts: 1
Joined: Tue Sep 03, 2013 8:25 pm

when mount share I have wrong user and wrong group.

Post by msan » Wed Sep 04, 2013 5:09 pm

Hello.
I've created two shares in my lacie 2big network through web interface.
Then go to my linux box and copied some files.
Then I do mount.cifs \\mylacieip/Pictures ./newPictures uid=1000, gid=1000.
The problem is that the mounted share has always root:root and not 1000:1000.
What I've missed?

Mijzelf
Posts: 6198
Joined: Mon Jun 16, 2008 10:45 am

Re: when mount share I have wrong user and wrong group.

Post by Mijzelf » Wed Sep 04, 2013 7:12 pm

Long shot. From the mount.cifs manpage
uid=arg
sets the uid that will own all files or directories on the mounted filesystem when the server does not provide ownership information.
Maybe you should also set the 'nounix' flag.

Post Reply