mirror of
https://github.com/gnustep/libs-ec.git
synced 2025-02-20 18:32:09 +00:00
Home directory must be executable for access
This commit is contained in:
parent
655c72855d
commit
95490d0d5c
1 changed files with 2 additions and 2 deletions
|
@ -1518,13 +1518,13 @@ valgrindLog(NSString *name)
|
|||
|
||||
if (dir)
|
||||
{
|
||||
if ([mgr isWritableFileAtPath: dir])
|
||||
if ([mgr isExecutableFileAtPath: dir])
|
||||
{
|
||||
[task setCurrentDirectoryPath: dir];
|
||||
}
|
||||
else
|
||||
{
|
||||
NSLog(@"Failed to write path '%@' (Home '%@') for %@",
|
||||
NSLog(@"Failed to access path '%@' (Home '%@') for %@",
|
||||
dir, home, name);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue