delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/10/27/07:05:33

DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 49RB5XtD1453118
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=PXb8WEUB
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 662B03858C78
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1730027131;
bh=PdBKtnrvpXg3nrW+CiZdKofQ9/sfy2xl4gnlzscdk3c=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=PXb8WEUBE4SKjibvRTuYzR4wr+PDDdOthvZmGHeLdRuEmT7Zly4YPJ5KBOsQmECBU
4dp7QGR1+do0tA5JMD6BTNdYMU0m4ga/ucwkRtw6TsOm4dH1ZIruRyI1lxE+dnmHgM
CkZl00Xpyh/Z82YGUiDATHg1eQU4dDDUhNCqd7yg=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2AAE53858D26
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2AAE53858D26
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730027107; cv=none;
b=vksg9670frWZztyUqZHJgsj3yZL2kZzZKdd7QbtuDu9r3PO5d/RSub5G6eSF0WQDqBxZdouZSc3fpigsIWwUJHUbTMw+3CbL3yhhq5oq4X+MJ9RXhtpu1hZZMbRHMifE5m1LmClDBiE2vQzhet35eDD6qsmMwH+XsvjETHIk/4M=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1730027107; c=relaxed/simple;
bh=AEz6SArOyPs/hOrCFAX9G4BQvAnETDcX7x/cvi/mH4E=;
h=DKIM-Signature:Date:From:Message-ID:To:Subject:MIME-Version;
b=EkWQU9PNNpFOHLPE1q8BpF67325OvmInTvC0rJ5bWnT5YB83VRLRPM0qZaFXHPTeVDvP7s484/v243f4RokiWqoGmef7gWErCjab5jlix6GELjlk6DGupz1NroUEeOFsxTh/BA6XkMf0fxaq/Ny2sCTsAlQytXMO2pXf6gaNQOg=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Yandex-Fwd: 1
Date: Sun, 27 Oct 2024 13:59:29 +0300
X-Mailer: The Bat! (v9.3.4) Professional
Message-ID: <184942239.20241027135929@yandex.ru>
To: Sam Edge via Cygwin <cygwin AT cygwin DOT com>, cygwin AT cygwin DOT com
Subject: Re: Windows Server NFS, getfact not working on NFS
In-Reply-To: <2c04c342-0b4c-4f57-93ec-69b036cb794d@gmx.com>
References: <CANH4o6NU5w055spGMtCDipzsmHRON7X6F5eOJCdu8oSd1xD7Gg AT mail DOT gmail DOT com>
<1810170197 DOT 20241027120343 AT yandex DOT ru>
<2c04c342-0b4c-4f57-93ec-69b036cb794d AT gmx DOT com>
MIME-Version: 1.0
X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT,
NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,
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-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
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: Andrey Repin via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Andrey Repin <anrdaemon AT yandex DOT ru>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

Greetings, Sam Edge via Cygwin!

> On 27/10/2024 09:03, Andrey Repin via Cygwin wrote:
>> It will only work inside Cygwin root tree, or on mounts with "acl" flag.

> I beg to differ. I can read ACLs from a Linux Samba server without
> requiring an explicit 'acl' entry in /etc/fstab and from the default
> cygdrive NTFS automatic mounts as well.

That's because "acl" is the default. Which is, again, a bad idea in general.

> So there must be another reason why Cygwin is reporting his Windows NFS
> server shares as not supporting ACLs when mounting from Linux can see the ACLs.

No?

> $ mount
> C:/Users/ANRDAE~1/AppData/Local/Temp on /tmp type ntfs (binary,posix=0,usertemp)
> C:/Programs/Cygwin/bin on /usr/bin type ntfs (binary,auto)
> C:/Programs/Cygwin/lib on /usr/lib type ntfs (binary,auto)
> C:/Programs/Cygwin on / type ntfs (binary,auto)
> W: on /run type ntfs (binary,posix=0)
> C: on /mnt/c type ntfs (binary,noacl,posix=0,noumount,auto)
> D: on /mnt/d type ntfs (binary,noacl,posix=0,noumount,auto)
> E: on /mnt/e type ntfs (binary,noacl,posix=0,noumount,auto)
> F: on /mnt/f type ntfs (binary,noacl,posix=0,noumount,auto)
> Y: on /mnt/y type smbfs (binary,noacl,posix=0,noumount,auto)
> Z: on /mnt/z type smbfs (binary,noacl,posix=0,noumount,auto)
>
> $ ls -ld /etc/networks
> lrwxrwxrwx 1 anrdaemon Administrators 44 Jan 12  2024 /etc/networks ->
> /mnt/c/Windows/System32/drivers/etc/networks
>
> $ getfacl /etc /etc/networks
> # file: /etc
> # owner: anrdaemon
> # group: Administrators
> user::rwx
> group::r-x
> other::r-x
> default:user::rwx
> default:group::r-x
> default:other::r-x
>
> getfacl: /etc/networks: Not supported


> samedge AT gwaihir ~
> $ cat /etc/fstab
> none /cygdrive cygdrive binary,posix=0,user 0 0

> samedge AT gwaihir ~
> $ cat /proc/mounts
> C:/cygwin64/bin /usr/bin ntfs binary,auto 1 1
> C:/cygwin64/lib /usr/lib ntfs binary,auto 1 1
> C:/cygwin64 / ntfs binary,auto 1 1
> C: /cygdrive/c ntfs binary,posix=0,user,noumount,auto 1 1

> samedge AT gwaihir ~
> $ getfacl //bapple/video
> # file: //bapple/video
> # owner: Unix_User+0
> # group: Unix_Group+0
> user::rwx
> user:Unix_User+33:r-x
> group::r-x
> group:Unix_Group+33:r-x
> group:Unix_Group+100:r-x
> group:Unix_Group+121:rwx
> mask::rwx
> other::r-x
> default:user::rwx
> default:user:Unix_User+33:r-x
> default:group::r-x
> default:group:Unix_Group+33:r-x
> default:group:Unix_Group+100:r-x
> default:group:Unix_Group+121:rwx
> default:mask::rwx
> default:other::r-x

> samedge AT gwaihir ~
> $ getfacl /cygdrive/c/
> # file: /cygdrive/c/
> # owner: NT SERVICE+TrustedInstaller
> # group: NT SERVICE+TrustedInstaller
> user::---
> group::---
> group:Authenticated Users:---
> group:SYSTEM:rwx        #effective:r-x
> group:Administrators:rwx        #effective:r-x
> group:Users:r-x
> mask::r-x
> other::---
> default:user::---
> default:group::---
> default:group:Authenticated Users:rwx
> default:group:SYSTEM:rwx
> default:group:Administrators:rwx
> default:group:Users:r-x
> default:mask::rwx
> default:other::---



-- 
With best regards,
Andrey Repin
Sunday, October 27, 2024 13:47:56

Sorry for my terrible english...


-- 
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