ref: 506d66df5b5584a1b5794795c479ca198fbbea01
parent: 25c67c12f6734892cae1350374805510ed13ec0d
author: sl <uriel@engel.se.cat-v.org>
date: Mon Mar 16 21:02:35 EDT 2009
Fix umask for newly created dirdir pages.
--- a/apps/dirdir/app.rc
+++ b/apps/dirdir/app.rc
@@ -40,6 +40,7 @@
fn save_page {
dirdir_verdir=$dirdir_dir/^`{date -n}^/
mkdir -p $dirdir_verdir
+ umask 002
# XXX Use a tmp file and mv(1) to ensure updates are atomic?
echo $logged_user > $dirdir_verdir/author