I have been troubled with intermittently changed permissions on /dev/ttyS1, and have been searching for some cron job that might have caused it. Your comments about the pppd source gave me a clue. I thought that if pppd changes these permissions, then restores them on exit, an abnormal exit could cause the problem.
I just started ppp, then killed pppd with kill -9, and found that the permissions on /dev/ttyS1 were now 640. Also, /var/run/ppp1.pid and /var/lock/LCK..ttyS1 were still in place, which would be problematical for some modem operations. Why does pppd find it necessary to fiddle with these permissions anyway? Bob you wrote: >Joseph Carter writes: >> Congratulations, you're now part of dialout and can now .. dialout! The >> bad news is that SOMETHING at least on my machine keeps changing it back >> to mode 640! This is naturally QUITE annoying. Seems the only one that >> gets changed back is ttyS1, which leads me to believe pppd is doing it. >> Not a clue how at the moment. > >From a quick glance at the source, pppd should save the mode and restore it >on exit. I just tested this with pppd-2.3.3 on hamm. Seems to work. -- _ |_) _ |_ Robert D. Hilliard <[EMAIL PROTECTED]> |_) (_) |_) Palm City, FL USA PGP Key ID: A8E40EB9 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]