开发者

cannot bake CakePHP - permission denied while setting chmod +x for cake/console/cake - on NTFS mounted partition

Just learning CakePHP and its Bake feature.

I tried to run

../cake/console/cake bake

from the app folder, but I get the error

../cake/console/cake: Permission denied

chmod 777 nor chmod +x do开发者_JAVA百科n't work. I still get permission denied.

Also tried setting permissions thru the Properties window, but when I check "Allow executing file as program", it changes right back to unchecked.

If it makes any difference, my www/ folder is on an NTFS mounted partition. I used xampp on Windows before, and when I switched to Linux, www/ is still in that NTFS partition, and I just had my Apache in Linux point to that folder.

Any suggestions?


the default linux ntfs driver cannot properly handle permissions settings on NTFS devices.

you need to look into the NTFS-3G drivers.

this might help https://unix.stackexchange.com/questions/11757/ntfs-under-linux


In case it helps anyone, what I ended up doing is that I changed Apache's www folder location to ~/www and did my baking there. When I was done, I restored Apache's www folder to my NTFS partition, then copied into it my newly-baked application.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜