smbmount won't set group ownership
jeff covey
jeff.covey at pobox.com
Sat Jun 6 03:02:50 GMT 1998
-----BEGIN PGP SIGNED MESSAGE-----
hello, all!
[metainfo: i'm using redhat linux 5.0, and have tried both the rpm
that came with redhat and 1.9.18p7-50.1 from the samba
website.]
i can't seem to get smbmount to mount a share and give the files in
the mountpoint group ownership of anything but root.
the version of the man page on the samba website says you can do this:
smbmount "\\server\tmp" -c 'mount /mnt -u 123 -g 456'
but smbmount won't accept this; the man page in the distribution says
the -c option is for specifying the client name. my reading of the
manpage installed by the rpm makes me think this should work:
/usr/sbin/smbmount "//judy/judy-hd/" /home/judy/judy-hard-drive \
-n -c diligent -u judy -g users
but it makes all of the files user judy but group root. what do i
have to do to fix this? answers that don't involve setuid root
appreciated. :)
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: noconv
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface
iQCVAwUBNXixVjnaR8Cs0X0pAQFKuAP9GtDiPmj23VQlnG3REJe6WzVEEoI4DR7c
rQGc4EmpCHBa2BQsIqH9vg5yDK5K5mU+jHJiasbfZOaiXtDTDIE5co+VI/rGXzr5
rMvHeqPJafj4E8Pb6JdJcwVOEgCmYCZD1LLqvu8AdnEdF6ahoynFEO1OUdf0ONkP
856aCARioNs=
=t3N/
-----END PGP SIGNATURE-----
More information about the samba
mailing list