mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-08 20:41:59 +03:00
* 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.
This commit is contained in:
parent
b10cf9e422
commit
0fce236546
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user