This happens because .atsign is still owned by root because we chown -R $user:$user "$user_home"/.atsign/keys when we should chown -R $user:$user "$user_home"/.atsign
Steps to reproduce
First I created a fresh Ubuntu 24.04 VM
Then I downloaded universal.sh from the 5.2.0-rc1 pre-release
And then I ran sudo sh universal.sh and did a client install
Then copied in my atKeys
Then ran np.sh to connect to my test device
Expected behavior
Directory permissions should be set so that sshnp can write to ~/.atsign/sshnp
Describe the bug
This happens because .atsign is still owned by root because we
chown -R $user:$user "$user_home"/.atsign/keys
when we shouldchown -R $user:$user "$user_home"/.atsign
Steps to reproduce
sudo sh universal.sh
and did a client installnp.sh
to connect to my test deviceExpected behavior
Directory permissions should be set so that
sshnp
can write to~/.atsign/sshnp