projects
/
fai-configs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a195f8b
)
more perms for wiki
author
Lisa Marie Maginnis
<lisam@fsf.org>
Mon, 26 Jan 2015 21:49:30 +0000
(16:49 -0500)
committer
Lisa Marie Maginnis
<lisam@fsf.org>
Mon, 26 Jan 2015 21:49:30 +0000
(16:49 -0500)
scripts/IKIWIKI/50-fix-perms.sh
patch
|
blob
|
blame
|
history
diff --git
a/scripts/IKIWIKI/50-fix-perms.sh
b/scripts/IKIWIKI/50-fix-perms.sh
index 0ccbd739398f711f210882a6b74080466f54f848..127442223a6d121059c47565b3aa71a7c7c7213d 100755
(executable)
--- a/
scripts/IKIWIKI/50-fix-perms.sh
+++ b/
scripts/IKIWIKI/50-fix-perms.sh
@@
-7,5
+7,7
@@
$ROOTCMD chown -R ikiwiki.www-data /var/www/html/wiki
$ROOTCMD find /var/www/html/wiki -type d -print0 | xargs -0 chmod 750
$ROOTCMD find /var/www/html/wiki -type f ! -name '*cgi' -print0 | xargs -0 chmod 640
$ROOTCMD chmod 6750 /var/www/html/wiki/ikiwiki.cgi
+$ROOTCMD chown -R ikiwiki.www-data /srv/ikiwiki
$ROOTCMD find /srv/ikiwiki -type d -print0 | xargs -0 chmod 750
$ROOTCMD find /srv/ikiwiki -type f -print0 | xargs -0 chmod 640
+