The BOINC-supplied function for creating the segment
sets it to 0660 permissions (see below, from graphics2_util.cpp).
Some projects may be using older code, or their own code, that uses 0666.
With the 0660, graphics apps will fail if the user running the Manager
is not in the same group as the user running the app.
-- David
void* boinc_graphics_make_shmem(const char* prog_name, int size) {
...
char shmem_name[MAXPATHLEN];
get_shmem_name(prog_name, shmem_name);
int retval = create_shmem_mmap(shmem_name, size, &p);
// make sure user/group RW permissions are set, but not other.
//
if (retval == 0) chmod(shmem_name, 0660);
...
}
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.