Subject: Re: Mount permissions
To: None <abs@netbsd.org>
From: Ian Dall <ian@beware.dropbear.id.au>
List: tech-kern
Date: 01/25/2000 21:08:23
David Brownlee writes:
> How about an extra option that could be added to entries in
> fstab that would specify a group that had permission to perform
> that mount command. You could then set whatever appropriate
> additional options on that line.
I believe I have used systems like that but I can't for the life of
me remember what it was. I thing the option was "user" and it meant a
user could do the mount or umount, but only with the arguments specified
in the fstab.
I tend to agree with putting things like this in user land if possible.
It is certainly more flexible. I just thought that the kernel restriction
could be relaxed a bit with no detriment. But then I forgot about the 't'
bit ;-(.
For reference, a quick experiment on linux shows that permission is
denied if the 't' bit is set.
Ian