Current Path : /proc/thread-self/root/opt/imunify360/venv/lib64/python3.11/site-packages/defence360agent/migrations/ |
Current File : //proc/thread-self/root/opt/imunify360/venv/lib64/python3.11/site-packages/defence360agent/migrations/064_chmod_i360deploy_log.py |
from contextlib import suppress import os I360DEPLOY_LOG = "/var/log/i360deploy.log" def migrate(migrator, database, fake=False, **kwargs): with suppress(FileNotFoundError): os.chmod(I360DEPLOY_LOG, 0o600) def rollback(migrator, database, fake=False, **kwargs): pass