delorie.com/archives/browse.cgi | search |
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:to:from:subject:date:message-id:references | |
:mime-version:content-type:content-transfer-encoding; q=dns; s= | |
default; b=BYRJBTH4VCwkUzDYsgdPvAGAp2pz7cWeNP8b2HCo5DZhnZi9ebp7D | |
+9Rx4E0O9jnn53UQgJBE+87xocjJ9VORL95Nk+mK2kQhXROBo8Sgn6PsOszNKHUK | |
Vm0lzzLoJTPGGdnjEKxV38gvpfvallgXmUvTZs0NmBJ7zNGbj4OtAk= | |
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:to:from:subject:date:message-id:references | |
:mime-version:content-type:content-transfer-encoding; s=default; | |
bh=nTOOof2lL06H2c3a8Q3D2pCcVb0=; b=gF4bSd9CDs1nicT7hnQyppKGlW5S | |
I3n/Rmh5eXKLwxsAyBtgJafrgk/Efc/EuS24CPKLYlvG6uZv/jSBqkoq6WuUUuVl | |
rSjnJxRJBAty2cOEtHLJVwDrbqtHGMs04Nc4Cs+pMe/iGtEZtERNLDr2f0mbUXPG | |
oA0FX9oAJyf4BJ0= | |
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-Spam-SWARE-Status: | No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=H*r:Unknown, yours |
X-HELO: | blaine.gmane.org |
To: | cygwin AT cygwin DOT com |
From: | Andrew Schulman <schulman DOT andrew AT epa DOT gov> |
Subject: | Re: Fish shell fails with PermissionDenied on rename file, if Cygwin home directory is a Junction. |
Date: | Tue, 11 Sep 2018 11:50:15 -0400 |
Lines: | 24 |
Message-ID: | <8lofpdpcl4quigtvebs6fh8shk0lgmiieb@4ax.com> |
References: | <5b92d157 DOT 1c69fb81 DOT 18fb3 DOT aaac AT mx DOT google DOT com> <025dpdl6cam8kkcq4s21nr4lbqhqrdudrn AT 4ax DOT com> <e9b2ad12-1063-e07e-1b7e-0ef0de1bccd9 AT gmail DOT com> |
Mime-Version: | 1.0 |
X-IsSubscribed: | yes |
> On 9/10/2018 12:06 PM, Andrew Schulman wrote: > >> This report originates from a ticket created on Fish Github account here: https://github.com/fish-shell/fish-shell/issues/2590 > >> The issue is, that for some reason, running fish shell fails with PermissionDenied error if the home directory is a Windows Junction. > > > > Unfortunately I don't know how to help with this. fish works fine except in > > this case where the directory ~/.config/fish is somewhere under a Windows > > junction. Since I don't know how to solve that, I asked Marcin to report > > the problem here. > > > > A windows `junction` and not a `symlink`? They're not the same thing. Note that I'm not the one who has this problem, but my understanding is that it happens when the ~/.config/fish is somewhere under a Windows junction, not a symlink. > If you truly mean `junction` then the issue is yours to fix. It's true that the user could avoid the problem by changing their file systems so that ~/.config/fish isn't under a junction point. But I don't think they should have to do that. To me it seems like a bug that rename2() is failing when the target file is under a junction point. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |