I have these two paths pointing to the same files and none of them being a symlink. If I rm
one, the other disappears as well (tried on another file with the same symptoms), and I cannot mv
one into the other. I'm out of ideas
- .config/pgcli/history
- ~/.config/pgcli/history
Some troubleshooting
17:16:51 ~/dotfiles $ \ls -alL ~/.config/pgcli/history-rw-rw-r-- 1 lorentz lorentz 3580 jan 25 16:14 /home/lorentz/.config/pgcli/history17:16:59 ~/dotfiles $ \ls -alL .config/pgcli/history-rw-rw-r-- 1 lorentz lorentz 3580 jan 25 16:14 .config/pgcli/history17:17:10 ~/dotfiles $ \stat ~/.config/pgcli/history File: /home/lorentz/.config/pgcli/history Size: 3580 Blocks: 8 IO Block: 4096 regular fileDevice: 10305h/66309d Inode: 574283 Links: 1Access: (0664/-rw-rw-r--) Uid: ( 1000/ lorentz) Gid: (30001/ lorentz)Access: 2024-01-25 16:58:09.803772739 +0100Modify: 2024-01-25 16:14:05.048623557 +0100Change: 2024-01-25 16:14:05.048623557 +0100 Birth: 2024-01-25 16:08:51.058707059 +010017:17:12 ~/dotfiles $ \stat .config/pgcli/history File: .config/pgcli/history Size: 3580 Blocks: 8 IO Block: 4096 regular fileDevice: 10305h/66309d Inode: 574283 Links: 1Access: (0664/-rw-rw-r--) Uid: ( 1000/ lorentz) Gid: (30001/ lorentz)Access: 2024-01-25 16:58:09.803772739 +0100Modify: 2024-01-25 16:14:05.048623557 +0100Change: 2024-01-25 16:14:05.048623557 +0100 Birth: 2024-01-25 16:08:51.058707059 +010017:17:30 ~/dotfiles $ mv .config/pgcli/history ~/.config/pgcli/historymv: '.config/pgcli/history' and '/home/lorentz/.config/pgcli/history' are the same file
I am using
- Ubuntu 22.04
- Z shell
- GNU stow