mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
chore: Fix permissions for bwcli plugin files
This commit is contained in:
parent
8ec183c2bb
commit
0a04b22ba5
7 changed files with 7 additions and 0 deletions
|
|
@ -87,6 +87,7 @@ RUN cp helpers/bwcli /usr/bin/ && \
|
|||
chmod 770 /var/cache/bunkerweb/ /var/tmp/bunkerweb/ /var/run/bunkerweb/ && \
|
||||
chmod 750 gen/*.py scheduler/*.py cli/*.py ui/*.py ui/src/*.py helpers/*.sh /var/www/ && \
|
||||
find core/*/jobs/* -type f -exec chmod 750 {} \; && \
|
||||
find core/*/bwcli/* -type f -exec chmod 750 {} \; && \
|
||||
chmod 755 .
|
||||
|
||||
# Cleanup
|
||||
|
|
|
|||
|
|
@ -83,6 +83,7 @@ RUN cp helpers/bwcli /usr/bin/ && \
|
|||
chmod 770 /var/cache/bunkerweb/ /var/tmp/bunkerweb/ /var/run/bunkerweb/ && \
|
||||
chmod 750 gen/*.py scheduler/*.py cli/*.py ui/*.py ui/src/*.py helpers/*.sh /var/www/ && \
|
||||
find core/*/jobs/* -type f -exec chmod 750 {} \; && \
|
||||
find core/*/bwcli/* -type f -exec chmod 750 {} \; && \
|
||||
chmod 755 .
|
||||
|
||||
# Cleanup
|
||||
|
|
|
|||
|
|
@ -95,6 +95,7 @@ RUN cp helpers/bwcli /usr/bin/ && \
|
|||
chmod 770 /var/cache/bunkerweb/ /var/tmp/bunkerweb/ /var/run/bunkerweb/ && \
|
||||
chmod 750 gen/*.py scheduler/*.py cli/*.py ui/*.py ui/src/*.py helpers/*.sh /var/www/ && \
|
||||
find core/*/jobs/* -type f -exec chmod 750 {} \; && \
|
||||
find core/*/bwcli/* -type f -exec chmod 750 {} \; && \
|
||||
chmod 755 .
|
||||
|
||||
# Cleanup
|
||||
|
|
|
|||
|
|
@ -100,6 +100,7 @@ RUN cp helpers/bwcli /usr/bin/ && \
|
|||
chmod 770 /var/cache/bunkerweb/ /var/tmp/bunkerweb/ /var/run/bunkerweb/ && \
|
||||
chmod 750 gen/*.py scheduler/*.py cli/*.py ui/*.py ui/src/*.py helpers/*.sh /var/www/ && \
|
||||
find core/*/jobs/* -type f -exec chmod 750 {} \; && \
|
||||
find core/*/bwcli/* -type f -exec chmod 750 {} \; && \
|
||||
chmod 755 .
|
||||
|
||||
# Cleanup
|
||||
|
|
|
|||
|
|
@ -87,6 +87,7 @@ RUN cp helpers/bwcli /usr/bin/ && \
|
|||
chmod 770 /var/cache/bunkerweb/ /var/tmp/bunkerweb/ /var/run/bunkerweb/ && \
|
||||
chmod 750 gen/*.py scheduler/*.py cli/*.py ui/*.py ui/src/*.py helpers/*.sh /var/www/ && \
|
||||
find core/*/jobs/* -type f -exec chmod 750 {} \; && \
|
||||
find core/*/bwcli/* -type f -exec chmod 750 {} \; && \
|
||||
chmod 755 .
|
||||
|
||||
# Cleanup
|
||||
|
|
|
|||
|
|
@ -87,6 +87,7 @@ RUN cp helpers/bwcli /usr/bin/ && \
|
|||
chmod 770 /var/cache/bunkerweb/ /var/tmp/bunkerweb/ /var/run/bunkerweb/ && \
|
||||
chmod 750 gen/*.py scheduler/*.py cli/*.py ui/*.py ui/src/*.py helpers/*.sh /var/www/ && \
|
||||
find core/*/jobs/* -type f -exec chmod 750 {} \; && \
|
||||
find core/*/bwcli/* -type f -exec chmod 750 {} \; && \
|
||||
chmod 755 .
|
||||
|
||||
# Cleanup
|
||||
|
|
|
|||
|
|
@ -59,6 +59,7 @@ RUN apk add --no-cache bash unzip libgcc libstdc++ libpq openssl libmagic mariad
|
|||
chown -R root:scheduler INTEGRATION /data /etc/nginx /var/cache/bunkerweb /var/lib/bunkerweb /etc/bunkerweb /var/tmp/bunkerweb /var/run/bunkerweb /var/log/bunkerweb /usr/bin/bwcli && \
|
||||
chmod -R 770 /data /etc/nginx /var/cache/bunkerweb /var/lib/bunkerweb /etc/bunkerweb /var/tmp/bunkerweb /var/run/bunkerweb /var/log/bunkerweb && \
|
||||
find core/*/jobs/* -type f -exec chmod 750 {} \; && \
|
||||
find core/*/bwcli/* -type f -exec chmod 750 {} \; && \
|
||||
chmod 750 cli/main.py gen/*.py scheduler/main.py scheduler/entrypoint.sh helpers/*.sh deps/python/bin/* /usr/bin/bwcli && \
|
||||
chmod 660 INTEGRATION
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue