mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
Dont make temp dir world writeable
This commit is contained in:
@@ -1720,7 +1720,6 @@ build_uri_list(_GLFWDropData *d) {
|
|||||||
NSLog(@"Failed to create temp dir for file promises: %@", mkdirError);
|
NSLog(@"Failed to create temp dir for file promises: %@", mkdirError);
|
||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
[[NSFileManager defaultManager] setAttributes:@{NSFilePosixPermissions: @(0777)} ofItemAtPath:[tempDirURL path] error:&mkdirError];
|
|
||||||
d->in_progress_drop.data_map = [[NSMutableDictionary alloc] init];
|
d->in_progress_drop.data_map = [[NSMutableDictionary alloc] init];
|
||||||
NSPasteboard *pasteboard = [sender draggingPasteboard];
|
NSPasteboard *pasteboard = [sender draggingPasteboard];
|
||||||
NSMutableArray<NSURL *> *urls = [NSMutableArray array];
|
NSMutableArray<NSURL *> *urls = [NSMutableArray array];
|
||||||
|
|||||||
Reference in New Issue
Block a user