delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/24/06:17:43

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 24 Dec 2009 12:17:25 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Incorrect permissions on mount point when user does not have permission to access mounted directory
Message-ID: <20091224111725.GC30006@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <5ad9716ee2c6a1cd5e977ced71f35cd6 AT localhost>
MIME-Version: 1.0
In-Reply-To: <5ad9716ee2c6a1cd5e977ced71f35cd6@localhost>
User-Agent: Mutt/1.5.20 (2009-06-14)
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

On Dec 23 18:55, Chris January wrote:
> Hello,
> 
> I have drive I: mounted at /backup but the ACLs deny access to anyone not
> in the Administrators group. I am in the Administrators group, but running
> Windows 7 so I can only access the drive if I am running with elevated
> privileges. If I run Cygwin without elevated privileges and type ls -l
> /backup, Cygwin shows the following:
> 
> $ ls -l /backup
> -rw-r--r-- 1 Chris None 0 2006-12-01 00:00 /backup
> 
> i.e. Cygwin incorrectly reports the mount point is a regular file and not
> a directory.

I can reproduce it.  I'll see if I can come up with a patch for 1.7.2.


Thanks for the report,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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