delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/14/23:30:49

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <08e601c22baf$f31ed330$2300a8c0@LAPTOP>
From: "Robert Collins" <robert DOT collins AT syncretize DOT net>
To: "Jehan" <nahor AT bravobrava DOT com>, <cygwin AT cygwin DOT com>,
"Randall R Schulz" <rrschulz AT cris DOT com>
References: <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020713194509 DOT 02bb9210 AT pop3 DOT cris DOT com> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020713204337 DOT 02acf938 AT pop3 DOT cris DOT com> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020713220237 DOT 02acf568 AT pop3 DOT cris DOT com> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020714200721 DOT 02c7b328 AT pop3 DOT cris DOT com>
Subject: Re: Permission denied on a windows share
Date: Mon, 15 Jul 2002 13:30:21 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

----- Original Message -----
From: "Randall R Schulz" <rrschulz AT cris DOT com>
To: "Jehan" <nahor AT bravobrava DOT com>; <cygwin AT cygwin DOT com>
Sent: Monday, July 15, 2002 1:19 PM
Subject: Re: Permission denied on a windows share


>
> [ I hope someone who understands these issues better than I do will
correct
> me if I'm mistaken and / or misleading Jehan... ]

Randall, you are correct. ntsec emulates POSIX permission bits AND their
behaviour based on the underlying NTFS ACL and owner information for a given
file and directory. The emulation is pessimistic on access - so if the NTFS
permissions allow slightly less than a certain POSIX permission requires,
then that POSIX permission is not available to cygwin programs.

If Jehan wants the NTFS ACL to be the final arbiter of access, then ntsec
must be disabled.

IIRC cygwin reports based on the NTFS permission, but actually tries before
failing... but I suspect it's not consistent across the board on this.

Rob


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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