I have a file "test" on an Ubuntu system owned by the root. The ls -l option is shown below.
$ ls -l test
-r--r----- 1 root abacus 373 Nov 12 19:19 test
I know that only the owner of a file can change its permission. But I want to know whether there is any way to read the contents of the file for an anonymous user.
sudo
,setuid
, andsetgid
to keep the ownership as root, but allow people to read it.