SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
20
net/ddclient/patches/patch-ddclient
Normal file
20
net/ddclient/patches/patch-ddclient
Normal file
|
@ -0,0 +1,20 @@
|
|||
Index: ddclient
|
||||
--- ddclient.orig
|
||||
+++ ddclient
|
||||
@@ -1163,16 +1163,6 @@ sub _read_config {
|
||||
# fatal("Cannot open file '%s'. ($!)", $file);
|
||||
warning("Cannot open file '%s'. ($!)", $file);
|
||||
}
|
||||
- # Check for only owner has any access to 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.");
|
||||
- }
|
||||
- }
|
||||
|
||||
local $lineno = 0;
|
||||
my $continuation = '';
|
Loading…
Add table
Add a link
Reference in a new issue