Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Apr 2006 14:27:57 +0200
From:      Jilles Tjoelker <jilles@stack.nl>
To:        Stefan Sperling <stsp@stsp.in-berlin.de>
Cc:        hackers@freebsd.org, Joe Marcus Clarke <marcus@FreeBSD.org>
Subject:   Re: RFC: Adding a ``user'' mount option
Message-ID:  <20060406122757.GA1124@stack.nl>
In-Reply-To: <20060404114547.GA1613@dice.stsp.lan>
References:  <1144042356.824.16.camel@shumai.marcuscom.com> <4430BA79.2030403@freebsd.org> <44316387.1090609@FreeBSD.org> <44321277.7040904@FreeBSD.org> <1144133238.9725.32.camel@shumai.marcuscom.com> <20060404114547.GA1613@dice.stsp.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 04, 2006 at 01:45:47PM +0200, Stefan Sperling wrote:
> Why do GNOME/KDE rely on /etc/fstab on FreeBSD?
> What are admins supposed to do on systems with more than, say, a hundred
> users. Having to add a line to /etc/fstab for every user is of course
> scriptable, but that does not make it less insane.

> As far as I got it, the current design boils down to the user creating
> a mount point, and then mounting the media "manually", e.g.
> mount /dev/cd0 ~/cdrom. Granted the admin has set vfs.usermount to 1,
> of course. I don't really think that user mount has been designed
> with /etc/fstab in mind.

Consider chown(8)ing the mount points to the current user on login (and
root on logout) (using DisplayManager._0.startup and
DisplayManager._0.reset or similar). I do this on a few multiuser boxes
(at most 5 users per box though) and all users can use the same
/etc/fstab lines. The mount will only work for the locally logged in
user, which may be considered a bug or a feature ;-)

-- 
Jilles Tjoelker



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