cross-solution / YAWIK

YAWIK is a web application. It can be used as an ATS applicant tracking system or as a jobboard.
https://yawik.org
MIT License
125 stars 67 forks source link

File permissions of cache, log and autoload directory. #516

Closed cbleek closed 5 years ago

cbleek commented 6 years ago

After installation via composer create-project -sdev yawik/standard YawikDemoPhp7 filevermissions of the following directories shoud be RW to all.

You'll get the following error, if eg. apache is executing the yawik code.

image

kilip commented 5 years ago

Hello @cbleek,

I have added AssetsInstaller::fixDirPermissions method on yawik/composer-plugin repo. This method will be executed after the composer install. When you execute composer with -v options:

$ composer create-project -sdev -v yawik/standard YawikDemoPhp7

You will get output like:

[yawik] chmod: config/autoload with 0777
[yawik] chmod: var/cache with 0777
[yawik] chmod: var/log with 0777
[yawik] chmod: var/log/tracy with 0777
cbleek commented 5 years ago

great! works now as expected