This is the mail archive of the
mailing list for the Cygwin project.
Re: 1.7 setup.exe overwrites softlink for home
- From: Peter Wohlers <pedro at whack dot org>
- To: cygwin at cygwin dot com
- Date: Tue, 06 Apr 2010 13:43:52 -0700
- Subject: Re: 1.7 setup.exe overwrites softlink for home
- References: <email@example.com>
OK. Just curious as this seems to be a departure from previous versions'
behaviors, so I wasn't sure if this was something new to 1.7, or merely
Tue, 6 Apr 2010 10:28:51 +0200
On Apr 4 14:55, Peter Wohlers wrote:
Since upgrading to 1.7, I keep seeing weird problems with deletion
of my homedir symlink.
Before running setup:
$ ll /
lrwxrwxrwx 1 Domain Users 18 2010-04-04 14:31 home ->
After running setup:
Setup seems to have deleted the softlink for /home
Well... yes. That's probably a bit unfortunate. The current mechanism
always creates a couple of directories if they don't already exist:
If the directory couldn't be created because a non-directory file uses
the same name, it deletes that file and tries to create the directory
again. It's not perfect, but at least we know that the directories
exist, afterwards. We could add a mode which drops the aggressive
creation strategy, but I only see that *could* make sense for home.
Thanks for validation of workaround.
Is there something magical about the /home symlink that now needs to
be handled with fstab? Or is it something else?
Nothing "magic", it's just the current state of affairs. Creating a
/home mount point is certainly a good workaround, and it should even be
a bit faster than a symlink.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple