Merge pull request #2320 from da2x/bugfixes
Tighten directory permissions
This commit is contained in:
@@ -205,6 +205,7 @@ class Network(util.DaemonThread):
|
||||
dir_path = os.path.join( self.config.path, 'certs')
|
||||
if not os.path.exists(dir_path):
|
||||
os.mkdir(dir_path)
|
||||
os.chmod(dir_path, stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR)
|
||||
|
||||
# subscriptions and requests
|
||||
self.subscribed_addresses = set()
|
||||
|
||||
Reference in New Issue
Block a user