delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/01/25/17:52:27

From: noer AT cygnus DOT com (Geoffrey Noer)
Subject: Re: global mounts
25 Jan 1999 17:52:27 -0800 :
Message-ID: <19990125172807.C7135.cygnus.cygwin32.developers@cygnus.com>
References: <01BE483A DOT 5948D140 AT sos>
Mime-Version: 1.0
To: Sergey Okhapkin <sos AT prospect DOT com DOT ru>
Cc: "'cygwin32-developers AT cygnus DOT com'" <cygwin32-developers AT cygnus DOT com>

On Mon, Jan 25, 1999, Sergey Okhapkin wrote:
>
> 	(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?

I agree that non-administrator users should be able to inherit the
global mount table.  To fix the current sources, I just need to change
the access perms to read only when reading the global area, right?

-- 
Geoffrey Noer
noer AT cygnus DOT com

- Raw text -


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