本文介绍了如何授予对Heroku上特定文件夹的权限?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试在heroku上安装thelia,但是我对文件夹的权限存在问题.如何以正确的方式制作chmod?
I'm trying to install thelia on heroku, but I've problems with permissions on folders. How can I make chmod in the right way?
这是我们的buildpack: https://github.com /fzaffo/heroku-buildpack-php/blob/master/bin/compile
Here is our buildpack: https://github.com/fzaffo/heroku-buildpack-php/blob/master/bin/compile
我们得到以下结果:chmod:
we're getting this result: chmod:
这里是测试: http://eglaan.herokuapp.com
感谢支持.
推荐答案
您需要包括composer.json
并从此处射击chmod
命令:
You need to include composer.json
and shoot the chmod
command from there:
{
"scripts": {
"compile": [
"chmod -R 777 var/",
"chmod 755 etc/",
"chmod 644 etc/config.php"
]
}
}
这篇关于如何授予对Heroku上特定文件夹的权限?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!