File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,15 @@ apt-get install -y libboost-all-dev
2727# python requirements
2828pip install -r ${lichen_repository_dir} /requirements.txt
2929
30+ # These permissions changes are copied from Submitty/.setup/INSTALL_SUBMITTY_HELPER.sh
31+ # Setting the permissions are necessary as pip uses the umask of the user/system, which
32+ # affects the other permissions (which ideally should be o+rx, but Submitty sets it to o-rwx).
33+ # This gets run here in case we make any python package changes.
34+ find /usr/local/lib/python* /dist-packages -type d -exec chmod 755 {} +
35+ find /usr/local/lib/python* /dist-packages -type f -exec chmod 755 {} +
36+ find /usr/local/lib/python* /dist-packages -type f -name ' *.py*' -exec chmod 644 {} +
37+ find /usr/local/lib/python* /dist-packages -type f -name ' *.pth' -exec chmod 644 {} +
38+
3039# #######################################################################################################################
3140# get tools/source code from other repositories
3241
You can’t perform that action at this time.
0 commit comments