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]

privilege problem with permanent virtual drives defined as DOS devices


Hello,


a privilege problem occures with permanent virtual drives defined
as DOS devices.

$> uname -a
CYGWIN_NT-6.0 meow2 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin


when have defined dos devices to access a particular path as a 
permanent virtual drive in each session like the following example:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices]
"K:"="\\??\\C:\\\\oracle\\doc\\10.2\\doc"

no access is possible with a normal user or an admin user with a 
restricted token - only users with an elevated admin token can 
access it

if explicitly mounted a "No such file or directory" is issued when
trying to access the mount point via ls or df while not using an 
elevated admin token 

as normal user

$_%> df /k
df: `/k': No such file or directory
df: no file systems processed

as elevated admin

$_#> df /k
Filesystem           1K-blocks      Used Available Use% Mounted on
K:                   110687816  81352392  29335424  74% /k


if not explicitly mounted no cygdrive entry occures for such users 



this privilege problem didn't occure with version before 1.7

$> uname -a
CYGWIN_NT-6.0 meow2 1.5.24(0.156/4/2) 2007-01-31 10:57 i686 Cygwin



regards

kf

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