Brieuc Desoutter <[email protected]> wrote:
> [-- text/plain, size 1.8K, charset UTF-8, 59 lines, encoding quoted-printable 
> --]
> 
> Yes that is correct:
> 
> case 1: if $HOME/.profile is a regular file in $HOME, then $HOME/bin and
> $HOME/.local/bin are in PATH as expected.
> 
> case 2: If $HOME/.profile is a symlink to $HOME/Setup/shell/.profile (with
> same content as in case 1), then $HOME/bin and $HOME/.local/bin are NOT in
> PATH as expected
> 
I have .profile as a symink (to a Mercurial repository in my case) and
it works as expected.

    chris$ cd
    /home/chris
    chris$ ls -al .profile
    lrwxrwxrwx 1 chris chris 13 Nov  4  2024 .profile -> .cfg/.profile
    chris$ 

So I don't think it's anything to do with your .profile being a
symlink. I'd take a careful look at permissions etc.

-- 
Chris Green
ยท

Reply via email to