delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/04/23:34:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.0.1.1.0.20040204232622.039ab550@127.0.0.1>
X-Sender:
Date: Wed, 04 Feb 2004 23:33:20 -0500
To: cygwin AT cygwin DOT com, Larry on CYGWIN <cygwin AT cygwin DOT com>
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: cannot run POPFile with cygrunsrv anymore
In-Reply-To: <1663743554.20040205020230@thequod.de>
References: <344534526 DOT 20040204150741 AT thequod DOT de> <1616465785 DOT 20040204160848 AT thequod DOT de> <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040204111509 DOT 039b6fd8 AT 127 DOT 0 DOT 0 DOT 1> <718148777 DOT 20040204174641 AT thequod DOT de> <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040204142132 DOT 039b5f68 AT 127 DOT 0 DOT 0 DOT 1> <1663743554 DOT 20040205020230 AT thequod DOT de>
Mime-Version: 1.0

At 08:02 PM 2/4/2004, dAniel hAhler you wrote:
>Hello cygwin-list,
>
>on Wed, 04. Feb 2004 at 14:24:36 -0500 Larry Hall wrote:
>
>L> Services don't work if you install Cygwin as "Just Me". Either
>L> rerun setup.exe and choose "All Users" or remount your "user"
>L> mounts as "system" (see 'man mount').
>
>That's a very good hint!
>
>I tried the second approach, and now have:
>----->8--------------------------------------------------------
>$ mount
>d:\cygwin\bin on /usr/bin type system (binmode)
>d:\cygwin\lib on /usr/lib type system (binmode)
>d:\cygwin on / type system (binmode)
>a: on /cygdrive/a type system (binmode)
>c: on /cygdrive/c type system (binmode)
>d: on /cygdrive/d type system (binmode)
>e: on /cygdrive/e type system (binmode)
>----->8--------------------------------------------------------
>
>and after deleting /var/log/popfile.log (which had no permissions for
>SYSTEM), it now works..


Excellent!


>If I understood correctly, the mount settings are stored in registry
>and so I do not have to put anything into /etc/profile or sth?!


I never mentioned anything about where the mount settings are stored.
Their storage location is completely inconsequential overall.  It just
so happens that, at the moment (and for many moments in the past ;-) ),
mount information is stored in the registry.  This will not be true in 
the future.  This is why I pointed you to the 'mount' command.  It 
queries and manipulates the mount settings from the command line 
irrespective of where the data is stored.  So, to answer your question 
about whether something needs to be added to /etc/profile relative to
your original inquiry, the answer is "no".


>Thank you!


You're welcome.  Glad I could help.


>btw: what would be changed, when running cygwin-setup.exe and going
>from "Installed for Just Me" to "All Users"?


What changed is the mount type for the default mount points created by
setup.exe.  They changed from "user" to "system".  This means the mount
points are no longer user-specific but available to all users (including
SYSTEM).



--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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