This question already has an answer here:
I am user
tim, in the
bob group, and I have a file with unusual permissions:
$ whoami tim $ groups lp wheel cron audio cdrom video bob tim $ ls -l foo --w--w-r-- 1 bob bob 10 Feb 15 18:43 foo
Since the file
foo is world readable, I should be able to read the file, but I can't.
$ cat foo cat: foo: Permission denied
Is it possible for me to read the file as user
tim? Steve can and I'm jealous...
$ whoami steve $ cat foo secret!
I apologize for the bad title. I'm having a hard time succinctly describing the problem.