delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/06/24/06:36:50

DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 45OAamSS1763404
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=ZB6h6hTb
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0B47E3865487
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1719225407;
bh=fLr3m9VbR6sOvAUAXiYvW1NTfFQ4U7CaOZEsROLrZ2c=;
h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=ZB6h6hTb68SaO/vdw0+ZRE06ZfvYFlpZJ+rzcVxsCh4qRjsCwexg/8YjpDStpN4yg
xRouv7FGRQ2xmKXlfEAcWM1WafTHOtYcMuEvQ4CMEeRZhPn28uMBij1oyLjHscakBO
NOOjBYE19BlOBiPJdFDSpcS6TwdHHfV38hXZcbQU=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 04D763858D35
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 04D763858D35
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719225383; cv=none;
b=qZLqdhPJR/8iJfLllD0WOYK/wMn3L8yL8IufjjWaaZU6mKJHTX9HUIqkiYJRDjid4cwhP2m9smulLv3AEy26v0kKLOTT681sfXG754SvjVURiH77DIpFIRTfKaTjCIzdm8SWOajMKrYaw+KY1pLTkjNLaZJDqT3ajnihBxKKbxI=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1719225383; c=relaxed/simple;
bh=FMP8w1vaS+/cUbADFaUsu5qhoIbTB0fd0fl1J0D1CRI=;
h=MIME-Version:From:Date:Message-ID:Subject:To;
b=BUlnS9krP2iAozzaloSMxgDeHDCVsZTk+KugjYsBhOfVLCS01nYj0UT+Ct5t4WTiFv5+XLJAKEbRCY441OYCDbytiUAUM+mS3bre4OIlFJDzd50ESg/khCKRgq6sFCUt3vID4Xl/Ko+Xwkoh2uqLqfbs2Ib8ROh2ZnC8kRkCWQk=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1719225381; x=1719830181;
h=to:subject:message-id:date:from:mime-version:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=oUs6ozgJwm9buCMxlRBkpVRUxcqCFaceIWzLvgS0CE8=;
b=GjeQq/0c6sUlFNAeKWr9wgWt00qWAvdbjzIPIY1oUHjrYetr95C93Je37mUmh5CSiD
rPrSPHK26eDrDYlDO3WGir8fDpX6ka4Dfk0mrcEW3vmExsdDs/ZG1UfNY5tCJHtrKEzH
hZTUwT4CazC8P/Z46ra5mCTnuK+HsTP6RaBB9+teDnGtzZvU7aefgeL9ZGi9B71ydnOM
IYe+3WCh5yQZ2k8iHRICYWgZnf414G9AWzgZFG9D5oCDCucAm/yTDq/oWvTPo179MTJZ
NJrWDnXRcSX5Nc/U2UDO/kMObu0wvgPw6e2Q5IE+W5JfjBlRjsJXGDq78P7Zqsz95abo
R6Ng==
X-Gm-Message-State: AOJu0YxFtuIz/FUtkon642kuI4vj+1cxJ6jZUqIyRge4lggp89UXi2tD
JeQGFwU/1xHp2Aehx+L+5T3oiXJNEHNvz2TFPPwMNf3tg3j5+RlrnbyqJdsNcwr3Up083DShMsk
+qFk/oDi4Q67jPfe15jcg859uebH97fMH
X-Google-Smtp-Source: AGHT+IG0dYZBoJZ22AxRhl2jHO04BkrXDYcYKJELoROLcSOrFUJ/sMWlW0NdgofijHi6yPn/y+86Q5Bp7/W111Cndbo=
X-Received: by 2002:a05:6602:341d:b0:7ec:4c1:14fb with SMTP id
ca18e2360f4ac-7f3a7470f43mr487194639f.3.1719225380504; Mon, 24 Jun 2024
03:36:20 -0700 (PDT)
MIME-Version: 1.0
Date: Mon, 24 Jun 2024 12:35:54 +0200
Message-ID: <CAKAoaQnXQtxKpq31GqdPL3FPzoja5M82qn8_JYsguFeDDQFY-w@mail.gmail.com>
Subject: Missing "w" flag in Cygwin getfacl, while icacls shows "WD" (write
data) permission ?
To: cygwin AT cygwin DOT com
X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_20,
FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,
KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,
SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Roland Mainz via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Roland Mainz <roland DOT mainz AT nrubsig DOT org>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Hi!

----

Can anyone explain why (on a plain filesystem (not NFS, not NTFS)) we
get "user::r--" from /usr/bin/getfacl, while the Windows native
utility "icacls" clearly says the user has "WD" (write data)
attributes ?
---- snip ---
$ uname -a
CYGWIN_NT-10.0-19045 evil02 3.6.0-0.115.g579064bf4d40.x86_64
2024-04-09 21:11 UTC x86_64 Cygwin

$ touch test1.txt

$ icacls test1.txt
test1.txt ERSTELLER-BESITZER:(Rc,WDAC,S,RD,WD,AD,RA,WA)
          ERSTELLERGRUPPE:(Rc,S,RD,RA)
          Jeder:(Rc,S,RD,RA)

1 Dateien erfolgreich verarbeitet, bei 0 Dateien ist ein
Verarbeitungsfehler aufgetreten.

$ ls -l
total 0
-r--r--r-- 1 roland_mainz Kein 0 Jun 24 12:28 test1.txt

$ getfacl test1.txt
# file: test1.txt
# owner: roland_mainz
# group: Kein
user::r--
group::r--
other::r--
---- snip ---

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland DOT mainz AT nrubsig DOT org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)

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

- Raw text -


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