]> git.pld-linux.org Git - packages/cacti-plugin-boost.git/blob - chmod.patch
- fix invalid chmod mode
[packages/cacti-plugin-boost.git] / chmod.patch
1 chmod 666 is invalid, it should be octal: 0666
2
3 but i'd rather not chmod at all, if webserver can write it, so can it read it.
4
5 really, 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.089505 seconds and 4 git commands to generate.