Big privilege problem

ulrik

Registered
Today I tried to install Flash MX and got the following error message:
"Administrator or higher access required". I am logged in as root.
When I log in with an admin user, the installer runs, and at the end, it says it doesn't have enough privileges to finish the installation.

I installed the app now with the root account on another mac, where it runs fine, but I can't copy it to mine, it gives me various privilege errors.

So it seems my root account is screwed, since the installer doesn't recognize me as root.

What can I do BEFORE wiping my HDD and starting from scratch (which is actually no option since I have a heavily modified Apache and MySQL installation running, not to mention an XFree Server.

How can I "root" my root user again so that the installer runs???

Would a new install of 10.1.3 help? I don't think so since I had this problem before 10.1.3...

any help is greatly appreciated!!!
 
Since this is a privileges error, I'd like to "advertise" this script once more. I'm trying to gauge how useful it actually is.

Here's a perl script that was advertised on MacFixIt.com a week or so ago, that resets all default installed files to their original permissions. Obviously, this script can become VERY handy, and I suppose that it could be very useful in your situation. This perl script actually examines log files in the installers and sets permissions to what they should be.

I did not create this script, but I'm providing it as a download from my iDisk. Here's the URL:

http://homepage.mac.com/simx/.cv/simx/Public/chkstuff115.sit-binhex.hqx

This script has been updated for OS X 10.1.3, but when a new version of Mac OS X comes out, I would advise you to wait to run it until chkstuff gets updated for that version of the operating system.

Once you download it, open the folder "chkstuff115". Then open the Terminal application (/Applications/Utilities/Terminal). Now, once the Terminal finishes opening, type "sudo " with the trailing space. Now drag the file "chkUGM" from the Finder window to the Terminal window. Then press return. The Terminal should ask for your password. This is a completely safe script, and it actually does not modify anything at this point. It will just create a command file that shows discrepancies in permissions. So type in your password and press return (note nothing will show up when you type your password for security reasons). It will start doing its stuff.

Once it's done (you'll see the prompt again, which in my case is: [a0c3:~] simsimbean%), it will have created a temporary file that is the command file to change permissions back to the default. First, you may want to examine the discrepancies. To do this, type the command more /tmp/fixUGM.sh in the terminal. Press return, and you can examine the commands that this file will execute -- incidentally, the path to each file that has incorrect permissions is listed, so you can see exactly which files are modified. You can advance the displaying either by pressing space (which will advance the file by one page) or by pressing return (which will advance the file by one line). It should tell you how far through the file you are by the bottom line of the terminal window, which shows you the percentage of the file you have already viewed.

There will also be a file called "missing_files.txt" which tells you which files you are missing from the default installation of Mac OS X. You can also use the command more /tmp/missing_files.txt to see what files you are missing. This might not be a problem, but it's just some nice info.

If you are satisfied with the files it has listed, you can go ahead and run this script. Simply type the command cd /tmp; sudo ./fixUGM.sh, all on one line, and press return. It will again ask you for your password. Once you give the terminal your password and press return, it will start modifying the files to their original permissions. It will notify you when it's done.

I really hope this helps. Permissions problems are a ***** in OS X.
 
I am running it at the moment....

*holding my breath

didn't work. same errors as before... :(

The problem seems to be the fact that installers don't recognize my as beeing root. Till now, when this happened, I just logged out and back in with a "standard" admin account, but as I mentioned, this gives me a privilege error at the end of the installation.

Is it possible to "reinstall" 10.1.3 over my current installation? I would even risk of loosing my Apache, since Flash is the only app forcing me back to 9 at the moment and I really wanna get it installed.

I am not that thrilled about wiping my HDD, I will call Macromedia customer support tomorrow, but till then, maybe somebody has another idea which could work...

but thanx for the help, simX!!!

 
Back
Top