| 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:subject:to:references:from:message-id:date | |
| :mime-version:in-reply-to:content-type | |
| :content-transfer-encoding; q=dns; s=default; b=F1xYxs3gTGerr/kl | |
| e4kHt5SNDzp/Ouh7bq1YhGoGXRwtmAlcCSMqeLYrnc4ywLqMEHwrfkzEcYjbtiKE | |
| 8MLHmOIoNWpV2Q0cndiLWz/cZjy/qmB+m+ejrkQMjL93oduG6Ck+2hOpXb1Y4MnA | |
| qrDfowd3y1lapWr80/ec/D6Ap60= | |
| 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=/uKCucjzpSiQq3lTBlWDk2 | |
| cFmHE=; b=anV0KBrL4ECe0C8K21dh2ah4sAsQt5Nd7gybry2lrDIbC2Plm3/Vq6 | |
| TCzIDH1ttAoNNITpFew+HvtTV2ZDC3aRWTCNVN25qkSN8RQBYJZWJ9Eu299IEJrn | |
| m5GMMJZ4phWY4f0Yd4UvTkRcAUASGxQ4m67+YYyqS/PDmKNJDTCFM= | |
| 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=-6.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:3141 |
| X-HELO: | mail-it0-f67.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=auro/iSp9Ku0qxnxFDKNn7yajgS3HsyFfNutsi46RwU=; b=OnVR9RIha0bnJoOavY/L+Rv/eGKLROiVw3Qso43nXINrmg00o/s6Jq7CW2ililAr4o +XEptnfzd0ycLRZIfEk+fpzCF3uZBurc7+hUxb/qi/0ComNGn0UnZNcIiGoOjKjqpzgw KKd/u7J5Hwav3I3pmwwGyiQjIm7mSmbsHTR3lWcq0fr+g0y9JoBy1irtk9KAivQsYI8C ubeM2nU2Hpb2m9laDlJ0IcKULVVVZEqxfpXNlPPDifHLYNTYdnShDp4G9eEBF8TLKSMC rfLjAKLh5DwZ2q/jzTfC4mZ2RpzEoj4SppB9XBCDrGoPL7j2rQIM1+1VYUTOK9QWM2s5 y+Gw== |
| 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> <20180822081308 DOT GF3348 AT calimero DOT vinschen DOT de> |
| From: | cyg Simple <cygsimple AT gmail DOT com> |
| Openpgp: | preference=signencrypt |
| Message-ID: | <2efd98ab-fa5c-8caa-db45-01736b9fdcbd@gmail.com> |
| Date: | Wed, 22 Aug 2018 09:49:40 -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: | <20180822081308.GF3348@calimero.vinschen.de> |
| X-IsSubscribed: | yes |
On 8/22/2018 4:13 AM, Corinna Vinschen wrote:
> On Aug 21 11:52, cyg Simple wrote:
>> I've been reviewing the testing of gettext and I have a failure for all
>> of the acl tests. I've found that a file without acl will obtain acl if
>> the mode is changed to 605. STC below.
>>
>> <STC>
>> $ touch /tmp/tmpfile0
>> $ ls -l /tmp/tmpfile0
>> -rw-r--r-- 1 myUser myGroup 0 Aug 21 11:35 /tmp/tmpfile0
>> $ getfacl /tmp/tmpfile0
>> # file: /tmp/tmpfile0
>> # owner: myUser
>> # group: myGroup
>> user::rw-
>> group::r--
>> other:r--
>> $ chmod 600
>> $ ls -l /tmp/tmpfile0
>> -rw------- 1 myUser myGroup 0 Aug 21 11:35 /tmp/tmpfile0
>> $ getfacl /tmp/tmpfile0
>> # file: /tmp/tmpfile0
>> # owner: myUser
>> # group: myGroup
>> user::rw-
>> group::---
>> other:---
>> $ chmod 605
>> $ ls -l /tmp/tmpfile0
>> -rw----r-x+ 1 myUser myGroup 0 Aug 21 11:35 /tmp/tmpfile0
>> $ getfacl /tmp/tmpfile0
>> # file: /tmp/tmpfile0
>> # owner: myUser
>> # group: myGroup
>> user::rw-
>> group::---
>> other:r-x
>> user:myUser:---
>> </STC>
>
> I just tried this and I can not reproduce the result. I used your above
> testcase with fixed chmod invocations. Eventually:
>
> [...]
> $ chmod 605 /tmp/tmpfile0
> $ ls -l /tmp/tmpfile0
> -rw----r-x 1 corinna vinschen 0 Aug 22 09:44 /tmp/tmpfile0
> $ getfacl /tmp/tmpfile0
> # file: /tmp/tmpfile0
> # owner: corinna
> # group: vinschen
> user::rw-
> group::---
> other::r-x
>
> Please retry all steps and add the cacls output after each getfacl
> output. Additionally it might be important to see the permissions
> of your /tmp dir (ls, getfacl and cacls). Mine has the typical
> 01777 perms. For testing I also created tmpfile0 in a directory
> with perms 0755, but the outcome was the same, as above.
>
> Here are my tmpfile0 perms in cacls output, btw., for comparison:
>
> $ cacls C:/cygwin64/tmp/tmpfile0
> C:\cygwin64\tmp\tmpfile0 NULL SID:(DENY)(special access:)
> READ_CONTROL
>
> MYDOMAIN\corinna:(DENY)(special access:)
> FILE_EXECUTE
>
> MYDOMAIN\corinna:(special access:)
> STANDARD_RIGHTS_ALL
> DELETE
> READ_CONTROL
> WRITE_DAC
> WRITE_OWNER
> SYNCHRONIZE
> STANDARD_RIGHTS_REQUIRED
> FILE_GENERIC_READ
> FILE_GENERIC_WRITE
> FILE_READ_DATA
> FILE_WRITE_DATA
> FILE_APPEND_DATA
> FILE_READ_EA
> FILE_WRITE_EA
> FILE_READ_ATTRIBUTES
> FILE_WRITE_ATTRIBUTES
>
> MYDOMAIN\vinschen:(special access:)
> READ_CONTROL
> SYNCHRONIZE
> FILE_READ_ATTRIBUTES
>
> MYDOMAIN\vinschen:(DENY)(special access:)
> FILE_READ_DATA
> FILE_READ_EA
> FILE_EXECUTE
>
> Everyone:R
C:\opt\cygwin64\tmp\tmpfile0 CYGHOST\cygSimple:(special access:)
STANDARD_RIGHTS_ALL
DELETE
READ_CONTROL
WRITE_DAC
WRITE_OWNER
SYNCHRONIZE
STANDARD_RIGHTS_REQUIRED
FILE_GENERIC_READ
FILE_GENERIC_WRITE
FILE_READ_DATA
FILE_WRITE_DATA
FILE_APPEND_DATA
FILE_READ_EA
FILE_WRITE_EA
FILE_READ_ATTRIBUTES
FILE_WRITE_ATTRIBUTES
CYGHOST\cygSimple:(special access:)
READ_CONTROL
SYNCHRONIZE
FILE_GENERIC_READ
FILE_READ_DATA
FILE_READ_EA
FILE_READ_ATTRIBUTES
Everyone:(special access:)
READ_CONTROL
SYNCHRONIZE
FILE_GENERIC_READ
FILE_READ_DATA
FILE_READ_EA
FILE_READ_ATTRIBUTES
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |