[PATCH]: setup.exe defaults install scope (was Re: mount points and inetd)

Earnie Boyd earnie_boyd@yahoo.com
Tue Sep 19 12:18:00 GMT 2000


--- Jason Tishler <Jason.Tishler@dothill.com> wrote:
-8<-
>  static void
>  read_mount_table ()
>  {
> @@ -83,7 +137,7 @@ read_mount_table ()
>        windir[2] = 0;
>        root_dir = concat (windir, "\\cygwin", 0);
>        root_text = IDC_ROOT_BINARY;
> -      root_scope = IDC_ROOT_USER;
> +      root_scope = (is_admin()) ? IDC_ROOT_SYSTEM : IDC_ROOT_USER;
>      }
>  }
>  

Of course you did test this patch, correct?  What happens if I with
administrator privileges have my mounts in IDC_ROOT_USER and not
IDC_ROOT_SYSTEM?  Shouldn't it default to what is already setup in the mount
tables?

Cheers,

=====
--- < http://earniesystems.safeshopper.com > ---
   Earnie Boyd: < mailto:earnie_boyd@yahoo.com >
            __Cygwin: POSIX on Windows__
Cygwin Newbies: < http://gw32.freeyellow.com/ >
           __Minimalist GNU for Windows__
    Mingw Home: < http://www.mingw.org/ >

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list