[Samba] setting uid,gid on samba share

Jon Reynolds jonr at destar.net
Tue Jun 3 10:08:59 GMT 2003


I accidently posted this to the freebsd list but meant for it to be here.

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.

Thanks in Advance,

Jon




More information about the samba mailing list