Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 May 2005 10:41:00 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        freebsd-questions@freebsd.org
Cc:        Emanuel Strobl <Emanuel.strobl@gmx.net>
Subject:   Re: vfs.usermount and directory owner
Message-ID:  <20050506084100.GA75487@slackbox.xs4all.nl>
In-Reply-To: <200505060941.56312@harrymail>
References:  <200505060941.56312@harrymail>

next in thread | previous in thread | raw e-mail | index | archive | help

--BOKacYhQ+x31HxR3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, May 06, 2005 at 09:41:45AM +0200, Emanuel Strobl wrote:
> Hello,
>=20
> I want to be able to access my cd drive as normal user. As any user, not =
a=20
> specific one. So it's a problem that I can't mount it to a general=20
> directory like /cdrom since only one user can be owner and it looks like=
=20
> it's required that the mountpoint belongs to the user, even with=20
> vfs.usermount=3D1 set.

If you set the setuid bit on /sbin/mount and /sbin/umount, you should be
able to get around this limitation, I think.

Roland
--=20
R.F. Smith                           /"\    ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l      \ /    No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/         X     No Word docs in e-mail
public key: http://www.keyserver.net / \    Respect for open standards

--BOKacYhQ+x31HxR3
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCey2cEnfvsMMhpyURAvdlAJ43ttoGFld7nkecVCzfcwec5bbo+wCfWpxA
z+hFfU0uvifmrYsSxnQVTQs=
=WcRF
-----END PGP SIGNATURE-----

--BOKacYhQ+x31HxR3--



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