I added a new user to a fresh Raspbian Lite install (4.14 2019-04-08, Raspbian Stretch Lite). On a pi zero, I had direct access and had signed in as the pi
user. Via Wifi I had authenticated as the new user.
As the pi user I did:
pi@rpizero:~ $ touch hello
As the newuser I did:
newuser@rpizero:~ $ ll ../pi/
.ansible/ .bash_history .bash_logout .bashrc hello .profile
newuser@rpizero:~ $ rm ../pi/hello
rm: remove write-protected regular empty file '../pi/hello'?
newuser@rpizero:~ $ ll ../pi
-bash: ll: command not found
Restarting the device does not help as the ll
command is still not found.
Why did the ll
command "get destroyed" when trying to remove the hello
file? Very confused.