Commit 8aa107f8 authored by Bachelot Xavier's avatar Bachelot Xavier
Browse files

Fix file/dir group check

No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
...@@ -204,7 +204,7 @@ class Setup extends Cli\LdapApplication ...@@ -204,7 +204,7 @@ class Setup extends Cli\LdapApplication
/* extract the owner and the group of the directory */ /* extract the owner and the group of the directory */
$pwuid = posix_getpwuid($lstat['uid']); $pwuid = posix_getpwuid($lstat['uid']);
$grgid = posix_getpwuid($lstat['gid']); $grgid = posix_getgrgid($lstat['gid']);
if (($pwuid === FALSE) || ($grgid === FALSE)) { if (($pwuid === FALSE) || ($grgid === FALSE)) {
throw new \Exception('Unable to read '.$dir.' ownership information'."\n"); throw new \Exception('Unable to read '.$dir.' ownership information'."\n");
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment