delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/01/25/05:21:45

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: global mounts
25 Jan 1999 05:21:45 -0800 :
Message-ID: <01BE483A.5948D140.cygnus.cygwin32.developers@sos>
To: "'cygwin32-developers AT cygnus DOT com'" <cygwin32-developers AT cygnus DOT com>

Hi!

Sat Jan 16 21:59:36 1999 Geoffrey Noer <noer AT cygnus DOT com>

	(mount_info::read_mounts): Remove unneeded access argument. Use 
RegEnumKeyEx to enumerate mount points in 	current registry location where 
each key name returned is a posix_path mount location. Use a subkey reg_key 
to 	read the posix_path's corresponding native_path and flags.
	(mount_info::from_registry): Access HKEY_LOCAL_MACHINE registry with full 
access privs (which will fail if 	not administrator).

Now non-administrator users will not inherit global mount table... Do you 
remember _WHY_ I introduced global mount table?

--
Sergey Okhapkin, http://www.lexa.ru/sos
Piscataway, NJ


- Raw text -


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