Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Errno 13] Permission denied: '/etc/bind/zones/nsk.guts'
- START OF TRACEBACK
- ------------------------------------------------------------------------
- File: /opt/noc/main/sync/channels/dns/zone/bind/file.py (Line: 177)
- Function: on_verify
- 170 serial = int(data["serial"])
- 171 mf = self.get_manifest()
- 172 if mf.get(object) == serial:
- 173 return # Actual
- 174 zf = ZoneFile(object, data["records"]).get_text()
- 175 path = self.get_zone_path(object)
- 176 self.info("Updating %s (%d)" % (object, serial))
- 177 ==> with open(path, "w") as f:
- 178 f.write(zf)
- 179 self.update_manifest(mf, object, serial)
- 180
- 181 def reload(self):
- 182 """
- 183 Reload named config
- Variables:
- mf = {'nsk.guts': 2013060700}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement