On 02/11/07 13:54 Edd Barrett wrote: > On 02/11/2007, Tilo Stritzky <[EMAIL PROTECTED]> wrote: > > > On another note, it would also be useful to allow users to mount > > > directories not owned by them. As it stands if you want to allow a > > > user to mount a cdrom drive, they each need thier own mount directory. > > > This is not convenient if many users are going to use a system, would > > > you agree? Sure, you can configure sudo, but you can't get apps like > > > KDE for example, to use it. Can you see the possibility of changing > > > this so that the group may mount the cdrom, or even a 'user' directive > > > in fstab, which I think I saw in some other operating system (:P). > > > > Insisting on proper ownership is fine, just give the files to the > > user on logon and take them back when she logs out. > > And when many users log in? > The dude next to drive gets access to it. If he inserts some media and mounts it, it's "his" data. Just like any other files he can give or deny access to other users by setting permissions.
> > This is what fbtab(5) > > is for. However I have yet to work out how this blends with X. > > > > One ugly but working way is to hack up /etc/X11/xdm/{Give,Take}Console > > to include the mountpoints and devices. BTW, mountpoints can just as > > well be in $HOME (or /tmp). > > Yes, thats how I do it now, but if I had more users it would have to > be scripted, which would be quite annoying. > I'm not sure I understand. Maybe we are trying to solve different problems ;) As for the devcice nodes, theese go the user with the physical access (Otherwise practical jokes are a best case scenario). The mounted file structure is just like any other data, who owns it gives or denies access as nessecary. regards tilo