delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/04/17:56:40

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,TW_LR,TW_RW,TW_WX,TW_XR,UNPARSEABLE_RELAY
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: DzN7F3yswBBMJSmyo_KI_BD68REzNIXT8SDFNqKe4s2P
Message-ID: <4BB90AE8.6020804@whack.org>
Date: Sun, 04 Apr 2010 14:55:52 -0700
From: Peter Wohlers <pedro AT whack DOT org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: 1.7 setup.exe overwrites softlink for home
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

Since upgrading to 1.7, I keep seeing weird problems with deletion of my 
homedir symlink.

Before running setup:
pwohlers AT h1n1 ~
$ ll /
total 172
-rwxr-xr-x   1 root             62 2010-02-13 09:53 Cygwin.bat
-rw-r--r--   1 root           7022 2010-02-13 09:53 Cygwin.ico
drwxr-xr-x+  1 root         131072 2010-04-03 18:05 bin
lrwxrwxrwx   1 Domain Users     11 2010-02-15 01:32 c -> /cygdrive/c
dr-xr-xr-x   5 Domain Users      0 2006-11-30 16:00 cygdrive
lrwxrwxrwx   1 Domain Users     11 2010-02-15 01:32 d -> /cygdrive/d
drwxrwxr-x+  1 Domain Users      0 2010-02-13 09:49 dev
drwxr-xr-x+  1 root          12288 2010-04-03 18:06 etc
lrwxrwxrwx   1 Domain Users     18 2010-04-04 14:31 home -> 
/cygdrive/d/Users/
drwxr-xr-x+  1 root          12288 2010-04-03 18:05 lib
dr-xr-xr-x  11 Domain Users      0 2006-11-30 16:00 proc
drwxr-xr-x+  1 root              0 2010-02-13 17:08 sbin
drwxrwxrwt+  1 root              0 2010-04-04 14:30 tmp
drwxr-xr-x+  1 root           4096 2010-04-03 18:04 usr
drwxr-xr-x+  1 root           4096 2010-04-03 18:06 var

pwohlers AT h1n1 ~
$

After running setup:

Copying skeleton files.
These files are for the user to personalise their cygwin experience.

They will never be overwritten nor automatically updated.

`./.bashrc' -> `/home/pwohlers//.bashrc'
`./.bash_profile' -> `/home/pwohlers//.bash_profile'
`./.inputrc' -> `/home/pwohlers//.inputrc'

pwohlers AT h1n1 ~
$ pwd
/home/pwohlers

pwohlers AT h1n1 ~
$ uname -a
CYGWIN_NT-6.1-WOW64 h1n1 1.7.2(0.225/5/3) 2010-03-24 21:12 i686 Cygwin


Setup seems to have deleted the softlink for /home

Interestingly enough, the other softlinks mapping /cygdrive/c/ and 
/cygdrive/d/ to /c and /d respectively don't seem to get overwritten.

Deleting /home and re-linking works fine until the next time I run setup.

Is there something magical about the /home symlink that now needs to be 
handled with fstab?  Or is it something else?

didn't see much in mailing list archives or docs.

Any insight appreciated.

Thanks,
Peter Wohlers





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