X-Git-Url: http://git.osdn.net/view?p=pukiwiki%2Fpukiwiki_devel.git;a=blobdiff_plain;f=pkwk_chmod.sh;h=6b5024b1a1908cf0be75928d74516cbdc88732c2;hp=9172534ad7f30a511fbf310275197940e20bd62a;hb=df40b234647d342c38c92f1f49a72412aded438c;hpb=25b20f0a928e1cfdbc1283f91f454859fa57ac4b diff --git a/pkwk_chmod.sh b/pkwk_chmod.sh index 9172534..6b5024b 100755 --- a/pkwk_chmod.sh +++ b/pkwk_chmod.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: pkwk_chmod.sh,v 1.8 2011/01/16 15:06:46 henoheno Exp $ +# $Id: pkwk_chmod.sh,v 1.10 2011/01/24 15:12:51 henoheno Exp $ # Chmod script for PukiWiki DATA_HOME # ========================================================== Copyright='(C) 2002-2004 minix-up project, All Rights Reserved' @@ -38,7 +38,7 @@ list_files() find "$dir" -type f -name '*.log' ;; backup ) find "$dir" -type f \( -name '*.txt' -or -name '*.gz' \) ;; - cache ) find "$dir" -type f \( -name '*.dat' -or -name '*.re[fl]' \) ;; + cache ) find "$dir" -type f \( -name '*.dat' -or -name '*.re[fl]' -or -name '*.lock' \) ;; * ) find "$dir" -type f -name '*.txt' ;; esac done @@ -63,9 +63,10 @@ done # ERRATA chmod a-x INSTALL.txt image/b_pukiwiki.official.png -chmod o+r *.php */*.php image/*.png image/face/*.png */index.html +chmod o+r .ht* */.htaccess *.php */*.php image/*.png image/face/*.png */index.html chmod o+rx lib skin plugin image image/face #chmod o+rx doc #chmod o+r *.txt doc/*.txt +# .htaccess