[TriLUG] Change GID

James Tuttle jjtuttle at trilug.org
Wed Mar 19 06:07:19 EDT 2008


If this is true, and I hope it is, I'm an idiot!  How wonderfully
thoughtful of the Samba team to have included such a useful feature.
Will try ASAP.

Thanks,
Jim

Brian McCullough wrote:
> On Tue, Mar 18, 2008 at 09:22:11PM -0400, James Tuttle wrote:
>> Right, sorry.  I can't change the GID on the Samba server for a couple
>> of reasons.  In fstab the mount command sets the uid and gid of the
>> files on the shared drive.  I also force user and group in the smb.conf
>> file of the server.
> 
> 
> But you shouldn't care anything about the Samba server.  What you are
> interested in is the Client end of the connection, which is what the
> others are saying.
> 
> Because of the nature of the CIFS protocol, you can have different uid
> and gid values at each end of the connection.  You can easily set the
> gid to whatever you like at the client end, by setting appropriate
> parameters in the mount command, as illustrated by one of the previous
> posts.  As long as the mount is issued by root, you should even be able
> to set the uid and gid to your own, rather than some "system" value,
> like uucp.
> 
> There is no need to change the values system-wide, just set the mount up
> appropriately.
> 
> 
> Brian
> 
> 


-- 
--
---Jim Tuttle
------------------------------------------------------
http://www.braggtown.com
PGP Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x69B69B08




More information about the TriLUG mailing list