# | Line 1852 | Line 1852 | static int16 fs_create(uint32 pb, uint32 | |
---|---|---|
1852 | return dupFNErr; | |
1853 | ||
1854 | // Create file | |
1855 | < | int fd = creat(full_path, 0664); |
1855 | > | int fd = creat(full_path, 0666); |
1856 | if (fd < 0) | |
1857 | return errno2oserr(); | |
1858 | else { | |
# | Line 1877 | Line 1877 | static int16 fs_dir_create(uint32 pb) | |
1877 | return dupFNErr; | |
1878 | ||
1879 | // Create directory | |
1880 | < | if (mkdir(full_path, 0775) < 0) |
1880 | > | if (mkdir(full_path, 0777) < 0) |
1881 | return errno2oserr(); | |
1882 | else { | |
1883 | WriteMacInt32(pb + ioDirID, fs_item->id); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |