SOURCES: awstats-created_dir_mode.patch (NEW) - fixes permisions o...
jajcus
jajcus at pld-linux.org
Sun Aug 21 19:49:52 CEST 2005
Author: jajcus Date: Sun Aug 21 17:49:52 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fixes permisions of data directories created by awstats
---- Files affected:
SOURCES:
awstats-created_dir_mode.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/awstats-created_dir_mode.patch
diff -u /dev/null SOURCES/awstats-created_dir_mode.patch:1.1
--- /dev/null Sun Aug 21 19:49:52 2005
+++ SOURCES/awstats-created_dir_mode.patch Sun Aug 21 19:49:47 2005
@@ -0,0 +1,12 @@
+diff -dur -x '*~' awstats-6.5.orig1/wwwroot/cgi-bin/awstats.pl awstats-6.5/wwwroot/cgi-bin/awstats.pl
+--- awstats-6.5.orig1/wwwroot/cgi-bin/awstats.pl 2005-03-20 19:11:05.000000000 +0100
++++ awstats-6.5/wwwroot/cgi-bin/awstats.pl 2005-08-21 19:43:31.000000000 +0200
+@@ -1770,7 +1770,7 @@
+ if (! $MigrateStats && ! -d $DirData) {
+ if ($CreateDirDataIfNotExists) {
+ if ($Debug) { debug(" Make directory $DirData",2); }
+- my $mkdirok=mkdir "$DirData", 0766;
++ my $mkdirok=mkdir "$DirData", 0755;
+ if (! $mkdirok) { error("$PROG failed to create directory DirData (DirData=\"$DirData\", CreateDirDataIfNotExists=$CreateDirDataIfNotExists)."); }
+ }
+ else {
================================================================
More information about the pld-cvs-commit
mailing list