Forum

Directory/File perm...
 
Notifications
Clear all

Directory/File permissions and ownership

2 Posts
2 Users
0 Reactions
3,332 Views
(@rmeske)
Posts: 28
Active Member
Topic starter
 
[#3087]

I am having some troubles getting 5.2.4 running without errors due to permissions for projeqtor.php.
2016-02-22 14:34:32.540 ** ERROR ** ERROR **
2016-02-22 14:34:32.540
** ERROR ** on file '/opt/bitnami/apps/projeqtor/tool/projeqtor.php' at line (324)
2016-02-22 14:34:32.540
** ERROR ***** cause = fopen(../tool/i18n/nls/lang.js): failed to open stream: Permission denied

I have configured ownership and permissions on the projeqtor folder identical to what I have for version 5.1.5 which is running successfully.

I tried to search for any documentation on setting ownership and permissions on the projeqtor folder and files but did not find much.

Currently I have the folder and files under projeqtor owned by myUser:daemon.
For permissions I set projeqtor and subfolders to 755 and files to 644.

For documents, attachments, logs, etcetera, I created a separate folder: projeqtor_files. I setup ownership as daemon:daemon and the permissions on all folders to 755.

Are these permissions correct?


 
Posted : 23 Feb 2016 2H27
(@babynus)
Posts: 14952
Member Admin
 

You must set the owner of directories and files as the PHP user (user launching PHP process)
It may be www-data (on debian like distribs) or apache (on redhat like distribs)
For instance, on the web root (/var/www or /var/www/html) :

chown www-data: -R projeqtor

 
Posted : 24 Feb 2016 16H38
Share:

Scroll to Top