mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-28 20:15:24 +08:00
* sec_acl.cc (get_posix_access): Fix class_perm in !new_style case.
This commit is contained in:
parent
5f1386dceb
commit
ca84d9b08f
@ -880,7 +880,8 @@ get_posix_access (PSECURITY_DESCRIPTOR psd,
|
||||
{
|
||||
lacl[pos].a_type = CLASS_OBJ;
|
||||
lacl[pos].a_id = ILLEGAL_GID;
|
||||
lacl[pos].a_perm = class_perm | lacl[1].a_perm;
|
||||
class_perm |= lacl[1].a_perm;
|
||||
lacl[pos].a_perm = class_perm;
|
||||
}
|
||||
/* For ptys, fake a mask if the admins group is neither owner nor group.
|
||||
In that case we have an extra ACE for the admins group, and we need a
|
||||
|
Loading…
x
Reference in New Issue
Block a user