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 Content-Type: text/plain; charset=us-ascii To: Sergey Okhapkin Cc: "'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