Permissions errors thrown, but permissions appear to be correct On my HD, I have a bunch of files that I've generated via Python scripts (or otherwise).  When I run "open foo.png" from terminal (or via finder), I get a popup that says 


  The file “foo.png” couldn’t be opened because you don’t have permission to view it.


However, via chmod or 'Get Info', I do theoretically have permission to view it.  The file is also unlocked, and sudo doesn't solve the problem either.  The file isn't corrupt (I can view it elsewhere).  I've also played the 'repair permsissions' game.  

I've exhausted my google-fu on possible problems.  Ideas?
Try  to access to the file on the terminal with the root access

Open the Terminal, input "sudo -s" .
And, after that, try to open the file.