Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SMB Shares in Linux
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
thompsonmike
Apprentice
Apprentice


Joined: 19 Jan 2004
Posts: 275
Location: Bath UK

PostPosted: Mon Apr 04, 2005 9:10 am    Post subject: SMB Shares in Linux Reply with quote

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
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Mon Apr 04, 2005 9:20 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum