delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/13/13:52:43

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 13 May 2004 13:50:33 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Baurjan Ismagulov <ibr AT ata DOT cs DOT hun DOT edu DOT tr>
cc: cygwin AT cygwin DOT com
Subject: Re: user-specific mounts
In-Reply-To: <20040513122250.GA13116@ata.cs.hacettepe.edu.tr>
Message-ID: <Pine.GSO.4.56.0405131348100.16639@slinky.cs.nyu.edu>
References: <20040513122250 DOT GA13116 AT ata DOT cs DOT hacettepe DOT edu DOT tr>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Thu, 13 May 2004, Baurjan Ismagulov wrote:

> Hello,
>
> this subject was discussed a lot before, but I couldn't find a solution
> to my specific problem.
>
> Basically, I want that my services started as SYSTEM see c:\opt\c as
> root, and I see c:\cygwin as user ibr. To do this, I copied the mount
> entries from HKLM to HKCU and modified them accordingly. The services
> continue to see c:\opt\c as root. However, when I start bash as ibr, I
> still see c:\opt\c as my root. So, is it possible to do that, and if
> yes, how?
>
> Thanks in advance,
> Baurjan.

Create a system-owned shell (via "at <curtime+1> /interactive bash -i")
and use "mount" to set up user mounts for the user "system".  You may need
to remove the system mounts altogether, and just create user mounts for
every potential Cygwin user, although the user mounts *should* take
precedence over the system ones.

BTW, your report would have benefited *a lot* from you following the
Cygwin problem reporting guidelines at <http://cygwin.com/problems.html>
and attaching your cygcheck output...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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