Skip to content

Commit

Permalink
Change file permission (#37)
Browse files Browse the repository at this point in the history
Restrict file permission access.
Signed-off-by: maipbui <maibui@microsoft.com>
  • Loading branch information
maipbui committed Jan 27, 2023
1 parent 856eaad commit 42ec822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/aaastatsd
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class RadiusStatistics:
os.unlink(stats_file)
else:
open(stats_file, 'a').close()
os.chmod(stats_file, 0o666)
os.chmod(stats_file, 0o644)
self.handle_update(addr)

def handle_clear(self):
Expand Down

0 comments on commit 42ec822

Please sign in to comment.