View previous topic :: View next topic |
Author |
Message |
thompsonmike Apprentice
Joined: 19 Jan 2004 Posts: 275 Location: Bath UK
|
Posted: Mon Apr 04, 2005 9:10 am Post subject: SMB Shares in Linux |
|
|
I have a problem with the SMB share under Linux,
When I run this command:
Code: |
mount -t smbfs -o username=mike,password=password //polaris/mike /home/mike/Remote
|
It works just fine, but the entire volumne is owned by root which means that I can not use the files! (I can view them and use them, but not delete, rename create etc)
So How can I mount it as the user? _________________ Thanks
Michael.. |
|
Back to top |
|
|
nobspangle Veteran
Joined: 23 Mar 2004 Posts: 1318 Location: Manchester, UK
|
Posted: Mon Apr 04, 2005 9:20 am Post subject: |
|
|
man smbmount wrote: | uid=<arg>
sets the uid that will own all files on the mounted filesystem.
It may be specified as either a username or a numeric uid.
gid=<arg>
sets the gid that will own all files on the mounted filesystem.
It may be specified as either a groupname or a numeric gid. |
|
|
Back to top |
|
|
|