Re: Floppy handling

From: Jamie Lokier (lk@tantalophile.demon.co.uk)
Date: Wed Jun 21 2000 - 04:04:54 EST


Richard Stallman wrote:
> I have always been annoyed by the default of mode 600 for /dev/fd0.
> I've been screwed by it, when I needed to use the floppy on someone
> else's machine and I did not have the root password and he was
> temporarily not there. But I don't think I have ever been on a
> machine where this restriction did anyone any good. I am not saying
> that none exist, only that they are a small fraction. And those
> machines, being shared, probably have more experienced sysadmins than
> a personal machine.

FWIW, on Red Hat and probably others, when a user logs in at the console
the permission of /dev/fd[0-1]* is set to 660, and the owner is set to
the user who logged in on the console. Same for audio devices, the CD,
the keyboard etc.

This isn't perfect as sometimes multiple users log in on the same
console (using VCs), but at least it shows the permissions issue is
entirely a matter of user space policy.

-- Jamie

-
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 : Fri Jun 23 2000 - 21:00:21 EST