mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-08-05 13:47:25 +02:00
Merge branch 'no-more-666' into 'master'
set sane permissions on cache/lockfiles/feed-icons instead of hardcoding a+rwx See merge request tt-rss/tt-rss!165
This commit is contained in:
commit
dea3f2dcb2
@ -65,10 +65,9 @@ done
|
||||
# - fatal error: could not open certificate file "/root/.postgresql/postgresql.crt": Permission denied
|
||||
chown -R app:app /root # /.postgresql
|
||||
|
||||
# TODO chown -R app:app should be enough (?)
|
||||
for d in cache lock feed-icons; do
|
||||
chmod 777 $DST_DIR/$d
|
||||
find $DST_DIR/$d -type f -exec chmod 666 {} \;
|
||||
chown -R app:app $DST_DIR/$d
|
||||
chmod -R u=rwX,g=rX,o=rX $DST_DIR/$d
|
||||
done
|
||||
|
||||
sudo -u app cp ${SCRIPT_ROOT}/config.docker.php $DST_DIR/config.php
|
||||
|
@ -55,8 +55,8 @@ done
|
||||
chown -R app:app /root # /.postgresql
|
||||
|
||||
for d in cache lock feed-icons; do
|
||||
chmod 777 $DST_DIR/$d
|
||||
find $DST_DIR/$d -type f -exec chmod 666 {} \;
|
||||
chown -R app:app $DST_DIR/$d
|
||||
chmod -R u=rwX,g=rX,o=rX $DST_DIR/$d
|
||||
done
|
||||
|
||||
sudo -u app cp ${SCRIPT_ROOT}/config.docker.php $DST_DIR/config.php
|
||||
|
Loading…
Reference in New Issue
Block a user