26 August 2022, 17:59 | #1 |
Camilla, AmigaOS Dev.
Join Date: Mar 2020
Location: Frederiksberg
Posts: 327
|
symbolic links to dirs are not evaluated when needed
So if on a harddisk (tied to a directory structure on windows) I have a symbolic link to another directory. Then I cant cd into that symbolic link before the directory has been listed.
So: makedir sys:test/file Makedir sys_test/link sys:test/file soft Then reboot and directly: cd sys:test/link it will complain that the object doesn't exist now do: dir sys:test cd sys:test/link and it works, so there obviously is a bug. |
27 August 2022, 23:16 | #2 | |
Registered User
Join Date: Feb 2020
Location: PL
Posts: 157
|
Quote:
|
|
28 August 2022, 18:37 | #3 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Which AmigaOS version does this require? At least 3.1 makedir does not seem to have soft parameter. (For me default is always 3.1)
|
28 August 2022, 20:29 | #4 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,985
|
Probably it should read Makelink instead of Makedir and also sys:test instead of sys_test.
|
29 August 2022, 22:12 | #5 |
Camilla, AmigaOS Dev.
Join Date: Mar 2020
Location: Frederiksberg
Posts: 327
|
yes makelink sorry
and as far as making test/file yes it was just a little shorthand and the name should really be drawer as it is obviously not a file |
10 September 2022, 14:11 | #6 |
Camilla, AmigaOS Dev.
Join Date: Mar 2020
Location: Frederiksberg
Posts: 327
|
Ping ?
|
10 September 2022, 14:47 | #7 | |
Registered User
Join Date: Oct 2021
Location: England
Posts: 1,172
|
theres more than 1 makelink, so their still probably waiting for you to list which OS and which makelink variant, ie: if you used the native one bundled with your os or 1 of the alternatives on aminet. Havent tried on WinUAE yet but on FS-UAE makelink doesnt function as expected when using Directory mode harddrives, and only functions right when using a native filesystem, does work linking directory mode source TO a native filesystem destination like RAM: however..
https://eab.abime.net/showthread.php?t=111215 Quote:
Last edited by DisasterIncarna; 10 September 2022 at 14:53. |
|
10 September 2022, 17:57 | #8 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Fix examples first. I won't attempt to guess, even if it looks obvious.
|
10 September 2022, 21:14 | #9 |
Registered User
Join Date: Aug 2014
Location: Germany
Posts: 53
|
Wouldn't that be kind a security risk for the host Machine?
For example, just as an dumb Idea, create in AmigaOS a "Windows" directory in your Amiga "C:", use Amigas Makelink to make a symbolic link to that. This now creates at the host directory a symbolic link to you know to where. Remove the Amiga sides target directory and have fun accessing that host directory through that link. |
13 September 2022, 18:08 | #10 |
Camilla, AmigaOS Dev.
Join Date: Mar 2020
Location: Frederiksberg
Posts: 327
|
makedir sys:test
makedir sys:test/targetdir cd sys:test makelink link sys:test/targetdir soft Then reboot and then this will fail: cd sys:test/link if you then do: dir sys:test then the cd will work if you try it again: cd sys:test/link Last edited by boemann; 13 September 2022 at 23:35. |
13 September 2022, 19:06 | #11 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Unfortunately that won't work with WB 3.1 (see my first post). EDIT: Does makelink from Aminet work?
Quote:
Last edited by Toni Wilen; 13 September 2022 at 20:26. |
|
13 September 2022, 23:24 | #12 |
Camilla, AmigaOS Dev.
Join Date: Mar 2020
Location: Frederiksberg
Posts: 327
|
Sorry yes it requires AmigaOS 3.2.
I've tested it with makelink from aminet and that works too I mean it can create the link - the bug is still there I've amended my example a bit as makelink wants it first argument to be a name and not a full path and the second argument should be a fully qualified path Last edited by boemann; 13 September 2022 at 23:39. |
16 September 2022, 19:24 | #13 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
https://www.winuae.net/files/b/winuae.7z should fix it (warning: development version). But I don't have any link test cases so it is someone else's problem to confirm it
|
16 September 2022, 19:33 | #14 |
Camilla, AmigaOS Dev.
Join Date: Mar 2020
Location: Frederiksberg
Posts: 327
|
Thanks I'll try it out and give you some feedback
|
16 September 2022, 19:40 | #15 |
Camilla, AmigaOS Dev.
Join Date: Mar 2020
Location: Frederiksberg
Posts: 327
|
It works ! Thanks
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Interactive symbolic bitop calculator | paraj | Coders. Asm / Hardware | 2 | 07 May 2017 22:13 |
looking for kissed - keith's interactive symbolic screen editing debugger | copse | request.Apps | 0 | 17 April 2012 08:26 |
Need a fluent scroll in WB dirs | VoltureX | support.Apps | 6 | 29 November 2011 11:01 |
Problem with XPK packed modules dirs | QuartZ | support.WinUAE | 1 | 29 December 2010 00:39 |
Good PSX (one) games ? Links needed... | AmiGer | Retrogaming General Discussion | 25 | 16 July 2004 05:35 |
|
|