Thank you friends. I forgot that pppd is suid root so is the real culprit here. I also forgot that ip-down executes as root so can be used to clean up. It seems to be a shame that wvdial only exits cleanly on signal #2 (SIGINT) but not on #15 (SIGTERM) but I know too little about process signals to understand why. By the way, the 'chmod' only works in ip-up, not in ip-down.local dproc On Mon, 29 May 2000, Ramon Diaz-Uriarte wrote:
---------- Forwarded Message ---------- Subject: Re: [SLE] wvdial and lack of permissions Date: Sat, 27 May 2000 12:51:49 +0200 From: Ramon Diaz-Uriarte
Thanks a lot for the last round of asnwers from Rik Dunphy and Ken Archer; that solves the mistery and the problem. I reproduce their messages below.
** R Dunphy
(...) did a look on support database and got this... http://sdb.suse.de/sdb/en/html/hoe_wv_perm_tty.html
Seems it is a problem when the PPPD doesn't terminate correctly, which would explain why it only happens from time to time. The link includes a work around which basically gets the pppd to reset the permissions every time anyway.
**K. Archer ***** According to the author of wvdial, it changes the permissions to root every time you run it and then changes it back when you close it. Sometimes, however, when it is not shut down properly, I think it should be Ctrl-C if I remember correctly, it doesn't have a chance to change the permissions back. You then have to do it manually. -------------------------------------------------------
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/