delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/10/14/07:51:06

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5A7DE3840C36
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1602676228;
bh=iuIaNOjnpMdk6e4PI+nzOv6DUCadWx9R8zMQbq1uvgY=;
h=Date:From:To:Subject:References:In-Reply-To:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
Reply-To:From;
b=dLKQ/ZDKB7kCmcOF8K2/b7pTFjrTDTWhkI2E5qSICXjdbMTGwyuruMnX99A2tRJrl
SPdLOG54AFYDGQDCLsQFJJiWhX5TQxJKswkESTbMfjt3+qErswmemcmO0HVS8a7Twr
y312f/nuGzahV7bsSp+xqE7FvIKHz3y6c7a+nDz4=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org ECE973861812
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=cygwin.com
Authentication-Results: sourceware.org;
spf=fail smtp.mailfrom=corinna-cygwin AT cygwin DOT com
Date: Wed, 14 Oct 2020 13:50:21 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: test -r or -x always return false on an NFS mount?
Message-ID: <20201014115021.GC26704@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <d05f79db-5574-d408-28ce-7840cddff7ec AT emmenlauer DOT de>
<1279009444 DOT 20201006184606 AT yandex DOT ru>
<c5adbabd-f6c1-7a09-2af2-fdd819b76cdf AT emmenlauer DOT de>
<20201013183650 DOT GW26704 AT calimero DOT vinschen DOT de>
<2820bfde-68f4-e2f9-78c4-4174423a6213 AT emmenlauer DOT de>
<20201014082841 DOT GY26704 AT calimero DOT vinschen DOT de>
<8afea014-6e68-01ef-f6c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v/B+oIyAyJuL+RnJX9I83aq0r+ClOGqOiH4b8tXTK3Z9erzuxiqBNG5pI+Nyy5AV
DaZiTOUCTg1Awz2aaGlH++zS4V1U2nsKF35j8Jp1mCt7lLiQJj3TQ0rUy1D+2Y9vj+/oA4H1u
VfWHniL3RTlg3nG2j0I235SrqhZqoHfsqOYOu9+WCVRoIv3WzK8+KaVp5xYlgG4UMZTqERrrX
DUgrWypuaCU4QZYFcIyA==
X-Spam-Status: No, score=-100.2 required=5.0 tests=BAYES_00,
GOOD_FROM_CORINNA_CYGWIN, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS,
RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NEUTRAL,
TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
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>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On Oct 14 11:06, Mario Emmenlauer wrote:
> On 14.10.20 10:28, Corinna Vinschen wrote:
> > Actually, not really.  It's weird in fact, given ls(1) shows the
> > desired result.  That would point to a bug in access(2), but there's
> > no special code in access(2) for NFS.  For filesystems not supporting
> > ACLs (FAT, NFS, etc), it calls stat(2) and checks the st_mode bits
> > against the requested access(2) mode based on the uid/gid of the
> > caller, simple as that.
> 
> Hmm, now that you mention it, I just coincidentally found an issue
> with the `_stat` call in Microsoft Windows 2004 update. In the Apache

This is entirely unrelated.  We're talking about Cygwin stat(2),
not msvcrt.dll _stat().  Different source, different call.


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
--
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