From: ikiwikert Date: Sun, 27 Nov 2011 12:31:28 +0000 (-0400) Subject: fix X-Git-Tag: 3.20111107~28 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/1d6eab9f554ceb34282ca4faeeab85fea40c21ad?hp=20f774b5a314f6939c480caac9c184703b7f273a fix --- diff --git a/doc/forum/ikiwiki_generates_html_files_with_600_permission..mdwn b/doc/forum/ikiwiki_generates_html_files_with_600_permission..mdwn index 445c75ba0..70383372b 100644 --- a/doc/forum/ikiwiki_generates_html_files_with_600_permission..mdwn +++ b/doc/forum/ikiwiki_generates_html_files_with_600_permission..mdwn @@ -1,6 +1,8 @@ -I installed ikiwiki the usual way, my rcs is git, i configure the post-update hook in the bare-repo and use the cgi script in the non-bare. What drives me crazy is the following situation. I update my wiki through git (clone the bare repo on my laptop (WORKING CLONE), make a change and push it back to origin ($REPOSITORY)). Then the post-update hook (configured in my ikiwiki.config) kicks in and updates the checked out wiki ($DESTDIR) and the cgi script there generates html. See [[rcs/git]] if something is not clear. +I installed ikiwiki the usual way, my rcs is git, i configure the post-update hook in the bare-repo and use the cgi script in the non-bare. + +I update my wiki through git (clone the bare repo on my laptop (WORKING CLONE), make a change and push it back to origin ($REPOSITORY)). Then the post-update hook (configured in my ikiwiki.config) kicks in and updates the checked out wiki ($DESTDIR) and the cgi script there generates html. See [[rcs/git]] if something is not clear. My problem is: every generated html/css/favicon file is only write and readable by the user (600) and no one else. -Edit: If i edit the wiki through the webinterface everything is fine. -Edit2: Set _everything_ to chmod 0755 but when i run --setup or push to the bare repo; **then pages that are generated through the post update hook still have the wrong permissions.** + - Edit: If i edit the wiki through the webinterface everything is fine. + - Edit2: Set _everything_ to chmod 0755 but when i run --setup or push to the bare repo; **then pages that are generated through the post update hook still have the wrong permissions.**