Revision 8e23a630
Added by Chris Buechler about 9 years ago
src/etc/inc/rrd.inc | ||
---|---|---|
1070 | 1070 |
|
1071 | 1071 |
$databases = glob("{$rrddbpath}/*.rrd"); |
1072 | 1072 |
foreach ($databases as $database) { |
1073 |
chown($database, "nobody"); |
|
1073 |
if (file_exists($database)) { |
|
1074 |
chown($database, "nobody"); |
|
1075 |
} |
|
1074 | 1076 |
} |
1075 | 1077 |
|
1076 | 1078 |
if (platform_booting()) { |
Also available in: Unified diff
Only try to chown files that still exist. Ticket #6131