Jump to content

Edit History

Nick57

Nick57

We are now on 1.7.5.2

Again permission issue... when is Prestashop going to fix this?

Nick57

Nick57

We are now on 1.7.5.2

Again issue... when is Prestashop going to fix this?

Nick57

Nick57

We are now on 1.7.5.2

Again issue... when is Prestashop going to fix this?

grep -rnw -e 'umask(0000)'
grep -rnw -e ' 0666)'
grep -rnw -e ' 0771)'
grep -rnw -e ' 0777)'

Fix it with this:

find -depth -type f -exec sed -i 's/\ 0666/\ 0644/g' {} \;
find -depth -type f -exec sed -i 's/\ 0771/\ 0755/g' {} \;
find -depth -type f -exec sed -i 's/\ 0777/\ 0755/g' {} \;
find -depth -type f -exec sed -i 's/umask(0000)/umask(0022)/g' {} \;
find -depth -type f -exec chmod 644 {} \;
find -depth -type d -exec chmod 755 {} \;
find -name '*error_log' -delete

Nick57

Nick57

Again issue... when is Prestashop going to fix this?

grep -rnw -e 'umask(0000)'
grep -rnw -e ' 0666)'
grep -rnw -e ' 0771)'
grep -rnw -e ' 0777)'

Fix it with this:

find -depth -type f -exec sed -i 's/\ 0666/\ 0644/g' {} \;
find -depth -type f -exec sed -i 's/\ 0771/\ 0755/g' {} \;
find -depth -type f -exec sed -i 's/\ 0777/\ 0755/g' {} \;
find -depth -type f -exec sed -i 's/umask(0000)/umask(0022)/g' {} \;
find -depth -type f -exec chmod 644 {} \;
find -depth -type d -exec chmod 755 {} \;
find -name '*error_log' -delete

×
×
  • Create New...