Fixed a bug disabling the Posix ACLs

PERMISSION_HANDLING_BRANCH
jpandre 2010-01-21 18:44:31 +00:00
parent c8fa404931
commit d49ac7351c
1 changed files with 1 additions and 1 deletions

View File

@ -4392,7 +4392,7 @@ int main(int argc, char *argv[])
if (permissions_mode)
ntfs_log_info("%s, configuration type %d\n",permissions_mode,
4 + POSIXACLS*6 - KERNELPERMS*3 + CACHEING);
if ((ctx->secure_flags |= (1 << SECURITY_RAW))
if ((ctx->secure_flags & (1 << SECURITY_RAW))
&& !ctx->uid && ctx->gid)
ntfs_log_error("Warning : using problematic uid==0 and gid!=0\n");