setting uid,gid on samba share
Lowell Gilbert
freebsd-questions-local at be-well.no-ip.com
Wed Jun 4 04:46:37 PDT 2003
Jon Reynolds <jonr at 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.
More information about the freebsd-questions
mailing list