Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2010-12-08 13:24:20 +0300
committerCorinna Vinschen <corinna@vinschen.de>2010-12-08 13:24:20 +0300
commit7695120581f169fd34a47af3107a3974dace08ad (patch)
treee41cd77ff9d3e29bad8b15a3bb3c1d53003c48f7 /winsup/cygwin/sec_acl.cc
parent1dfc6c9535d28f8c7abf61502d36aa3b1cbd6f8f (diff)
* sec_acl.cc (getacl): Set DEF_CLASS_OBJ permissions to 07 instead
of 0777.
Diffstat (limited to 'winsup/cygwin/sec_acl.cc')
-rw-r--r--winsup/cygwin/sec_acl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/sec_acl.cc b/winsup/cygwin/sec_acl.cc
index 0c6586bff..24f2468be 100644
--- a/winsup/cygwin/sec_acl.cc
+++ b/winsup/cygwin/sec_acl.cc
@@ -394,7 +394,7 @@ getacl (HANDLE handle, path_conv &pc, int nentries, __aclent32_t *aclbufp)
{
lacl[pos].a_type = DEF_CLASS_OBJ;
lacl[pos].a_id = ILLEGAL_GID;
- lacl[pos].a_perm = S_IRWXU | S_IRWXG | S_IRWXO;
+ lacl[pos].a_perm = S_IROTH | S_IWOTH | S_IXOTH;
}
}
if ((pos = searchace (lacl, MAX_ACL_ENTRIES, 0)) < 0)