* sec_acl.cc (setacl): Always grant owner FILE_WRITE_ATTRIBUTES access.
This commit is contained in:
parent
c3470988cf
commit
c53c879db4
|
@ -1,3 +1,7 @@
|
||||||
|
2015-02-19 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* sec_acl.cc (setacl): Always grant owner FILE_WRITE_ATTRIBUTES access.
|
||||||
|
|
||||||
2015-02-18 Corinna Vinschen <corinna@vinschen.de>
|
2015-02-18 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* ldap.cc (struct cyg_ldap_search): Add scope member.
|
* ldap.cc (struct cyg_ldap_search): Add scope member.
|
||||||
|
|
|
@ -23,10 +23,15 @@ Bug Fixes
|
||||||
- Remove a debug message accidentally printed to the terminal window
|
- Remove a debug message accidentally printed to the terminal window
|
||||||
if an application calls fcntl(F_SETFL) erroneously.
|
if an application calls fcntl(F_SETFL) erroneously.
|
||||||
|
|
||||||
- Regression in 1.7.34: acl(SETACL, ...) overwrote the incoming acltent_t
|
- Two regressions in 1.7.34 acl(SETACL, ...):
|
||||||
array for bookkeeping purposes while iterating over its entries. This
|
|
||||||
broke reusing the acl in the calling application (e.g. setfacl).
|
- SETACL overwrote the incoming acltent_t array for bookkeeping purposes
|
||||||
Addresses: https://cygwin.com/ml/cygwin/2015-02/msg00304.html
|
while iterating over its entries. This broke reusing the acl in the
|
||||||
|
calling application (e.g. setfacl).
|
||||||
|
Addresses: https://cygwin.com/ml/cygwin/2015-02/msg00304.html
|
||||||
|
|
||||||
|
- SETACL accidentally missed to grant owner FILE_WRITE_ATTRIBUTES access.
|
||||||
|
Addresses: https://cygwin.com/ml/cygwin/2015-02/msg00457.html
|
||||||
|
|
||||||
- 64 bit: Export forgotten symbol __mempcpy.
|
- 64 bit: Export forgotten symbol __mempcpy.
|
||||||
Addresses: https://cygwin.com/ml/cygwin/2015-02/msg00394.html
|
Addresses: https://cygwin.com/ml/cygwin/2015-02/msg00394.html
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* sec_acl.cc: Sun compatible ACL functions.
|
/* sec_acl.cc: Sun compatible ACL functions.
|
||||||
|
|
||||||
Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
||||||
2011, 2012, 2014 Red Hat, Inc.
|
2011, 2012, 2014, 2015 Red Hat, Inc.
|
||||||
|
|
||||||
Written by Corinna Vinschen <corinna@vinschen.de>
|
Written by Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
@ -138,7 +138,8 @@ setacl (HANDLE handle, path_conv &pc, int nentries, aclent_t *aclbufp,
|
||||||
{
|
{
|
||||||
case USER_OBJ:
|
case USER_OBJ:
|
||||||
allow = &owner_allow;
|
allow = &owner_allow;
|
||||||
*allow = STANDARD_RIGHTS_ALL;
|
*allow = STANDARD_RIGHTS_ALL
|
||||||
|
| (pc.fs_is_samba () ? 0 : FILE_WRITE_ATTRIBUTES);
|
||||||
break;
|
break;
|
||||||
case GROUP_OBJ:
|
case GROUP_OBJ:
|
||||||
allow = &group_allow;
|
allow = &group_allow;
|
||||||
|
|
Loading…
Reference in New Issue