Directory creation

Fredrik Lundh fredrik at pythonware.com
Sun Sep 7 10:18:57 CEST 2008


srinivasan srinivas wrote:

> Can someone tell me is there any module available to create directories??
> 
> I tried os, tempfile.
> I was facing some issues with os.mkdir(). The mode setting was not proper with this method.
> 
> I created the directory 'stdin' with '0700' mode using os.mkdir() method.
> 
> $> ls -alR stdin/
> stdin/:
> total 12
> drwx--S---   2 munisams munisams 4096 Sep  3 02:00 .
> 
> What is that 'S' in the group permission field??

David Wright explained why this is the expected behaviour last time you 
posted about this:

http://groups.google.com/group/comp.lang.python/msg/f6a91447f1739e66

</F>




More information about the Python-list mailing list