.bash_aliases appart to root?


I wanted to add an alias to administrate my server, but I just see that .bash_aliases appart to root.
-rw-r–r-- 1 root root 23 Jan 28 20:18 .bash_aliases
-rw------- 1 user user 392 Feb 2 12:01 .bash_history
-rw-r–r-- 1 user user 220 Feb 25 2020 .bash_logout
-rw-r–r-- 1 user user 3771 Feb 25 2020 .bashrc

I can chown it? Or I don’t touch this file?


# cat .bash_aliases
alias php='env php7.4'

chown user:user .bash_aliases (as root or with sudo)

Will fix it in next release

Oh, ok ^^

Created an bug fix

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.