Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 84467 Details for
Bug 117124
net-dns/ddclient-3.6.7 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ddclient-reasonable-security.patch
ddclient-reasonable-security.patch (text/plain), 883 bytes, created by
Paul Bredbury
on 2006-04-11 12:49:50 UTC
(
hide
)
Description:
ddclient-reasonable-security.patch
Filename:
MIME Type:
Creator:
Paul Bredbury
Created:
2006-04-11 12:49:50 UTC
Size:
883 bytes
patch
obsolete
>--- /usr/sbin/ddclient-orig 2006-04-11 10:14:16.000000000 +0100 >+++ /usr/sbin/ddclient 2006-04-11 20:31:14.000000000 +0100 >@@ -776,15 +776,10 @@ > # fatal("Cannot open file '%s'. ($!)", $file); > warning("Cannot open file '%s'. ($!)", $file); > } >- # Check for only owner has any access to config file >+ # Guard against world-readability of config file > my ($dev, $ino, $mode, @statrest) = stat(FD); >- if ($mode & 077) { >- if (-f FD && (chmod 0600, $file)) { >- warning("file $file must be accessible only by its owner (fixed)."); >- } else { >- # fatal("file $file must be accessible only by its owner."); >- warning("file $file must be accessible only by its owner."); >- } >+ if ($mode & 007) { >+ fatal("Must not be world-accessible\nchange its permissions using e.g.\nchmod 640", $file); > } > > local $lineno = 0;
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 117124
:
77501
|
77502
|
77503
|
78780
|
78781
|
78782
|
84063
|
84068
|
84237
|
84238
|
84416
|
84417
|
84418
|
84435
|
84436
|
84466
|
84467
|
84511
|
88423
|
88568
|
88577
|
89240
|
89242
|
93921
|
95055
|
95056