[Numpy-discussion] permissions on tests in numpy and scipy

John Hunter jdh2358@gmail....
Tue Jul 15 08:59:00 CDT 2008


On Mon, Jul 14, 2008 at 12:34 PM, Robert Kern <robert.kern@gmail.com> wrote:

> We're not doing anything special, here. When I install using "sudo
> python install.py" on OS X, all of the permissions are 644. I think
> the problem may be in your pipeline.

With a little more testing, what I am finding is that when I do a
fresh svn co at work (solaris x86) a lot of files (eg setup.py or the
test*.py files) come down permissioned at 600 or 700.  If I do the
same checkout on a recent linux box, they come down as 644 or 755.  I
checked my umask and they are the same on both boxes.  So I am a bit
stumped and it is clearly not a numpy problem, but I wanted to mention
it here in case any unix guru has an idea (both of these are from
clean svn checkouts)

Solaris box (funky permissions):
johnh@flag:~> svn --version
svn, version 1.4.3 (r23084)
   compiled Jun  6 2007, 16:45:15
johnh@flag:~> uname -a
SunOS flag 5.10 Generic_118855-15 i86pc i386 i86pc
johnh@flag:~> umask
0002
johnh@flag:~> cd /export/home/johnh/tmp/numpy/
johnh@flag:numpy> ls -l setup.py
-rwx------   1 johnh    research    3370 Jul 14 14:20 setup.py

##############################################################

Linux box (expected permissions):
jdhunter@bic128:~> svn --version
svn, version 1.4.4 (r25188)
   compiled Sep  2 2007, 14:25:40
jdhunter@bic128:~> uname -a
Linux bic128.bic.berkeley.edu 2.6.25.9-40.fc8 #1 SMP Fri Jun 27
16:05:49 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
jdhunter@bic128:numpy> umask
0002
jdhunter@bic128:~> cd /home/jdhunter/tmp/numpy/
jdhunter@bic128:numpy> ls -l setup.py
-rwxrwxr-x 1 jdhunter jdhunter 3370 Jul 14 12:19 setup.py


More information about the Numpy-discussion mailing list