Re: [Numpy-discussion] permissions on tests in numpy and scipy
On Mon, Jul 14, 2008 at 12:34 PM, Robert Kern [EMAIL PROTECTED] 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): [EMAIL PROTECTED]:~ svn --version svn, version 1.4.3 (r23084) compiled Jun 6 2007, 16:45:15 [EMAIL PROTECTED]:~ uname -a SunOS flag 5.10 Generic_118855-15 i86pc i386 i86pc [EMAIL PROTECTED]:~ umask 0002 [EMAIL PROTECTED]:~ cd /export/home/johnh/tmp/numpy/ [EMAIL PROTECTED]:numpy ls -l setup.py -rwx-- 1 johnhresearch3370 Jul 14 14:20 setup.py ## Linux box (expected permissions): [EMAIL PROTECTED]:~ svn --version svn, version 1.4.4 (r25188) compiled Sep 2 2007, 14:25:40 [EMAIL PROTECTED]:~ 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 [EMAIL PROTECTED]:numpy umask 0002 [EMAIL PROTECTED]:~ cd /home/jdhunter/tmp/numpy/ [EMAIL PROTECTED]:numpy ls -l setup.py -rwxrwxr-x 1 jdhunter jdhunter 3370 Jul 14 12:19 setup.py ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion
[Numpy-discussion] permissions on tests in numpy and scipy
I have a rather unconventional install pipeline at work and owner only read permissions on a number of the tests are causing me minor problems. It appears the permissions on the tests are set rather inconsistently in numpy and python -- is there any reason not to make these all 644? [EMAIL PROTECTED]:site-packages find numpy -name test_*.py|xargs ls -l -rw--- 1 johnhresearch2769 Jul 14 12:01 numpy/core/tests/test_defchararray.py -rw--- 1 johnhresearch8283 Jul 14 12:01 numpy/core/tests/test_defmatrix.py -rw--- 1 johnhresearch1769 Jun 25 10:00 numpy/core/tests/test_errstate.py -rw--- 1 johnhresearch1508 Jun 25 10:00 numpy/core/tests/test_memmap.py -rw--- 1 johnhresearch 4 Jul 14 12:01 numpy/core/tests/test_multiarray.py -rw--- 1 johnhresearch 26695 Jul 14 12:01 numpy/core/tests/test_numeric.py -rw--- 1 johnhresearch 13781 Jul 14 12:01 numpy/core/tests/test_numerictypes.py -rw--- 1 johnhresearch1113 Jul 14 12:01 numpy/core/tests/test_print.py -rw--- 1 johnhresearch4290 Jul 14 12:01 numpy/core/tests/test_records.py -rw--- 1 johnhresearch 39370 Jul 14 12:01 numpy/core/tests/test_regression.py -rw--- 1 johnhresearch4097 Jul 14 12:01 numpy/core/tests/test_scalarmath.py -rw--- 1 johnhresearch9330 Jun 25 10:00 numpy/core/tests/test_ufunc.py -rw--- 1 johnhresearch7583 Jul 14 12:01 numpy/core/tests/test_umath.py -rw--- 1 johnhresearch 11264 Jul 14 12:01 numpy/core/tests/test_unicode.py -rw--- 1 johnhresearch 222 Jul 14 12:00 numpy/distutils/tests/f2py_ext/tests/test_fib2.py -rw--- 1 johnhresearch 220 Jul 14 12:00 numpy/distutils/tests/f2py_f90_ext/tests/test_foo.py -rw--- 1 johnhresearch 220 Jul 14 12:00 numpy/distutils/tests/gen_ext/tests/test_fib3.py -rw--- 1 johnhresearch 277 Jul 14 12:00 numpy/distutils/tests/pyrex_ext/tests/test_primes.py -rw--- 1 johnhresearch 387 Jul 14 12:00 numpy/distutils/tests/swig_ext/tests/test_example.py -rw--- 1 johnhresearch 276 Jul 14 12:00 numpy/distutils/tests/swig_ext/tests/test_example2.py -rw--- 1 johnhresearch1800 Jul 14 12:00 numpy/distutils/tests/test_fcompiler_gnu.py -rw--- 1 johnhresearch2421 Jun 25 09:59 numpy/distutils/tests/test_misc_util.py -rw-r--r-- 1 johnhresearch 64338 Jun 25 09:59 numpy/f2py/lib/parser/test_Fortran2003.py -rw-r--r-- 1 johnhresearch 24785 Jun 25 09:59 numpy/f2py/lib/parser/test_parser.py -rw--- 1 johnhresearch 574 Jul 14 12:00 numpy/fft/tests/test_fftpack.py -rw--- 1 johnhresearch1256 Jul 14 12:00 numpy/fft/tests/test_helper.py -rw--- 1 johnhresearch9948 Jul 14 12:01 numpy/lib/tests/test__datasource.py -rw--- 1 johnhresearch4088 Jul 14 12:01 numpy/lib/tests/test_arraysetops.py -rw--- 1 johnhresearch 809 Jul 14 12:01 numpy/lib/tests/test_financial.py -rw--- 1 johnhresearch 23794 Jul 14 12:01 numpy/lib/tests/test_format.py -rw--- 1 johnhresearch 30772 Jul 14 12:01 numpy/lib/tests/test_function_base.py -rw--- 1 johnhresearch1587 Jun 25 10:00 numpy/lib/tests/test_getlimits.py -rw--- 1 johnhresearch2111 Jul 14 12:01 numpy/lib/tests/test_index_tricks.py -rw--- 1 johnhresearch7691 Jul 14 12:01 numpy/lib/tests/test_io.py -rw--- 1 johnhresearch 999 Jun 25 10:00 numpy/lib/tests/test_machar.py -rw--- 1 johnhresearch2431 Jun 25 10:00 numpy/lib/tests/test_polynomial.py -rw--- 1 johnhresearch1409 Jul 14 12:01 numpy/lib/tests/test_regression.py -rw--- 1 johnhresearch 14353 Jul 14 12:01 numpy/lib/tests/test_shape_base.py -rw--- 1 johnhresearch6958 Jul 14 12:01 numpy/lib/tests/test_stride_tricks.py -rw--- 1 johnhresearch6735 Jul 14 12:01 numpy/lib/tests/test_twodim_base.py -rw--- 1 johnhresearch9579 Jul 14 12:01 numpy/lib/tests/test_type_check.py -rw--- 1 johnhresearch1771 Jun 25 10:00 numpy/lib/tests/test_ufunclike.py -rw--- 1 johnhresearch8279 Jul 14 12:01 numpy/linalg/tests/test_linalg.py -rw--- 1 johnhresearch1739 Jul 14 12:01 numpy/linalg/tests/test_regression.py -rw--- 1 johnhresearch 78819 Jun 25 10:00 numpy/ma/tests/test_core.py -rw--- 1 johnhresearch 15744 Jul 14 12:01 numpy/ma/tests/test_extras.py -rw--- 1 johnhresearch 17759 Jun 25 10:00 numpy/ma/tests/test_mrecords.py -rw--- 1 johnhresearch 33009 Jun 25 10:00 numpy/ma/tests/test_old_ma.py -rw--- 1 johnhresearch5956 Jun 25 10:00 numpy/ma/tests/test_subclassing.py -rw--- 1 johnhresearch3173 Jul 14 12:01 numpy/oldnumeric/tests/test_oldnumeric.py -rw--- 1 johnhresearch2043 Jun 25 09:59 numpy/random/tests/test_random.py -rw--- 1
Re: [Numpy-discussion] permissions on tests in numpy and scipy
On Mon, Jul 14, 2008 at 12:22, John Hunter [EMAIL PROTECTED] wrote: I have a rather unconventional install pipeline at work and owner only read permissions on a number of the tests are causing me minor problems. It appears the permissions on the tests are set rather inconsistently in numpy and python -- is there any reason not to make these all 644? 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. -- Robert Kern I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth. -- Umberto Eco ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion