delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/27/10:27:50

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
Subject: RE: [Proposal] Moving user mount information to HKLM
From: Robert Collins <rbcollins AT cygwin DOT com>
To: Dan Vasaru <dvasaru AT broadpark DOT no>
Cc: cygwin AT cygwin DOT com
In-Reply-To: <CHEDKHJJDLOCCOFLMGEAAEMHCMAA.dvasaru@broadpark.no>
References: <CHEDKHJJDLOCCOFLMGEAAEMHCMAA DOT dvasaru AT broadpark DOT no>
Date: 28 Sep 2002 00:28:09 +1000
Message-Id: <1033136889.22922.286.camel@lifelesswks>
Mime-Version: 1.0

--=-u/SkK0yuQf2cbie0voMM
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sat, 2002-09-28 at 00:19, Dan Vasaru wrote:
>=20
> > On the user mount in HKLM idea, it's a no-goer. Normal users don't
> >  have write access to most of HKLM, on any partly-secure install
> > of NT (which is where the original posters issue arose).
>=20
> I may be wrong, but couldn't setup, or whoever creates the original
> HKLM/../cygwin key, set up the security attributes such that any
> authenticated user may write there ?
>=20
> > Secondly, there is a much more straightforward solution
> > for the poster:
> > use something like
> > mount $USERPROFILE$CYGHOME /home/$USER
>=20
> You mean creating permanent system mounts while running as administrator.=
 We
> tried that, and hit some upper mount limit in cygwin1.dll. Try it yoursel=
f:
>=20
> ~>for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24=
 25
> 26; do mount h: /home/user$i; done

Yes, it's limited to 30. See shared_info.h in the source.

This affects BOTH user and system mounts.

As a workaround you can hook the exiting of the login shell to unmount
the path when you're finished.

Hope that helps,
Rob
--=20
---
GPG key available at: http://users.bigpond.net.au/robertc/keys.txt.
---

--=-u/SkK0yuQf2cbie0voMM
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQA9lGr5I5+kQ8LJcoIRAvDmAJ9n+7bWeWyZ/ebUvj1jvO2KTDM06gCbBJ1J
gjdP6rv8JNXCvY480rqIAgg=
=riQ/
-----END PGP SIGNATURE-----

--=-u/SkK0yuQf2cbie0voMM--

- Raw text -


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