简体   繁体   中英

How to set 777 permission on a particular folder in Homestead?

I am using phpjasper package and I need to set the permission of the following folder to 777:

/vendor/geekcom/phpjasper/src/JasperStarter/bin

and the file binary

 jasperstarter

I am using Homestead.

how can I set it?

By executing this code in the linux console:

 chmod 777 /vendor/geekcom/phpjasper/src/JasperStarter/bin

Or by using chmod directly in php, but you may not have permissions to fo that through php

Try this Command in your Linux terminal.

cd /vendor/geekcom/phpjasper/src

chmod -R 777 jasperstarter/

Try this Command,

cd /vendor/geekcom/phpjasper/src

sudo chmod -R 777 jasperstarter/

It will ask for password.

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