#11755: Allow running Sage.app by someone other than it was installed by
------------------------------+---------------------------------------------
   Reporter:  iandrus         |          Owner:  iandrus   
       Type:  defect          |         Status:  new       
   Priority:  major           |      Milestone:  sage-4.7.2
  Component:  user interface  |       Keywords:  mac app   
Work_issues:                  |       Upstream:  N/A       
   Reviewer:                  |         Author:            
     Merged:                  |   Dependencies:            
------------------------------+---------------------------------------------

Comment(by leif):

 That's a matter of the current umask, but we could of course change the
 file permission on updates to that file. On the other hand, opening an
 existing file for writing shouldn't change the permissions in the first
 place. If the file gets deleted inbetween, an ordinary user would also
 need write permissions ''on the directory'' the file is located /
 recreated in, i.e. `$SAGE_ROOT/local/lib/`.

 It's not immediately clear to me why an ordinary user would have to move
 Sage though, just to run the application. (But I don't use apples.)

 Allowing the ''group'' to write to this file would certainly be better,
 putting potential users (that move the installation) into that group. (But
 they still won't be able to actually modify / fix hardcoded paths, which
 is the whole purpose of `sage-current-location.txt`, so the installation
 might actually break if it ''really'' moved. A better detection in the
 code that attempts to update that file is another alternative.)

 The whole issue might be related to #5852 (and previously #11707), such
 that after this ticket is resolved, changing the permissions may no longer
 be necessary.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11755#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to