Fix umask for newly created dirdir pages.

This commit is contained in:
uriel 2009-03-17 01:02:35 +00:00
parent 9facd7c1b1
commit 8631689bcc

View File

@ -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