All of lore.kernel.org
 help / color / mirror / Atom feed
* /dev/ entries change owner
@ 2002-09-06 18:45 Bernd Schubert
  2002-09-06 18:55 ` John Jasen
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Schubert @ 2002-09-06 18:45 UTC (permalink / raw)
  To: linux-kernel

Hi,

we (all adminitrators from our group) would like to know, why the owner of 
/dev/ entries are changed in 2.4.x kernels on accessing them.

We DON'T use devfs, so this can't be the reason.

For example if the user joerg (in this case also an admin :) )uses the 
soundcard, he magically owns all dsp-entries, though these were previously 
owned by root:

lrwxrwxrwx    1 root     root            9 Apr 12 18:35 /dev/dsp -> /dev/dsp0
crw-rw-rw-    1 joergb   user      14,   3 Apr 12 18:35 /dev/dsp0
crw-------    1 joergb   user      14,  19 Apr 12 18:35 /dev/dsp1
crw-------    1 joergb   user      14,  35 Apr 12 18:35 /dev/dsp2
crw-------    1 joergb   user      14,  51 Apr 12 18:35 /dev/dsp3

Or if the user sven (no admin, so no root rights so he has no possibility to 
affect this behaviour) uses the floppy drive:
 
brw-------    1 sven     user       2,   0 Sep 24  2001 /dev/fd0

Unfortunality this causes that no other user might use the floppy drive -- a 
desaster in a multi user environment (our group has over 40 members).

This seems to happen to lots of devices (another example are tty's) and it is 
distribution independent (I see it at home (Slackware) and at work (Suse)).


Any suggestions what I could do ???



Thanks in advance for your help,

Bernd

-- 
Bernd Schubert
Physikalisch Chemisches Institut
Abt. Theoretische Chemie
INF 229, 69120 Heidelberg
Tel.: 06221/54-5210
e-mail: 	bernd (dot) schubert (at) pci (dot) uni-heidelberg (dot) de 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-06 18:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-06 18:45 /dev/ entries change owner Bernd Schubert
2002-09-06 18:55 ` John Jasen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.