What I do is this: (1) unpack and build in my own directory (2) using sudo, copy everything to /usr/local/sage/sage-x.y.z (3) using sudo, run /usr/local/sage/sage-x.y.z/sage once (4) using sudo, do chown -R root:root /usr/local/sage/ and also chmod -R a+rX /usr/local/sage
Note the capital X in the last command, which has the effect of giving everyone x permission iff the owner has it. John On 6 June 2010 12:29, Dr. David Kirkby <[email protected]> wrote: > On 06/ 6/10 12:11 PM, [email protected] wrote: >> >> Hi >> >> When I untar sage as root not all files are owned >> as root. (This is after running make as root, but still) > > It's unwise to use the root account for anything where it is not needed. The > chance of you accidentally screwing up your system is much higher if you use > the root account unnecessarily. > > It's much better to use su, sudo of pfexec to get root privileges when you > actually need it, rather than use the privileged account unnecessarily. > > Dave > > -- > To post to this group, send an email to [email protected] > To unsubscribe from this group, send an email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/sage-devel > URL: http://www.sagemath.org > -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
