commit bd5cfcf543527393c6f715f40c2a1bd3390fb475
parent 772c66b41993566a74411edf076a46ac62b16a62
Author: uriel@soma <unknown>
Date: Tue, 17 Mar 2009 01:02:35 +0000
Fix umask for newly created dirdir pages.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/apps/dirdir/app.rc b/apps/dirdir/app.rc
@@ -40,6 +40,7 @@ fn dirdir_init {
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