mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Fix permissions with ui tests on linux
This commit is contained in:
parent
cad3012e6d
commit
42be334e40
1 changed files with 3 additions and 0 deletions
|
|
@ -38,6 +38,9 @@ else
|
|||
sudo systemctl stop bunkerweb bunkerweb-ui
|
||||
export MAKEFLAGS="-j$(nproc)"
|
||||
pip install --force-reinstall --no-cache-dir --require-hashes --target /usr/share/bunkerweb/deps/python -r /usr/share/bunkerweb/deps/requirements.txt
|
||||
sudo chown -R nginx:nginx /usr/share/bunkerweb
|
||||
find /usr/share/bunkerweb -path /usr/share/bunkerweb/ui/deps -prune -o -type f -exec chmod 0740 {} \;
|
||||
find /usr/share/bunkerweb -path /usr/share/bunkerweb/ui/deps -prune -o -type d -exec chmod 0750 {} \;
|
||||
sudo mkdir /var/www/html/app1.example.com
|
||||
sudo touch /var/www/html/app1.example.com/index.html
|
||||
export TEST_TYPE="linux"
|
||||
|
|
|
|||
Loading…
Reference in a new issue