os.mkdir and mode

vj vinjvinj at gmail.com
Sat Dec 2 02:17:50 EST 2006


How do I do the following unix command:

mkdir -m770 test

with the os.mkdir command. Using os.mkdir(mode=0770) ends with the
incorrect permissions. 

Thanks,

VJ




More information about the Python-list mailing list