delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/08/22/09:38:01

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=L69877ygZ4ynQ1Bf
OEPHa3270Rv1dfaCUdrF/PQMAKDPpt/+mCL6Bx7d5edLPicdGcKH8Sz4kpx5Ky6T
TVHxVgk84oQrB5x9CBup4yd+d7DuYWGBuosXn0ZrDWDce8IHB3JJz//D3UJ20ufM
jWvmcPb2lB/Pgkfhny5Cz77Q0WE=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=/sPRYFtt2BFNDE8dzU6YWQ
pa7c0=; b=tEWzY/8CgEx+PzfEw5YsCYyRnW25qu0lbL+gGkzLLl+W9bsP/fpXyu
sMdG8pwBIQq+8sPjSTOEL+ags+mg7gk9nqkKJvJmgQo9VzHpLkRXFrz1rITc/Ut3
cZ5rK2grTACU2JHcyCeJkUR71wI7rHHQFm4xKFkW2B0PfSAr4vV2E=
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-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=
X-HELO: mail-it0-f66.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=M7iPYgGemQlwYFvYgdb1mltLQAH5W0JmbplbtG7NEKo=; b=tsl+1igwnS5Uw0Q8Eg5tc8dX7nceer3Rhwcv4nHTFPVIRjZ2dUYC+f1g80U+JVFcVu wUkxiuKIT5tSh0OhHyz20pIsh/+Af0GSjVhLKohFpqst97ZDL3vaRub1V/xv0YAX2bYO bIOzxtuh11tPvEA3Ry58nUUak6Z+JTohCBYsfTvjUQbjJx7mQngV/3hCJHxs7d5efS9O Ai5jADYU/oWeg8qCeytXSMLvdUBwbR81uFTw2MP6zeiaYZvafFeZhNQWiMjAbxs61eiE kJUk+dgnAObZDl1vmNIDetU+jwYRs9XIlJ/cy+l4DhM6oSaT3bAtA/hZUOP6xzV9Fzm7 nAww==
Subject: Re: gettext - acl tests - cygwin specific code path
To: cygwin AT cygwin DOT com
References: <20968a92-9900-5fd0-807c-29facf8b84de AT gmail DOT com> <05c3ca13-c103-ae7d-e727-a995a4cf5f66 AT gmail DOT com> <42935325 DOT 20180821231318 AT yandex DOT ru> <5f3f087a-bbf3-c99f-cdd2-ba876b09d876 AT gmail DOT com> <20180822081504 DOT GG3348 AT calimero DOT vinschen DOT de>
From: cyg Simple <cygsimple AT gmail DOT com>
Openpgp: preference=signencrypt
Message-ID: <9fe5a5a8-de22-b945-964d-ebbfa138a1a9@gmail.com>
Date: Wed, 22 Aug 2018 09:37:41 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <20180822081504.GG3348@calimero.vinschen.de>
X-IsSubscribed: yes

On 8/22/2018 4:15 AM, Corinna Vinschen wrote:
> On Aug 21 19:57, cyg Simple wrote:
>> On 8/21/2018 4:13 PM, Andrey Repin wrote:
>>> Greetings, cyg Simple!
>>>
>>>> During the testing at least one of the tests does `setfacl -m group:0:1
>>>> tmpfile0`.  Obviously this gets a 'permission denied' error as group 0
>>>> doesn't exist.  What do you suggest for reasonable replacement for 0?
>>>
>>> Nothing. Not all systems have a concept of "group 0". Just skip this test.
>>
>> I'm not interested in skipping the test; after all the path for the test
>> is Cygwin specific.  It's just not the correct thing to do for the
>> Cygwin specific path.  I believe 11 to be the correct test and will
>> pursue that upstream.  Marco suggested maybe 544(Administrator) but that
>> doesn't work with a typical user build while doing the same in Linux for
>> root group 0 as a typical user I would need to have elevated privilege
>> in Windows to use 544.
> 
> Exactly as on another system when using group 0.  If these tests are
> really only performed on Cygwin, I don't know what the creator intended.

Cygwin is treated specifically to do this instead of that.  As I review
more cases of the specifically treated Cygwin I think the tests are old
as setfacl options being used don't exist today.

> Otherwise, if you want to reproduce what the testcase did, you should in
> fact use an admin group.

That depends on the purpose of the test and based on the comments the
testing could use any group.  It should also check that the /tmp
filesystem can support ACL as it assumes /tmp to be locally mounted and
skip the testing if not.

-- 
cyg Simple

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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