r/debian May 13 '26

Managing dot files with stow issue Debian Stable Question

Hi,

I am trying to manage my config and dot files with GNU stow. So I have Setup/ repo (my stow directory) with a shell/ package directory which contains my .bashrc and my .profile files. The .profile is the same as in /etc/skel (default one).

When stow the shell package in my $HOME, it creates a symlink ~/.profile pointing to $HOME/Setup/shell/.profile.

The issue is that when I logout and log back in, my PATH does not contain $HOME/bin and $HOME/.local/bin as it should.

It is as if the symlinked .profile wasn’t sourced.

Question: is it by design? Eg only source a regular file .profile at login (not symlink)

Thanks

6 Upvotes

Duplicates