Re: Linux 2.3.99pre9-2 JOB list

From: David Howells (David.Howells@nexor.co.uk)
Date: Thu May 18 2000 - 02:53:04 EST


> > It's a matter of surprise. I can easily imagine the point and click user
> > tapping their icon to mount numerous times expecting to see the cdrom or
> > floppy spin and see nothing all the while not realizing they are
> > compounding the mounts. Be it their cdrom, it won't eject until they have
> > unmounted the right mount with a cwd set. I vaguely recall several gui
> > mount utils that store the mounted/not mounted status within themselves
> > and likely break.
>
> So fix them - not to mention the fact that GUI suid-root anything is a
> _really_ scary idea, if application wants to have <foo> done at most once
> it should not call <foo> the second time.

Why should the GUI be suid-root at all? It's common practice to have _mount_
suid-root, and mark things like the floppy and cdrom as non-root-user
mountable in /etc/fstab.

Anyway, wouldn't autofs be a better way of doing this?

David Howells

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:14 EST