ramon wrote:Hello atoz,
When you are logged in the server, your user has to be the owner of the files so you can edit them.
However, Apache is running as a different user and that user needs permission on your folders.
You can run chown -Rf www-data:youruser to OJS folder (this will run recursively!) so that Apache has permission and your group also has permission.
You could also try playing with permissions (adding the apache user only on certain folders), but usually that takes a lot of work and may later cause you further issues.
Hi Ramon,
I really thank you for your help. I have another 3 questions:
Just to be clear, If I choose the second option (playing with permissions); Are you suggesting I have to run chown -Rf www-data:myuser individually to the common writable folders? (cache, public, t_compile, _db, t_config ....) ? And than, set the permissions again to 755?
Is there a problem (or more than one) on my server setup that is producing this behaviour? Is it possible to fix?
The last one, finally, 777 is not a good and safety option to any folder, isn`t it?
Thank you again!
