Dont make temp dir world writeable
This commit is contained in:
parent
c278e82ab5
commit
12e2f80df3
1 changed files with 0 additions and 1 deletions
|
|
@ -1720,7 +1720,6 @@ - (BOOL)performDragOperation:(id <NSDraggingInfo>)sender
|
|||
NSLog(@"Failed to create temp dir for file promises: %@", mkdirError);
|
||||
return NO;
|
||||
}
|
||||
[[NSFileManager defaultManager] setAttributes:@{NSFilePosixPermissions: @(0777)} ofItemAtPath:[tempDirURL path] error:&mkdirError];
|
||||
d->in_progress_drop.data_map = [[NSMutableDictionary alloc] init];
|
||||
NSPasteboard *pasteboard = [sender draggingPasteboard];
|
||||
NSMutableArray<NSURL *> *urls = [NSMutableArray array];
|
||||
|
|
|
|||
Loading…
Reference in a new issue