Hi,
On Wed, 4 Jun 2008, frostschutz wrote:
> I have some concerns about giving the users raw read/write access to the
> device.
Then don't do it, nobody is forcing you.
Instead you could kindly ask /bin/mount maintainers to fix mount, or submit
patches to them (there are several /bin/mount utilities) so unprivileged
users can also mount via mount helpers too, not only via file system kernel
drivers.
> In my understanding, a binary that has the suid bit set, can do whatever
> it wants to do.
Yes, it could but it does only what is secure. What you're asking for is a
major, serious security hole, we just fixed this year.
If you deeply care about user accesses then I also recommend NTFS-3G with
full file ownership and permissions support at
http://pagesperso-orange.fr/b.andre/security.html
> So the requirement of giving the user read-write access to the device,
> should be completely artificial. What should be checked instead is wether
> or not the fstab permits the user to mount a partition or not.
ntfs-3g doesn't check /etc/fstab, mount does then it behaves incorrectly.
> Or did I misunderstand something and there is indeed a way to allow a
> user to mount, without giving him additional permissions to any device?
The issue is documented here:
http://ntfs-3g.org/support.html#useroption2
Thanks, Szaka