delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/23/10:43:13

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=rw3DzZ1rYUqfd+tsaK6q8FhBBmuUqnX99Ra+0j+mhNQXD4fWfyJrF
tGOMwLB+5uCJG3N8EohE5wQ4bT6mszK+t6keRAjrOQgFryYU6MuCzpOHF/rhOtCI
2X5yOZzNO4g+OXzkQH6+ihvONcBVsUVSbLeza0lwHDlFWMN8mfYDSc=
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=IVWKtxiePZH3arh1xK3J1BGhicg=; b=d1O2UEf76GwxqI/hpsGoOIBFI86a
IHYTME13l0GZwijFA1Dhgch+MMtnZEtATGvR4hAsPGCou2ZRN9LRiVPNe+ysGBcU
aFRp9vV3aoh36Tlgjbt7zDIJOM4VRD1Q3JXjqcm5QLzOsz+en0AR4kQpwEfYeY8b
O1EW+pO5gTi8UHM=
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.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Mon, 23 Feb 2015 16:42:54 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin64: Issue with sigaddset
Message-ID: <20150223154254.GU437@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <B7278424-8EBE-4119-9F02-F68CB98388A3 AT richelberger DOT com> <20150223124239 DOT GN437 AT calimero DOT vinschen DOT de> <6627A2BA-85A0-47F4-A8AC-BB8EC4A0D456 AT richelberger DOT com> <20150223140353 DOT GQ437 AT calimero DOT vinschen DOT de> <A1BD4B69-E09C-423B-8181-6C0ED9506B98 AT richelberger DOT com> <20150223150514 DOT GT437 AT calimero DOT vinschen DOT de> <69393947-C292-420D-B020-22238950B977 AT richelberger DOT com>
MIME-Version: 1.0
In-Reply-To: <69393947-C292-420D-B020-22238950B977@richelberger.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

--0WGqsT62A4RTsSXf
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Feb 23 10:25, Richard Elberger wrote:
> I think I did more than I needed to.  I extracted the inst package as
> well.
>=20
> 64-bit.  yeah I did the stupid thing of putting in x86 and ash=E2=80=99s
> inability to run (for rebase) let me know that I had screwed something
> up.
>=20
> I will follow your instruction below.  My fault for not backing up
> files beforehand - lesson learned.
>=20
> You may hear from me again soon - I have some weird problem with perl
> -w (other tests failing in core).  I need to use the =E2=80=98filetest
> =E2=80=9Cstrict=E2=80=9D=E2=80=99 pragma in order to get it to work since=
 that changes
> behavior to include ACL evaluation.  Basically it=E2=80=99s not treating
> someone in the Administrators group as a =E2=80=98rootish=E2=80=99 user. =
 i.e. if a
> file is 0444 and user A is in Administrators group, -w test fails.
> But under =E2=80=98filetest =E2=80=9Cstrict=E2=80=9D=E2=80=99 it passes. =
The queer thing here is that
> in perl, it seems I can open the file for writing even if -w fails.
> Anyways, it=E2=80=99s still not clear enough in my head to figure out if =
it=E2=80=99s
> cygwin or perl that needs to account for it.

This is a known perl problem, afaik, and not reported for the first
time.  It seems the -r/-w/-x tests check the file permissions returned
by stat(2), but they should test access based on the return value of
access(2) or faccessat(2) calls instead.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--0WGqsT62A4RTsSXf
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJU60p+AAoJEPU2Bp2uRE+gjScP/1i3x7oeGZDMbir1VTPDZYut
lG5BOJDk4oUccRlvPI6FQOhVKPyhlhPyBffrORc8Yf9smMxqxMC4JijWlLCFugj6
v/ZPqfujVQsXZirtaqeFLTZ+ceAui40IqA1nHohz3Y+AjiG/pV6gyl9dYDikhsGr
+1kUelelK08J4rTS+XuX8istMmWB75PEdeYcNXCYAxbunePY50D3nQQ3Y6DjkddA
CSAN+wFxpRQZZEYY5Ygxth4gdkpmBgiXyCvAeB8cYBXm9LfGaV2YPkEB8EUWvj4G
xD/+GXDaT6wzC3P6/vH5sG3QFtTQJPQvngpbStNjDhX5JxXjO23yLiI2SzEVMrH4
NQNPHsZMe96S34atENZ+aicO/LXlFteYZIlQ+RadHc+hWtevrg5uy5KGGYwxp9IU
90+xma6Kg4f4xU39IzhFCyvwm5YaH46LnNtBTCGkLj0Dtd4a0VrgU6GdLzo2+gaC
OoptFAZDDJO2GilfN9a95koQBEI1prVhdln4Isl3IMCdFAdAJQ3vRPTW2nph9eQZ
fyaVeuM2FAp40r/o+nsQ1LlwfJT0dB4vHot6/+O23B4tXZ3ND53+hs5fpu1k6GEl
wx6XR8oi3apF60CTqEHmPI+MQ68Ti4UmW+NzDm2kwqjcLk54vo1SIrf1DQxuuOEo
xsRG0zCE6VIxHW/Rr/vi
=wz6y
-----END PGP SIGNATURE-----

--0WGqsT62A4RTsSXf--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019