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

help! /dev/ttyp* permissions & group



hi everybody,

I've posted this question to comp.os.linux.misc some weeks ago and got
no responses at all! please see if you can help me;

I'm running Debian 1.3 (bo) with 2.0.29 kernel; if someone logs in via
telnet and then logs out the /dev/ttyp* used is left with different
permissions; in the following output:

- I (oexel) am logged in ttyp0;
- ttyp1 and ttyp2 have been used after the last reboot;
- the rest have never been used since the last boot;

$ ls -l /dev/ttyp*
crw--w----   1 oexel    tty        3,   0 Dec 17 17:04 /dev/ttyp0
crw-------   1 root     root       3,   1 Dec 16 13:38 /dev/ttyp1
crw-------   1 root     root       3,   2 Dec  7 00:46 /dev/ttyp2
crw-rw-rw-   1 root     tty        3,   3 Oct 12 16:38 /dev/ttyp3
crw-rw-rw-   1 root     tty        3,   4 Oct 12 16:38 /dev/ttyp4
crw-rw-rw-   1 root     tty        3,   5 Oct 12 16:38 /dev/ttyp5

a subsequent telnet login using the 'dirty' ttyp's works fine but
minicom (over modemu) refuses to work with a message like:

    minicom: Cannot open /dev/ttyp1: Permission denied.

in case you don't know, modemu is a simple telnet client that loads a
comm program over itself; what's strange is that modemu can use
/dev/ttyp1 ok; the error happens when minicom tries to use it!

right after a reboot all ttyp*'s have permissions like 'crw-rw-rw-' and
group like 'tty' so everything works fine!

any clues?

TIA!

-- 
Otavio Exel /<\oo/>\
oexel@economatica.com.br


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: