1
1

* 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.
Этот коммит содержится в:
Pavel Roskin 2002-12-09 05:21:48 +00:00
родитель b10cf9e422
Коммит 0fce236546
2 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -1,5 +1,9 @@
2002-12-09 Pavel Roskin <proski@gnu.org>
* 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 <proski@gnu.org>

Просмотреть файл

@ -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);
}
}
}