mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-01-04 07:03:14 +08:00
changing log permissions
This commit is contained in:
parent
4f5fdda44f
commit
dd3c1e968c
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue