On Aug 29, 2011, at 5:03 PM, Questor wrote: > md5 matches
Excellent. > (using the the cp in the README) > > % ls -ld Sage-4.7.1-OSX-64bit-10.6.app > drwxr-xr-x@ 3 root admin 102 25 Aug 17:40 Sage-4.7.1- > OSX-64bit-10.6.app > > % ls -l Sage-4.7.1-OSX-64bit-10.6.app/ > total 0 > drwxr-xr-x@ 6 root admin 204 25 Aug 17:40 Contents > > % ls -l Sage-4.7.1-OSX-64bit-10.6.app/* > total 24 > -rw-r--r--@ 1 root admin 6283 25 Aug 17:40 Info.plist > drwxr-xr-x@ 3 root admin 102 25 Aug 17:40 MacOS > -rw-r--r--@ 1 root admin 8 25 Aug 17:40 PkgInfo > drwxr-xr-x@ 19 root admin 646 25 Aug 17:43 Resources > > % ls -l Sage-4.7.1-OSX-64bit-10.6.app/*/* > -rw-r--r--@ 1 root admin 6283 25 Aug 17:40 Sage-4.7.1- > OSX-64bit-10.6.app/Contents/Info.plist > -rw-r--r--@ 1 root admin 8 25 Aug 17:40 Sage-4.7.1- > OSX-64bit-10.6.app/Contents/PkgInfo > > Sage-4.7.1-OSX-64bit-10.6.app/Contents/MacOS: > total 120 > -rwxr-xr-x@ 1 root admin 58620 25 Aug 17:40 Sage > > Sage-4.7.1-OSX-64bit-10.6.app/Contents/Resources: > total 504 > -rw-r--r--@ 1 root admin 3634 25 Aug 17:40 Defaults.plist > drwxr-xr-x@ 6 root admin 204 25 Aug 17:40 English.lproj > -rw-r--r--@ 1 root admin 37640 25 Aug 17:40 appl.icns > -rw-r--r--@ 1 root admin 753 25 Aug 17:40 loading-page.html > -rwxr-xr-x@ 1 root admin 454 25 Aug 17:40 open-location.sh > drwxr-xr-x@ 15 root admin 510 25 Aug 17:43 sage > -rw-r--r--@ 1 root admin 41318 25 Aug 17:43 sage-document-py.icns > -rw-r--r--@ 1 root admin 43061 25 Aug 17:43 sage-document-sage.icns > -rw-r--r--@ 1 root admin 43811 25 Aug 17:43 sage-document-spkg.icns > -rw-r--r--@ 1 root admin 42074 25 Aug 17:43 sage-document-sws.icns > -rwxr-xr-x@ 1 root admin 705 25 Aug 17:43 sage-is-running-on- > port.sh > -rw-r--r--@ 1 root admin 1594 25 Aug 17:43 sage-small-blue.png > -rw-r--r--@ 1 root admin 3580 25 Aug 17:43 sage-small-green.png > -rw-r--r--@ 1 root admin 683 25 Aug 17:43 sage-small-grey.png > -rw-r--r--@ 1 root admin 1587 25 Aug 17:43 sage-small-red.png > -rw-r--r--@ 1 root admin 0 25 Aug 17:43 sage.log > -rwxr-xr-x@ 1 root admin 2158 25 Aug 17:43 start-sage.sh Everything being owned by root is definitely the cause of the problem of the terminal session, and maybe of the notebook too. You have a few options: sudo chmod go+w /Applications/Sage-4.7.1-OSX-64bit-10.6.app/Contents/Resources/sage/local/lib/sage-current-location.txt and see if that fixes the problem. That might fix the problem, but you may run into more (it's hard to say until you try, but I can't think of any other things that might go wrong since it's quite normal to have sage installed by a user other than the one using it). I would suggest this method if you want to find out and help us fix everything that might go wrong. sudo chown -R $USER /Applications/Sage-4.7.1-OSX-64bit-10.6.app/ which is how I normally install it (well actually I just drag and drop so it's owned by my already), but this won't help if you decide to login and run as a different user. I would suggest this method unless you have some reason not to. Or last, you could just try starting sage as root: sudo /Applications/Sage-4.7.1-OSX-64bit-10.6.app/Contents/Resources/sage/sage You shouldn't need to run anything in sage--just starting should fix the contents of sage-current-location.txt which may solve the problem (though it will probably continue to log some errors). > To get rid of the @'s, I then did > # xattr -d -r com.apple.quarantine /Applications/Sage-4.7.1- > OSX-64bit-10.6.app/ > xattr: No such file: /Applications/Sage-4.7.1-OSX-64bit-10.6.app// > Contents/Resources/sage/data/graphs/graphs.db > # ls -l > total 2472 > lrwxr-xr-x@ 1 root admin 25 25 Aug 17:40 graphs.db -> /tmp/ > graphs.db.3Ymg7KKVkC > -rw-r--r-- 1 root admin 1258496 25 Aug 17:40 graphs.db.orig I'm not sure about that error. It might be a bug, but I don't think it's the cause of your problems. -Ivan -- 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 URL: http://www.sagemath.org