On 15.12.2020 21:03, Brian Inglis wrote: > On 2020-12-15 01:43, Marco Atzeri via Cygwin wrote: >> Not a recent bug but annoying anyway >> >> It seems the post-install script is not considering that the >> installation can be in a disk different from C: , properly >> in this case D: > > The post-install script does not care as mkshortcut uses POSIX paths. > Could you please check your paths with: > >     $ which -a mkshortcut >     /usr/bin/mkshortcut all same > >> 2020/12/15 08:40:13 running: d:\cygwin32\bin\bash.exe --norc >> --noprofile "/etc/postinstall/cygwin-doc.sh" >> mkshortcut: Saving "/cygdrive/c/ProgramData/Microsoft/Windows/Start >> Menu/Programs/D:/cygwin32/Cygwin (32-bit)/User Guide (PDF).lnk" >> failed; does the target directory exist? >> mkshortcut: Saving "/cygdrive/c/ProgramData/Microsoft/Windows/Start >> Menu/Programs/D:/cygwin32/Cygwin (32-bit)/User Guide (HTML).lnk" >> failed; does the target directory exist? > > Please try: > >     $ sh --version >     GNU bash, version 4.4.12(3)-release (x86_64-unknown-cygwin) >     ... > > Could you please try rerunning the p-i script under sh -vx and post the > output, as I can not see any way to rearrange the inputs and outputs to > get that result, unless read or mkshortcut are damaged! > >> $ ls "/cygdrive/c/ProgramData/Microsoft/Windows/Start Menu/Programs/" >> | grep Cygwin >> Cygwin >> Cygwin (32-bit) > > $ ll "$(cygpath -A -P -U)"/Cygwin* > It works, but it is different from running under setup, as it is using /proc/cygdrive/c/Users/Marco/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Cygwin (32-bit)/ attached log Regards Marco