lib/dns_one.rb in dns_one-0.4.14 vs lib/dns_one.rb in dns_one-0.4.15

- old
+ new

@@ -99,14 +99,10 @@ end conf_stat = File.stat conf_file unless conf_stat.mode.to_s(8) =~ /0600$/ - # Util.die "Conf file #{conf_file} must have mode 0600. Aborting." - end - - unless Util.match_root conf_stat - # Util.die "Conf file #{conf_file} must have uid/gid set to root. Aborting." + Util.die "Conf file #{conf_file} must have mode 0600. Aborting." end end end; end