Can write permission denied
« on: November 01, 2014, 04:24:11 AM »
Its working great all this while and suddenly .. permission denied..
upon checking the log of php-fpm. i got this

[01-Nov-2014 04:04:56] PHP Warning:  fopen(/usr/local/nginx/html/xx.com/sitemap/data/generator.conf): failed to open stream: Permission denied in /usr/local/nginx/html/xx.com/sitemap/pages/class.utils.inc.php on line 102
[01-Nov-2014 04:04:56] PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /usr/local/nginx/html/xx.com/sitemap/pages/class.utils.inc.php on line 104
[01-Nov-2014 04:04:56] PHP Warning:  Unknown: open(/usr/local/nginx/html/xx.com/sitemap/data//sess_mvl4a2efms426r1dru8hkan264, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[01-Nov-2014 04:04:56] PHP Warning:  Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/usr/local/nginx/html/xx.com/sitemap/data/) in Unknown on line 0

and

[01-Nov-2014 04:05:56] PHP Warning:  fopen(/usr/local/nginx/html/xx.com/sitemap/data/generator.conf): failed to open stream: Permission denied in /usr/local/nginx/html/xx.com/sitemap/pages/class.utils.inc.php on line 102
[01-Nov-2014 04:05:56] PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /usr/local/nginx/html/xx.com/sitemap/pages/class.utils.inc.php on line 104

Do help..
Re: Can write permission denied
« Reply #1 on: November 01, 2014, 04:30:33 AM »
Hello,

please check that process running generator script has permissions to write to data/ folder (please try to set 777 permissions to data/ folder and 666 permissions to data/generator.conf file if it exists)
Re: Can write permission denied
« Reply #2 on: November 01, 2014, 04:37:26 AM »
Folder data have been set to chmod 777 and there is no generator.conf inside data folder. It just wont write. I have tested by setting the folder and files to chmod 777 but also fail.

Any idea
Re: Can write permission denied
« Reply #3 on: November 02, 2014, 03:39:59 PM »
Hello,

please let me know your generator URL/login in private message to check this further.