简体   繁体   中英

Envoyer mkdir issue

We connected Envoyer to our server without hassle. However if we want to deploy we get the following error:

mkdir: cannot create directory '/FOLDERNAME': Permission denied

However if we log in to our server ourselves with the same user with SSH we can run mkdir without issue.

Anybody knows what could've caused this issue?

The server runs on Linux (CentOS)

it could come from user permissions.

Are you sure that the user you use to log in with SSH is the same that runs php code (there's often a dedicated user for www in order to limit risks).

You should verify that "PHP user" is authorized to write in this directory (verify user permissions and group permissions).

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