changing log permissions

This commit is contained in:
bobokun 2021-12-17 10:06:21 -05:00
parent 4f5fdda44f
commit dd3c1e968c
No known key found for this signature in database
GPG key ID: 9665BA6CF5DC2671

View file

@ -139,7 +139,7 @@ util.apply_formatter(file_handler)
file_handler.addFilter(fmt_filter)
logger.addHandler(file_handler)
try:
os.chmod(log_path, 0o777)
os.chmod(log_path, 0o666)
except OSError:
pass
@ -277,7 +277,7 @@ if __name__ == '__main__':
logger.debug(f" --trace (QBT_TRACE): {trace}")
logger.debug("")
try:
os.chmod(file_logger, 0o777)
os.chmod(file_logger, 0o666)
except OSError:
pass
try: