Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
mlgupta committed Dec 4, 2020
2 parents 3b180eb + f38b116 commit 930bbb2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .release
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
release=0.2.5
tag=0.2.5
release=0.2.6
tag=0.2.6
6 changes: 3 additions & 3 deletions container/tools/run
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def clear_run_envvars():
try:
shutil.rmtree(RUN_ENVIRONMENT_DIR)
os.makedirs(RUN_ENVIRONMENT_DIR)
os.chmod(RUN_ENVIRONMENT_DIR, 700)
os.chmod(RUN_ENVIRONMENT_DIR, 0o700)
except:
warning("clear_run_envvars: failed at some point...")

Expand Down Expand Up @@ -362,11 +362,11 @@ def setup_run_directories(args):
os.makedirs(directory)

if directory == RUN_ENVIRONMENT_DIR:
os.chmod(directory, 700)
os.chmod(directory, 0o700)

if not os.path.exists(RUN_ENVIRONMENT_FILE_EXPORT):
open(RUN_ENVIRONMENT_FILE_EXPORT, 'a').close()
os.chmod(RUN_ENVIRONMENT_FILE_EXPORT, 640)
os.chmod(RUN_ENVIRONMENT_FILE_EXPORT, 0o640)
uid = pwd.getpwnam("root").pw_uid
gid = grp.getgrnam("root").gr_gid
os.chown(RUN_ENVIRONMENT_FILE_EXPORT, uid, gid)
Expand Down

0 comments on commit 930bbb2

Please sign in to comment.