From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 98958 invoked by alias); 22 Aug 2018 13:37:50 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 98944 invoked by uid 89); 22 Aug 2018 13:37:48 -0000 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 Received: from mail-it0-f66.google.com (HELO mail-it0-f66.google.com) (209.85.214.66) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 22 Aug 2018 13:37:46 +0000 Received: by mail-it0-f66.google.com with SMTP id p81-v6so2943031itp.1 for ; Wed, 22 Aug 2018 06:37:46 -0700 (PDT) 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== Return-Path: Received: from [192.168.0.16] ([69.47.131.109]) by smtp.gmail.com with ESMTPSA id k18-v6sm526382iom.73.2018.08.22.06.37.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Aug 2018 06:37:44 -0700 (PDT) Subject: Re: gettext - acl tests - cygwin specific code path To: cygwin@cygwin.com References: <20968a92-9900-5fd0-807c-29facf8b84de@gmail.com> <05c3ca13-c103-ae7d-e727-a995a4cf5f66@gmail.com> <42935325.20180821231318@yandex.ru> <5f3f087a-bbf3-c99f-cdd2-ba876b09d876@gmail.com> <20180822081504.GG3348@calimero.vinschen.de> From: cyg Simple Openpgp: preference=signencrypt Message-ID: <9fe5a5a8-de22-b945-964d-ebbfa138a1a9@gmail.com> Date: Wed, 22 Aug 2018 22:36:00 -0000 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> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2018-08/txt/msg00295.txt.bz2 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