BUG: File modes under IRIX

Sjoerd Mullender sjoerd at oratrix.nl
Thu Jul 20 08:07:38 EDT 2000


On Thu, Jul 20 2000 "Sami Hangaslammi" wrote:

> Python version: Python 1.5.2 (#2, Mar 22 2000, 10:10:50)  [GCC 2.8.1] on
> irix646
> 
> When using os.makedirs('foo/bar',0755) (or os.mkdir) the mode of the created
> directories is incorrectly set as rwx------.
> 
> Is this a known problem or am I just doing something wrong (I'm terribly
> unexperienced when it comes to *x systems)?

Not when I do this.  I tried this on IRIX 6.5.2, and the mode of the
two directories that were created (foo and foo/bar) were 755.  Are you
sure your umask isn't set to 0077?  Try the command "umask" in your
shell.

-- Sjoerd Mullender <sjoerd.mullender at oratrix.com>




More information about the Python-list mailing list