mirror of https://github.com/BOINC/boinc.git
Mac sandbox: Don't check permissions of project-created subdirectories under project or slot directories
svn path=/trunk/boinc/; revision=25261
This commit is contained in:
parent
ff7fcb293a
commit
a2c94a7b83
|
@ -513,7 +513,12 @@ static int CheckNestedDirectories(char * basepath, int depth,
|
||||||
static int errShown = 0;
|
static int errShown = 0;
|
||||||
|
|
||||||
dirp = opendir(basepath);
|
dirp = opendir(basepath);
|
||||||
if (dirp == NULL) { // Should never happen
|
if (dirp == NULL) {
|
||||||
|
// Ideally, all project-created subdirectories under project or slot
|
||||||
|
// directoriesshould have read-by-group and execute-by-group permission
|
||||||
|
// bits set, but some don't. If these permission bits are missing, the
|
||||||
|
// project applications will run OK but we can't access the contents of
|
||||||
|
// the subdirectory to check them.
|
||||||
strlcpy(full_path, basepath, sizeof(full_path));
|
strlcpy(full_path, basepath, sizeof(full_path));
|
||||||
if ((depth > 1) && (errno == EACCES)) {
|
if ((depth > 1) && (errno == EACCES)) {
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue