Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: cygwin AT cygwin DOT com To: Baurjan Ismagulov cc: cygwin AT cygwin DOT com Subject: Re: user-specific mounts In-Reply-To: <20040513122250.GA13116@ata.cs.hacettepe.edu.tr> Message-ID: References: <20040513122250 DOT GA13116 AT ata DOT cs DOT hacettepe DOT edu DOT tr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 /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 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/