mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 16:54:59 +02:00
Remove invalid permissions exception.
Once things like locks are added, this error shouldn't be possible as it will have occurred earlier.
This commit is contained in:
@@ -150,9 +150,6 @@ class Installer(plugins_common.Plugin):
|
||||
self.new_cf += line
|
||||
self.new_cf += sep + new_cf_lines
|
||||
|
||||
if not os.access(self.fn, os.W_OK):
|
||||
raise Exception("Can't write to %s, please re-run as root."
|
||||
% self.fn)
|
||||
with fopen(self.fn, "w") as f:
|
||||
f.write(self.new_cf)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user