简体   繁体   中英

Envoy - Permission denied

I'm trying to deploy my project using Envoy. I linked my vagrant to a deploybot user on the server, which works perfectly, but when I try to deploy my project I get these errors

[deploybot@"Server IP"]: PHP Warning:  require(/home/boost/bootstrap/autoload.php): failed to open stream: Permission denied in /home/boost/artisan on line 16 [deploybot@"Server IP"]: PHP Fatal error:  require(): Failed opening required
'/home/boost/bootstrap/autoload.php' (include_path='.:/usr/share/pear:/usr/share                            /php') in /home/boost/artisan on line 16

I've been trying to switch some permissions around, but that didn't seem to work. Any idea on how I can solve this?

Try running these commands. This will make it so the deploybot will be able to read and write in files.

chown -R deploybot directory
chmod -R u+rX directory

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM