[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#25847: general: Several security questions

On Tue, Jul 10, 2001 at 08:07:58AM -0400, David L. Craig wrote:
> Hmmmm...  I usually am within two weeks of Sid updates, but
> my tty devices are mostly mtimed to when I first installed
> Debian.  Some have been updated, due to maintenance or
> active use, I presume, but the permissions are, well,
> interesting.  Here's everything, with entries that are
> identical save for name and maj/min diffs elided.  Question:
> do updates to MAKEDEV automatically rebuild all /dev entries?

no, when you change permissions on something they are generally
preserved by makedev.  but i rm -f'ed all my tty devices:

root@chrooted root# cd /dev/
root@chrooted dev# rm -f tty[0-9]*  # wheeee ;-)
root@chrooted dev# ls -l tty2
ls: tty2: No such file or directory
root@chrooted dev# ./MAKEDEV console
root@chrooted dev# ls -l tty2
crw-rw-rw-    1 root     tty        4,   2 Jul 10 05:13 tty2
root@chrooted dev# ls -l tty30
crw-rw-rw-    1 root     tty        4,  30 Jul 10 05:13 tty30
root@chrooted dev# ls -l tty12
crw-rw-rw-    1 root     tty        4,  12 Jul 10 05:13 tty12
root@chrooted dev# dpkg -s makedev | grep ^Ver
Version: 2.3.1-53
root@chrooted dev#

Ethan Benson

Attachment: pgpRGgYjCmkx7.pgp
Description: PGP signature

Reply to: