Opened 15 years ago

Closed 12 years ago

Last modified 12 years ago

#1240 closed defect (fixed)

wrong unix rights/permissions of some files after make dist

Reported by: zimmerma Owned by: mvngu
Priority: major Milestone: sage-2.9.1
Component: distribution Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

[This was reported to me by Emmanuel Thome.]

When installing SAGE 2.8.13 on a multi-user site (make dist), the Unix rights of some files are wrong:

helene% find . ! -perm +004 | xargs ls -lLd
-rwx--x--x 1 zimmerma spaces    414 2007-11-22 08:56 ./local/bin/sage-rebase_sage.sh
-rwx--x--x 1 zimmerma spaces    702 2007-11-22 10:13 ./local/bin/sage-server-web
-rw------- 1 zimmerma spaces   5292 2007-11-22 09:09 ./local/include/cremona/cperiods.h
...
-rw-r----- 1 zimmerma spaces   1360 2006-10-26 20:26 ./local/share/moin/underlay/pages/SystemPagesSetup/attachments/all_languages.zip
...

Shouldn't all files be at least readable (r) by everybody?

Change History (9)

comment:1 Changed 15 years ago by mabshoff

  • Status changed from new to assigned

I will take care of those.

Cheers,

Michael

comment:2 Changed 15 years ago by mabshoff

Ok, I have fixed

local/bin/sage-rebase_sage.sh
local/bin/sage-server-web
local/include/cremona/cperiods.h

and I will take care of the moin moin issue in 2.8.15.

Cheers,

Michael

comment:3 Changed 15 years ago by zimmerma

The moin issue is still there in 2.9 (28 files are concerned).

comment:4 Changed 15 years ago by mabshoff

  • Summary changed from wrong unix rights of some files to [with spkg] wrong unix rights of some files

The moinmoin issues are fixed in

http://sage.math.washington.edu/home/mabshoff/moin-1.5.7.p2.spkg

Cheers,

Michael

comment:5 Changed 15 years ago by rlm

  • Resolution set to fixed
  • Status changed from assigned to closed

Merged in 2.9.1 alpha2

comment:6 Changed 12 years ago by zimmerma

  • Milestone changed from sage-2.9.1 to sage-4.3.4
  • Priority changed from major to blocker
  • Report Upstream set to N/A
  • Resolution fixed deleted
  • Status changed from closed to new
  • Summary changed from [with spkg] wrong unix rights of some files to [with spkg] wrong unix permission of some files

I reopen this ticket, since this issue is back with Sage 4.3.3:

tarte% sage
**************************************************************************
You must compile Sage first using 'make' in the Sage root directory.
(If you have already compiled Sage, you must set the SAGE_ROOT variable in 
the file '/usr/local/sage-core2/sage').
**************************************************************************

This is due to wrong permissions (Sage was installed by Emmanuel Thome with make dist):

tiramisu ~ $ ls -l /usr/local/sage-core2/
total 29884
-rw-r--r--  2 thome caramel    71842 Mar  1 14:43 COPYING.txt
-rw-r--r--  2 thome caramel    11123 Mar  1 14:43 README.txt
drwxr-xr-x  8 thome caramel     4096 Mar  1 16:42 data
drwxr-xr-x  4 thome caramel     4096 Mar  1 15:58 devel
drwx------ 15 thome caramel     4096 Mar  3 22:01 examples
-rw-r--r--  1 thome caramel 30427884 Mar  1 17:04 install.log
drwx------  2 thome caramel     4096 Mar  3 22:01 ipython
drwx------ 12 thome caramel     4096 Mar  3 21:46 local
-rw-r--r--  2 thome caramel     2618 Feb 11 17:55 makefile
-rwxr-xr-x  2 thome caramel     1449 Feb 11 17:56 sage
-rw-r--r--  2 thome caramel     1622 Mar  1 14:43 sage-README-osx.txt
-rwxr-xr-x  2 thome caramel       38 Mar  1 14:43 sage-python
drwx------  6 thome caramel     4096 Mar  3 22:07 spkg
drwx------  2 thome caramel     4096 Mar  3 22:07 tmp

I declare this as a blocker since this issue should be fixed *once for all* (and automatically checked before doing a release).

comment:7 Changed 12 years ago by zimmerma

  • Owner changed from mabshoff to mvngu
  • Summary changed from [with spkg] wrong unix permission of some files to wrong unix rights/permissions of some files after make dist

comment:8 Changed 12 years ago by mvngu

  • Milestone changed from sage-4.3.4 to sage-2.9.1
  • Priority changed from blocker to major
  • Resolution set to fixed
  • Status changed from new to closed

Please do not reopen tickets that are already closed. Open another ticket for the specific issue related to this ticket and concerning Sage 4.3.3. Then reference this ticket from the newly opened ticket. The issue of the current ticket concerns Sage 2.9.1 and it has already been fixed for that release.

comment:9 Changed 12 years ago by zimmerma

Please do not reopen tickets that are already closed. Open another ticket ...

ok, see #8437.

Note: See TracTickets for help on using tickets.