Ask Your Question
1

MainMenu.nib permissions for installer only

asked 2015-09-22 19:32:19 +0200

Questor24 gravatar image

updated 2015-09-23 21:04:15 +0200

niles gravatar image
Sage: Unable to read contents in the Interface Builder file at path /Applications/Sage-6.8.app/Contents/Resources/English.lproj/MainMenu.nib due to error: The file “MainMenu.nib” couldn’t be opened because you don’t have permission to view it..

bash-3.2# ls -ld /Applications/Sage-6.8.app/Contents/Resources/English.lproj
drwxr-xr-x@ 6 installer  admin  204 Sep 22 13:22 /Applications/Sage-6.8.app/Contents/Resources/English.lproj

bash-3.2# ls -l /Applications/Sage-6.8.app/Contents/Resources/English.lproj
total 16
-rw-r--r--@ 1 installer  admin  410 Jul 28 16:45 Credits.html
-rw-r--r--@ 1 installer  admin   92 Jul 28 16:45 InfoPlist.strings
drwx------@ 4 installer  admin  136 Feb 14  2014 MainMenu.nib
drwx------@ 4 installer  admin  136 Feb 14  2014 MyDocument.nib

Also had the same problem with 6.5 10.10 app.

edit retag flag offensive close merge delete

Comments

Can you give a few more pieces of information about exactly which file you downloaded, for which architecture, and what you are on? (e.g. If you are on 10.11 or something) This seems a bit suspicious but maybe the app was built with the wrong permissions.

kcrisman gravatar imagekcrisman ( 2015-09-23 17:26:21 +0200 )edit

10.10.5

.../sage/osx/intel/sage-6.8-x86_64-Darwin-OSX_10.10_x86_64-app.dmg

Changing the perms to: 755 /Applications/Sage-6.8.app/Contents/Resources/English.lproj/*nib

just results in "Read-only Sage" dialog box which implies that I'm running from the disk image instead of the hard drive.

Questor24 gravatar imageQuestor24 ( 2015-09-24 16:13:35 +0200 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2015-09-27 17:47:37 +0200

Ivan Andrus gravatar image

How did you install it? Did you use a different user? I'm not sure that's supported because Sagemath needs to write to it's install directory in some cases. You might try chown'ing the entire directory hierarchy, or perhaps chmod'ing everything.

edit flag offensive delete link more

Comments

I'm an administrator for 600 machines. I need to package it for arbitrary end users.

Questor24 gravatar imageQuestor24 ( 2015-09-28 23:52:51 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-09-22 19:32:19 +0200

Seen: 447 times

Last updated: Sep 23 '15