This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Incorrect permissions on mount point when user does not have permission to access mounted directory


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]