secmod client dir needs group write permissions
This commit is contained in:
parent
0d06ab5bb9
commit
ce4daddca0
@ -1549,7 +1549,8 @@ run (void *cls,
|
||||
}
|
||||
/* Set sticky group bit, so that clients will be writeable by the current service. */
|
||||
if (0 != chmod (client_dir,
|
||||
S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_ISGID))
|
||||
S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IWGRP | S_IXGRP
|
||||
| S_ISGID))
|
||||
{
|
||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||
"Can't set permissions for client directory (%s)\n",
|
||||
|
@ -1923,7 +1923,8 @@ run (void *cls,
|
||||
}
|
||||
/* Set sticky group bit, so that clients will be writeable by the current service. */
|
||||
if (0 != chmod (client_dir,
|
||||
S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_ISGID))
|
||||
S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IWGRP | S_IXGRP
|
||||
| S_ISGID))
|
||||
{
|
||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||
"Can't set permissions for client directory (%s)\n",
|
||||
|
Loading…
Reference in New Issue
Block a user