I bet on this num 5..

Is it acceptable that before creating the sym link ln resolves the relative 
path in absolute path to get rid of this problem? or we risk to get a forcefull 
limitation to our bsd-user liberty?

-Dan

------
bsdload.com - Repo: https://code.5mode.com

Please reply to the mailing-list, leveraging technical stuff.


Janne Johansson <icepic...@gmail.com>:

> Den ons 26 mars 2025 kl 06:23 skrev Dan <d...@nnnne-o-o-o.com>:
>>
>>
>> Hello again,
>>
>> I explain myself better, given these piece of fs:
>>
>> /tmp/source_folder
>> /tmp/source_folder/Public/index.php
>> /tmp/source_folder/Public/static/js/index-js.php
>> /tmp/repo
>> /tmp/repo/source -> ../source_folder
>
> There, "source" entry only exists inside "repo" folder
>
>> from inside:
>> /tmp/repo/source/Public/static/js/
>>
>> if I do:
>> cd ../../../../source/Public
>> this fails
>
> ..because this relative path does not enter into the "repo" folder,
> and hence doesn't see 'source' softlink pointing to ../source_folder
>
>> when I do:
>> cd ../../../../source_folder/Public
>> this is correct!
>
> Yes, because this is following the "physical" structure of your dirs.
>
>> Is this acceptable behavior or a kind of reversed-engineered bug
>> ported in all the *nix systems? ;-)
>

Reply via email to