mirror of
https://github.com/ksherlock/mpw.git
synced 2024-11-22 15:31:50 +00:00
permission bug creating finder info
This commit is contained in:
parent
c8a119f274
commit
68c2f65f15
@ -108,7 +108,7 @@ namespace native {
|
||||
prodos_ftype_in(buffer);
|
||||
|
||||
|
||||
int fd = attropen(path_name.c_str(), XATTR_FINDERINFO_NAME, O_WRONLY | O_CREAT);
|
||||
int fd = attropen(path_name.c_str(), XATTR_FINDERINFO_NAME, O_WRONLY | O_CREAT, 0666);
|
||||
if (fd < 0) return macos_error_from_errno();
|
||||
|
||||
rv = write(fd, info, extended ? 32 : 16);
|
||||
|
Loading…
Reference in New Issue
Block a user