ports/net/ddclient/patches/patch-ddclient

20 lines
685 B
Text

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 = '';