delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/10/17:30:57

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <loom.20100310T231120-570@post.gmane.org>
References: <loom DOT 20100310T223730-987 AT post DOT gmane DOT org> <31b7d2791003101403t5ac23548m27dbc1e591ef1417 AT mail DOT gmail DOT com> <loom DOT 20100310T231120-570 AT post DOT gmane DOT org>
From: "DePriest, Jason R." <jrdepriest AT gmail DOT com>
Date: Wed, 10 Mar 2010 16:30:22 -0600
Message-ID: <31b7d2791003101430x182fa852w2e7737b1a3617f81@mail.gmail.com>
Subject: Re: setfacl fails to replace ACLs when given a pathname starting with a drive letter
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

> But it used to work. =A0I noticed this after updating to the latest relea=
se.
>
> If the drive-letter form of the pathname is not acceptable to the tool, it
> should complain, but (like most Cygwin utilities) it probably doesn't car=
e about
> the syntax of the pathname, as long as open(2) accepts it.
> --
> Fran

According to http://cygwin.com/cygwin-ug-net/using.html#using-pathnames,
Cygwin supports both Win32 and POSIX file paths and they are
translated internally on-the-fly as needed.

It also specifically mentions this:
"POSIX operating systems (such as Linux) do not have the concept of
drive letters. Instead, all absolute paths begin with a slash (instead
of a drive letter such as "c:") and all file systems appear as
subdirectories (for example, you might buy a new disk and make it be
the /disk2 directory)."

By the way, when you said "updating to the latest release" do you mean
you upgraded a 1.5 installation to 1.7.1 or a 1.7.1 to some newer
version of 1.7.1?

I ask because 1.5 stored mount table information in the Windows
registry and 1.7.x uses an /etc/fstab file which you can read about
here http://cygwin.com/cygwin-ug-net/using.html#mount-table and here
http://cygwin.com/cygwin-ug-net/using-utils.html#mount

-Jason

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

- Raw text -


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