Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. cd /home/user
  2. chown -R user:user public_html
  3.  
  4. find public_html -type f -exec chmod -c 640 {} ;
  5. find public_html -type d -exec chmod -c 2750 {} ;
  6.  
  7. cd /home/user/public_html/
  8. su $(stat -c '%U' index.php) -s /bin/bash
  9. whoami
  10. pwd
  11.  
  12. su $(stat -c '%U' index.php) -s /bin/bash
  13. php bin/magento cron:install --force
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement