It's creating the directories with as the correct user, but the files inside are being created by "root"
Code: Select all
drwx------ 2 www-data www-data 4.0K Jun 30 19:40 .
drwxrwxrwx 4 root root 4.0K Jun 30 19:40 ..
-rw------- 1 root root 7.4M Jun 30 19:40 16.rrd
Code: Select all
Effective User ID
This UNIX/LINUX only option allows you to use this users UID to create and otherwise operate on RRD's. In order to use this, you must also be using the 'posix' module in PHP. A Boost Server restart is required to enact any changes in this setting.
I'm getting the following error in the logs:
Code: Select all
06/30/2015 07:39:49 PM - CMDPHP: Poller[0] ERROR: Unable to set directory permissions for '/usr/share/cacti/rra/2'
I'm not really sure what POSIX is or how to use it with PHP.... anyone able to help?
Thanks