Subject: Re: [PATCH]: setup.exe defaults install scope (was Re: mount points and inetd)
From: Earnie Boyd <[email-masked]>
To: Jason Tishler <[email-masked]>, DJ Delorie <[email-masked]>
Cc: [email-masked]
Date: Tue, 19 Sep 2000 12:18:00 -0700 (PDT)

--- Jason Tishler <[email-masked]> 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:[email-masked]>
            __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 [email-masked]