I found the /etc/alternatives/awk file, and when I got a long list of it's details I got:
$ ls -l /etc/alternatives/awk
lrwxrwxrwx 1 root root 13 Jan 22 2017 /etc/alternatives/awk -> /usr/bin/gawk*
So it's a link and has write access to others, so I tried this:
$ echo hi > /etc/alternatives/awk
bash: /etc/alternatives/awk: Permission denied
And then:
$ cp /bin/ls /etc/alternatives/awk
cp: unwritable '/etc/alternatives/awk' (mode 0755, rwxr-xr-x); try anyway? y
cp: cannot create regular file '/etc/alternatives/awk': Permission denied
How is that possible?
I know I'm a normal user, but I have write access to this file!