Files ownership
Hi!
I've had to upgrade LPAR2RRD installation performed by former colleague.
For unknown reason part of the files were set to owned by apache, other to apache group, even root.
Of course, update script issued errors. I've restored from backup and change everything to under /home/lpar2rrd/lpar2rrd to lpar2rrd:lpar2rrd.
So, which are the right permissions in order to work properly? Currently, I don's see any problems with the upgraded installation, but I want to clarify this issue.
Thanks!
I've had to upgrade LPAR2RRD installation performed by former colleague.
For unknown reason part of the files were set to owned by apache, other to apache group, even root.
Of course, update script issued errors. I've restored from backup and change everything to under /home/lpar2rrd/lpar2rrd to lpar2rrd:lpar2rrd.
So, which are the right permissions in order to work properly? Currently, I don's see any problems with the upgraded installation, but I want to clarify this issue.
Thanks!
Comments
-
Hi,
everything should be owned by lpar2rrd except these:
etc/web_config/* --> apache should own file here, directory should have 777
log/error-cgi.log is a sym link to /var/tmp, source files must be owned by apache
all directories and files should be readable for apache (644 or 755)
Directory and file rights are properly set during upgrade procedure. Of course chown to other user cannot be done (etc/web_config/*) as install is running under lpar2rrd user
-
Thank you for that response, Pavel
Howdy, Stranger!
Categories
- 1.6K All Categories
- 41 XORMON NG
- 25 XORMON
- 149 LPAR2RRD
- 13 VMware
- 16 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 6 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 122 STOR2RRD
- 19 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 12 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 1 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle