diff --git a/vfs/ChangeLog b/vfs/ChangeLog index 9fee64058..c220b6b69 100644 --- a/vfs/ChangeLog +++ b/vfs/ChangeLog @@ -1,5 +1,9 @@ 2002-12-09 Pavel Roskin + * extfs.c (__find_entry): When creating entried for regular + files, set initial permissions to S_IFREG | 0666. This fixes + problems with viewing and editing newly added files. + * extfs/bpp: Fix file sizes, contents of INSTALL and UPGRADE. 2002-12-08 Pavel Roskin diff --git a/vfs/extfs.c b/vfs/extfs.c index 20c471e27..d506f34a1 100644 --- a/vfs/extfs.c +++ b/vfs/extfs.c @@ -810,7 +810,7 @@ __find_entry (struct entry *dir, char *name, pent = generate_entry (dir->inode->archive, p, pdir, S_IFDIR | 0777); } if (pent == NULL && make_file) { - pent = generate_entry (dir->inode->archive, p, pdir, 0777); + pent = generate_entry (dir->inode->archive, p, pdir, S_IFREG | 0666); } } }