I just want to point out that running sage under sudo is not
advisable. Doing so will give sage super user privilages, which it
does not need, and can cause serious security issues.

Soroosh

On May 21, 10:27 pm, flori <beutler.flor...@googlemail.com> wrote:
> Thanks a lot for your replies...
>
> The following two commands work now
>
> flor...@base:~/sage/sage-3.4$ sudo ./sage factor.sage 2006
> 2 * 17 * 59
>
> and
>
> flor...@base:~/sage/sage-3.4$ sudo ./sage ./factor 2006
> 2 * 17 * 59
>
> In the second case I changed the first line of the file to
>
> #! /path/to/sage -python
>
> as suggested by Kevin
>
> Nevertheless there is still the mess with the execute rights. I am a
> newbie in linux and therefore I am not sure what I am doing wrong.
> with
>
> chmod 777 factor
>
> I gave all right to everybody, but still if I try
>
> flor...@base:~/sage/sage-3.4$ ./sage ./factor 2006
> [Errno 13] Permission denied: '/home/florian/.sage//temp'
>
> Furthermore I can't start sage with the command sage I need to type
>
> sudo ./sage
>
> thank you very much
> and best regards
> florian
>
> p.s.
>
> flor...@base:~/sage/sage-3.4$ ls -l
> total 15684
> -rw-r--r--  1 florian florian    71842 2009-04-19 15:38 COPYING.txt
> drwxr-xr-x  8 florian florian     4096 2009-04-19 18:17 data
> drwxr-xr-x  4 florian florian     4096 2009-04-19 17:15 devel
> drwxr-xr-x 16 florian florian     4096 2009-04-19 18:02 examples
> -rw-r--r--  1 florian florian      243 2009-05-22 10:20 factor
> -rw-r--r--  1 florian florian      228 2009-05-22 10:17 factor~
> -rw-r--r--  1 root    root         475 2009-05-22 10:21 factor.py
> -rwxr-xr-x  1 florian florian      228 2009-05-22 10:17 factor.sage
> -rw-r--r--  1 florian florian      245 2009-05-22 10:14 factor.sage~
> -rw-r--r--  1 florian florian       81 2009-04-19 15:38 file.txt
> -rw-r--r--  1 florian florian   428348 2009-04-19 15:38 HISTORY.txt
> -rw-r--r--  1 florian florian 15381770 2009-04-19 18:17 install.log
> drwxr-xr-x  2 florian florian     4096 2009-04-19 15:38 ipython
> drwxr-xr-x 15 florian florian     4096 2009-04-19 18:17 local
> -rw-r--r--  1 florian florian     1964 2009-03-11 15:38 makefile
> -rw-r--r--  1 florian florian     8885 2009-04-19 15:38 README.txt
> -rwxr-xr-x  1 florian florian     1449 2009-03-11 15:38 sage
> -rwxr-xr-x  1 florian florian       38 2009-04-19 15:38 sage-python
> -rwxr-xr-x  1 florian florian     1513 2009-04-19 15:38 sage-README-
> osx.txt
> -rw-r--r--  1 florian florian    54456 2009-03-11 15:38 script.sage
> drwxr-xr-x  6 florian florian     4096 2009-04-19 15:38 spkg
> drwxr-xr-x  2 florian florian     4096 2009-04-19 15:38 tmp
> flor...@base:~/sage/sage-3.4$
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to