This does not seem to be ACL / access issue, or at least not for any other tools I use, and I use Cygwin in this setup for years. I can manually rename the files using `mv`. We have „not a symlink” response, followed by a failing rename call.Īll other Cygwin tools work correctly. The bigger trace is available here: and contains the whole `strace` log up to the point when it just starts logging identical errors.Ħ4 381028 fish 2084 mount_info::conv_to_win32_path: conv_to_win32_path (/home/marcin/.config/fish)Ħ4 381092 fish 2084 mount_info::cygdrive_win32_path: src '/home/marcin/.config/fish', dst ''ħ3 381165 fish 2084 set_flags: flags: binary (0x2)ġ19 381284 fish 2084 mount_info::conv_to_win32_path: src_path /home/marcin/.config/fish, dst C:\tools\cygwin\home\marcin\.config\fish, flags 0x3000A, rc 0Ģ48 381532 fish 2084 symlink_info::check: 0x0 = NtCreateFile (\?\C:\tools\cygwin\home\marcin\.config\fish)ġ35 381667 fish 2084 symlink_info::check: not a symlinkġ00 381767 fish 2084 symlink_info::check: 0 = symlink.check(C:\tools\cygwin\home\marcin\.config\fish, 0xFFFF9150) (0x3000A)ĥ5 381822 fish 2084 path_conv::check: this->path(C:\tools\cygwin\home\marcin\.config\fish\BENEK), has_acls(1)ġ11 381933 fish 2084 _set_errno: int rename2(const char*, const char*, unsigned int):2135 setting errno 2ġ47 382080 fish 2084 rename2: -1 = rename(/home/marcin/.config/fish/BENEK, /home/marcin/.config/fish/86_64), errno 2 What you can see below is an excerpt from the `strace fish > log 2>&1` command. Mklink /J marcin d:\OneDrive\tools\CYGWIN_HOME The junction was create with `mklink` command as below: This is how this looks from cmd.exe side: I have my cygwin home directory created as a junction to a folder on another disk, which is managed by OneDrive. fish: Unable to rename file from '/home/marcin/.config/fish/fishd.tmp.3Bop6u' to '/home/marcin/.config/fish/86_64': Permission denied fish: Unable to rename file from '/home/marcin/.config/fish/5Tmd' to '/home/marcin/.config/fish/86_64': Permission denied fish: Unable to rename file from '/home/marcin/.config/fish/0Fd' to '/home/marcin/.config/fish/86_64': Permission denied This is what I get when I run fish in my /c/tmp The issue is, that for some reason, running fish shell fails with PermissionDenied error if the home directory is a Windows Junction. This report originates from a ticket created on Fish Github account here: Next message (by thread): Fish shell fails with PermissionDenied on rename file, if Cygwin home directory is a Junction.Previous message (by thread): RCS Error report - Couldn't compute FAST_CWD pointer.Fish shell fails with PermissionDenied on rename file, if Cygwin home directory is a Junction.įish shell fails with PermissionDenied on rename file, if Cygwin home directory is a Junction.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |