View Single Post
Posts: 12 | Thanked: 2 times | Joined on Feb 2010
#95
Originally Posted by b0unc3 View Post
The shares are mounted under /media/Remote_Filesystems/sharename@server/ .
wizard-mounter uses sudo to do things as root as needed, hence there is no need to run it as root manually.
No there isn't any log.
Thank you!

Re-reading the thread, I found the function that Wizard-Mounter is using and managed to investigate a bit the behaviour...

When I use
a) sudo mount -t cifs "//remote/samba/share" /local/folder -o u=MYUSER,pass=MYPASSWORD
-> the share is mounted with the permissions of the remote system (uid=1002, gid=1002). I guess that it must be related to Unix extensions...
b) sudo mount -t cifs "//remote/samba/share" /local/folder -o u=MYUSER,pass=MYPASSWORD,uid=user,gid=users
-> the share is mounted with the permissions root:root (strange...)
c) sudo mount -t cifs "//remote/samba/share" /local/folder -o u=MYUSER,pass=MYPASSWORD,uid=29999,gid=29999
-> the share is mounted with the permissions user:users (finally!)

I don't understand the difference between cases b) and c). Hopefully, this helps.

The remote share samba share runs on my SheevaPlug (Ubuntu 9.04, for ARM)