www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=H1GJcNeZZDArergdiP0DCm8exwa8asUzv6tAFyQrxn4WSs5mjFUON | |
jjAFtpQ14mHywrml0vAam39vXyslZCAisssC493yVecB+AktiFU3ZuZSn4ZHDYdv | |
pJ1LhS61EwRC7nscbzMVeeHmQ+flWDWaKZK4LqijSYt74nu0uKpfCE= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=wljtXNcblfAUYpTcFoHURZIJZ1g=; b=q1qe8qtaS9rZZpg+JxiGY0MRWad8 | |
pBwLKv0sDLS3XK6yQHDzvza9ciA314S3yf2vUyARYLv5l3YpxRM1sPJY1mdbA78i | |
C/9DUFEdKHudPc+9X5UJ9779ipoHhPLWTmR3UIdTYOuybMxu2g6ggCDcCwZeUp3+ | |
Rw2N0Hbmy0ecFcA= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-5.0 required=5.0 tests=AWL,BAYES_20 autolearn=ham version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Sat, 28 Feb 2015 23:25:47 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Too Many Permissions Stripped In 1.7.35? |
Message-ID: | <20150228222547.GF11124@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <54F00036 DOT 8050509 AT gmail DOT com> <54F233D8 DOT 1040503 AT gmail DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <54F233D8.1040503@gmail.com> |
User-Agent: | Mutt/1.5.23 (2014-03-12) |
Note-from-DJ: | This may be spam |
--LCbsoPZWBRMqE7TI Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Feb 28 13:32, random user wrote: > The changes regarding the user SID =3D group SID case look generally good > to me. > Thanks for considering the idea. >=20 > I do wonder if it is best that the Everyone privileges would "leak" into = the > group permission mode/mask tho, either at the Posix or ACL levels. They > don't > seem to for user SID !=3D group SID, for those the oddball cases where > Everyone > has privileges the owner or group does not get a DENY in their ACL. They do: $ icacls xxx xxx VINSCHEN\corinna:(R,W) VINSCHEN\vinschen:(Rc,S,RA) Everyone:(RX,W) Successfully processed 1 files; Failed processing 0 files $ ls -l xxx -rwxrwxrwx 1 corinna vinschen 0 Feb 28 23:04 xxx > Perhaps more importantly than that topic: I've noticed what seems a new > issue in > the behavior of the user SID !=3D group SID case: >=20 > rm x > touch x # umask =3D 0077, user SID !=3D primary group SID > chmod 750 x > chmod -x x # gets chmod: x: new permissions are rw-r-x---, not rw-r----- This is perfectly fine, see the same sequence on Linux: $ uname -sr Linux 3.18.6-200.fc21.x86_64 $ umask 77 $ touch xxx $ ls -l xxx -rw------- 1 corinna vinschen 0 Feb 28 23:17 xxx $ chmod 750 xxx $ ls -l xxx -rwxr-x--- 1 corinna vinschen 0 Feb 28 23:17 xxx $ chmod -x xxx chmod: xxx: new permissions are rw-r-x---, not rw-r----- Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --LCbsoPZWBRMqE7TI Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJU8kBrAAoJEPU2Bp2uRE+gCqAP/RedOFz90E6T3WMf1hoXHaB8 QXhzCkyXVEWTMpZvls59lO3YH4ontmRnUQgro4ntGRzhcILS+ukEDELV8vB4JWl2 DfwFOWVChds+qJuQGyWYvk3MqRWY2XKhpOt2o0T3k/bPKpSBmW3JsLV3zo+OWL6p ULOeiHumxgwwt/rZVBfORwXlfq+nuUxVmaZ4Qu5FqdBUCl32BBQBMst9qa1RqhZJ KFdQgqJ4xXDnMMVhKIIuCGpROdunWH/yYJd+Il/wuzJiuOLgXunvOw/F8xsYfwxc 49AJlDUDnBeHR8sDlOhC2dfXzZwBZAlqQ62nPnKYazGyaylpxe6Cqd6VA5Mu9a4C fSU0pF92JKIxkD54ENe3VxzHfiyDEsx8BC7wLlGqvQiyVARLLJY8av/SVPZc7pTd x+NnqbGt6d5yWROqVg+ZnTwfYW/UMt94lLIXS7irN9kNeqa7+5QtD02vY9FYeoLA 7GQDbSUFf8xM3uuenc+WxfyMVJROVcI/3YS7v9R7vjNL0DvQ3pkmRQ/U5ZfP/pqz IlnuFHD5RiuaJM4hwKTgsnLi9nV5xlrYKwAzCv5IxJzbj0blLoADigtouUffzlNm WXaRdIba4ynW5vL8gpM4B/KdKLCZrcBGpxFFbhTYsX7EbG2W2RQm4BR6qREGS3zu /sFfIepRJ+U7+Kdw5Dbk =Iusq -----END PGP SIGNATURE----- --LCbsoPZWBRMqE7TI--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |