From 1d6eab9f554ceb34282ca4faeeab85fea40c21ad Mon Sep 17 00:00:00 2001 From: ikiwikert Date: Sun, 27 Nov 2011 08:31:28 -0400 Subject: [PATCH] fix --- ...ikiwiki_generates_html_files_with_600_permission..mdwn | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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.** -- 2.26.2