Fix umask for newly created dirdir pages.
This commit is contained in:
parent
9facd7c1b1
commit
8631689bcc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user