[Vtigercrm-developers] Folder permissions to installation

Hamono, Chris (DPC) Chris.Hamono at sa.gov.au
Mon Jul 27 06:51:24 GMT 2015


That looks fine

Is nginx actually running as user nginx or is it running as a different user?

Look in your nginx config for the line…

user nginx;

If it is something else you may not be executing as the nginx user.

You can also use

ps aux | grep nginx

it should give you something like this.. (of course I am running apache)

www-data  8025  0.4  2.6  61880 26888 ?        S    16:08   0:02 /usr/sbin/apache2 -k start
www-data  8026  1.0  2.8  63552 29644 ?        S    16:08   0:05 /usr/sbin/apache2 -k start

I know this sounds silly but I have done it. Are you looking at the correct document root? If you have a dev copy and a production copy you may have changed the permissions for the wrong files.

If you really get desperate create an empty php file and put this command in it

<?php
echo `whoami`;

Open that in the browser and it will tell you what user is being executed

I have put this last but it should be first. Check your log files, are there any access errors?

Chris


From: vtigercrm-developers-bounces at lists.vtigercrm.com [mailto:vtigercrm-developers-bounces at lists.vtigercrm.com] On Behalf Of Juan Pablo Botero
Sent: Monday, 27 July 2015 1:11 PM
To: vtigercrm-developers at lists.vtigercrm.com
Subject: Re: [Vtigercrm-developers] Folder permissions to installation

The output: http://pastebin.com/PCnWvip7


2015-07-26 19:57 GMT-05:00 Hamono, Chris (DPC) <Chris.Hamono at sa.gov.au<mailto:Chris.Hamono at sa.gov.au>>:
What’s the output from ls –alh /var/www/vtigercrm

Chris

From: vtigercrm-developers-bounces at lists.vtigercrm.com<mailto:vtigercrm-developers-bounces at lists.vtigercrm.com> [mailto:vtigercrm-developers-bounces at lists.vtigercrm.com<mailto:vtigercrm-developers-bounces at lists.vtigercrm.com>] On Behalf Of Juan Pablo Botero
Sent: Monday, 27 July 2015 5:28 AM
To: vtigercrm-developers at lists.vtigercrm.com<mailto:vtigercrm-developers at lists.vtigercrm.com>
Subject: Re: [Vtigercrm-developers] Folder permissions to installation

I executed:

chown -R nginx:nginx /var/www/vtigercrm
chmod  -R 775 /var/www/vtigercrm

Still the same output.

Thanks

2015-07-25 4:38 GMT-05:00 cryptic <mark at markcox.co.uk<mailto:mark at markcox.co.uk>>:
Assuming the path is /var/www/vtigercrm

sudo chown -R www-data:www-data vtigercrm
sudo chmod  -R 775 /var/www/vtigercrm



--
View this message in context: http://vtiger-crm.2324883.n4.nabble.com/Vtigercrm-developers-Folder-permissions-to-installation-tp17012p17016.html
Sent from the vtigercrm-developers mailing list archive at Nabble.com.
_______________________________________________
http://www.vtiger.com/



--
Cordialmente:
Juan Pablo Botero

_______________________________________________
http://www.vtiger.com/



--
Cordialmente:
Juan Pablo Botero
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150727/6cc170c4/attachment-0001.html>


More information about the vtigercrm-developers mailing list