Return to Snippet

Revision: 3917
at October 3, 2007 23:05 by arcturus


Initial Code
import os

path = "/home/arcturus/.bash_history"

os.access(path, os.R_OK)

Initial URL

                                

Initial Description
You can also check other kind of perms changing the constant os.R_OK

Initial Title
Check read perms

Initial Tags
python

Initial Language
Python