I can use os.chmod('/usr/local/somefile') to change permissions but I
haven't been able to find a way to test for file modes.
>>> stat.S_IRWXU('/usr/bin/python')
Traceback (most recent call last):
File "<stdin>", line 1, in ?
TypeError: 'int' object is not callable
What should I be looking for? Python 2.4.3 (RHEL 5)
Thanks!
Leam
--
Mind on a Mission
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor