ALT Linux Bugzilla
– Attachment 1680 Details for
Bug 6042
pppd: меняет права на устройство
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
don't remove group write permission (drop others' though)
ppp-2.4.2-alt-leave-ttyperms-alone.patch (text/plain), 529 bytes, created by
Michael Shigorin
on 2006-11-13 16:20:03 MSK
(
hide
)
Description:
don't remove group write permission (drop others' though)
Filename:
MIME Type:
Creator:
Michael Shigorin
Created:
2006-11-13 16:20:03 MSK
Size:
529 bytes
patch
obsolete
>diff -Naur ppp-2.4.2-orig/pppd/tty.c ppp-2.4.2/pppd/tty.c >--- ppp-2.4.2-orig/pppd/tty.c 2004-01-13 06:17:59 +0200 >+++ ppp-2.4.2/pppd/tty.c 2006-11-13 15:10:08 +0200 >@@ -589,7 +589,7 @@ > * Do the equivalent of `mesg n' to stop broadcast messages. > */ > if (fstat(ttyfd, &statbuf) < 0 >- || fchmod(ttyfd, statbuf.st_mode & ~(S_IWGRP | S_IWOTH)) < 0) { >+ || fchmod(ttyfd, statbuf.st_mode & ~S_IWOTH) < 0) { > warn("Couldn't restrict write permissions to %s: %m", devnam); > } else > tty_mode = statbuf.st_mode;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 6042
:
1273
| 1680