]> git.pld-linux.org Git - packages/cacti-plugin-boost.git/blame - chmod.patch
- drop obsolete and outdated manual inclusion of rpm macros
[packages/cacti-plugin-boost.git] / chmod.patch
CommitLineData
f6b30c3a
ER
1chmod 666 is invalid, it should be octal: 0666
2
3but i'd rather not chmod at all, if webserver can write it, so can it read it.
4
5really, it should be configurable (perhaps take some cacti var?)
6--- cacti-plugin-boost-4.3/setup.php~ 2010-12-14 09:15:05.048058428 +0200
7+++ cacti-plugin-boost-4.3/setup.php 2010-12-14 23:38:26.442892330 +0200
8@@ -929,7 +929,6 @@
9 if ($fileptr = fopen($cache_file, "w")) {
10 fwrite($fileptr, $data["output"], strlen($data["output"]));
11 fclose($fileptr);
12- chmod($cache_file, 666);
13 }
14 }
15 }else{
This page took 0.085465 seconds and 4 git commands to generate.