Skip site navigation (1)Skip section navigation (2)
Date:      04 Jun 2003 07:46:34 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com>
To:        Jon Reynolds <jonr@destar.net>
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: setting uid,gid on samba share
Message-ID:  <44wug2jc9x.fsf@be-well.ilk.org>
In-Reply-To: <1054632364.1508.138.camel@localhost.localdomain>
References:  <1054632364.1508.138.camel@localhost.localdomain>

next in thread | previous in thread | raw e-mail | index | archive | help
Jon Reynolds <jonr@destar.net> writes:

> I used to be able to issue the command:
> mount -t smbfs -o username=jonr,password=password,uid=jon,gid=jon
> //server/share /mnt/shared
> 
> This has always worked before but now on freebsd4.8 the -o is no longer
> an option. How can I connect and set the uid,gid? I have read the
> mount_smbfs man page and see an -O option but I don't understand how to
> make it do what I want.
> 
> Can someone help me finger this out?

mount_smbfs takes -u and -g options.  
You'll need to quote them, I think, but they should do what you need.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44wug2jc9x.fsf>