delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/23/13:55:55

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
To: <cygwin AT cygwin DOT com>
Subject: Incorrect permissions on mount point when user does not have permission to access mounted directory
MIME-Version: 1.0
Date: Wed, 23 Dec 2009 18:55:37 +0000
From: Chris January <chris AT atomice DOT net>
Message-ID: <5ad9716ee2c6a1cd5e977ced71f35cd6@localhost>
X-Sender: chris AT atomice DOT net
User-Agent: RoundCube Webmail/0.3.1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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.

$ mount
C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
C:/cygwin on / type ntfs (binary,auto)
I: on /backup type unknown (binary,noacl)
C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)

$ uname -a
CYGWIN_NT-6.1 bonsai 1.7.0(0.218/5/3) 2009-12-04 17:08 i686 Cygwin

Chris

-- 
http://www.atomice.com


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