Adjust permission during build time instead of run-time

This commit is contained in:
cytopia
2022-07-03 12:41:21 +02:00
parent 4b9739a99d
commit e0cb0c1f5d
15 changed files with 56 additions and 6 deletions

View File

@@ -706,6 +706,10 @@ software_available:
su -c '. {{ nvm_home }}/nvm.sh; nvm install {{ node_version }}' devilbox \
&& su -c '. {{ nvm_home }}/nvm.sh; nvm use {{ node_version }}' devilbox \
&& su -c '. {{ nvm_home }}/nvm.sh; corepack enable' devilbox \
\
&& chmod 0777 {{ nvm_home }} \
&& find {{ nvm_home }} -type f -print0 | xargs -n1 -0 chmod go+w \
&& find {{ nvm_home }} -type d -print0 | xargs -n1 -0 chmod 0777 \
###
### PostgrSQL Command line client
###