title: Checking File Permissions in Linux with Python
body: <p>I'm writing a script to check permissions of files in user's directories and if they're not acceptable I'll be warning them, but I want to check permissions of not just the logged in user, but also group and others. How can i do this? It seems to me that <code>os.access()</code> in Python can only check the permissions for the user running the script.</p>