[Tutor] Directory permission and ACLs

Travis Spencer travislspencer at gmail.com
Fri Sep 2 19:34:05 CEST 2005


On 9/2/05, Pat Martin <python at patm.net> wrote:
> I am new to python and wanted to write a program that looks at directory
> permissions and ext3 ACLs and also change them if needed. What modules
> would I be looking at for those functions?

os and os.path:

* http://docs.python.org/lib/module-os.html
* http://docs.python.org/lib/module-os.path.html

stat and shutil might be useful too.

HTH.

-- 

Regards,

Travis Spencer


More information about the Tutor mailing list