delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/11/11/01:19:32

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; q=dns; s=default; b=X2v+4TocKEWt1VlVY70NtUmc2r48
asAjeYgkHazSmwoz1DumkAb+mMIaTNbvIDTln3oB7BXe2q91LjTVhUc4vlDQfRdx
olNVaianwZ5FbKEhtCEgrmcBa+Br8NxA/uFrUaMaogEyAbLjyl7kPnp0RX6oaAHg
JP7UeWMzZfTZ1vg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; s=default; bh=/ZwRd1DBn+CAwCCRC6IlPi8u5Gk=; b=Rr
VdVtQgfHhPRt0bir4OnO+M7lLwYFUTnjjfHTZ6BDVTufq3uZKI88HG5cnjs2hLUp
ou09M4PxnFDX1r5vqWqc4xoadsOTwAWUhZ6hkmFDlqeyzC7FrsG10+5cV8QXGKiu
XaJlF9bbVm1pl+yNsFC+74JGWfBr4ULz56jskUu5o=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_20,RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: etr-usa.com
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
Subject: Re: RFC: 1.7.33 problem with user's home directory
From: Warren Young <warren AT etr-usa DOT com>
In-Reply-To: <54616884.7010407@secure-endpoints.com>
Date: Mon, 10 Nov 2014 23:19:33 -0700
Message-Id: <C49B6AFD-BB1A-46CA-9D08-2D59B904DB46@etr-usa.com>
References: <20141110205216 DOT GJ2782 AT calimero DOT vinschen DOT de> <54616884 DOT 7010407 AT secure-endpoints DOT com>
To: cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id sAB6JS2v030333

On Nov 10, 2014, at 6:38 PM, Jeffrey Altman <jaltman AT secure-endpoints DOT com> wrote:

> My personal preference would be for the Cygwin Home directory to be
> created under
> 
>  %HOMEPATH%\AppData\Roaming\Cygwin

That’s certainly the way you’re *supposed* to do it on Windows.

There’s some value in using %USERPROFILE% for this, however:

1. c:\Users\ShortName is directly analogous to /home/shortname on Linux or /Users/ShortName on OS X.

2. Recent versions of Windows have given up on the “My” prefix for the main directories within your user profile directory which happens to make them match the scheme used on Ubuntu, Fedora, OS X, etc.  Finger memory like “cd ~/Desktop” will serve you better if Cygwin doesn’t bury the user directory underneath AppData somewhere.

You can paper over #2 with symlinks, of course, as I already do while using the current c:\cygwin\home scheme.  It would just be nice to avoid the need to create those symlinks.  Symlinks don’t always behave exactly the same as real directories, for one thing.
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


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