The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   Applications (http://hintsforums.macworld.com/forumdisplay.php?f=5)
-   -   Safari Beta 2 - Strange Behavior (http://hintsforums.macworld.com/showthread.php?t=11034)

trianglejuice 08-28-2003 03:34 AM

Just do the following (sorry if I'm being repetitive, but I 'm not gonna read 33 replies)!

- Make sure you 're logged in as root or admin.
- In Finder: go to "find" in the File menu (Command F).
- Make sure "all disks" is selected and search for "Safari".
- If there are more versions, delete everything but the newest version.
- Start this newest version.
- See if the problem is fixed.
- If not: download Safari 1.0 v(whatever); even if you have it allready.
- Replace the "older" version with the version you just downloaded.
- Et voilą...
- Maybe it's also a good thing to get rid of the Safari Preferences, located in your Library; the problem may be caused by a corrupt file in this folder.

TJ.

projectchakra 08-28-2003 08:14 AM

Quote:

Originally posted by macmath
Does your administrative account have these same problems too, or does only your wife's account have these problems?

If your account is ok, then there is something going on within her account and it is not the fault of the Internet preference pane itself. If your account is ok, one sure way to fix things is to create a new account for your wife, transfer all her files out of her old account into the new account, change ownership of her files to her new user shortname, and delete her old account. I've had it happen before that the behavior of one application persisted even after all user artifacts were removed from the account and the machine was restarted. I moved everything to a new account and all was well.
Creating a new account sounds right. Can you give me some coaching on "transfer all her files out of her old account into the new account, change ownership of her files to her new user shortname"?
Thanks

trianglejuice,
I had tried your suggestions and it still didn't work. Thanks to you also.

macmath 08-28-2003 10:01 AM

Quote:

Originally posted by projectchakra
Creating a new account sounds right. Can you give me some coaching on "transfer all her files out of her old account into the new account, change ownership of her files to her new user shortname"?
A bit of a warning first. This solution to your problem might be the right one if something is amiss with her user account beyond the files relevant to Internet preferences (as was the case with my old account as I mentioned above). More likely, this solution is akin to killing an ant with an elephant gun.

You should first create the new account and see that all works fine in the new account.

I can think of two ways; others on this board will likely know a better way. Since I don't know how she has the top directory of her home account set up, I'll describe the way with the least 'Terminal' work:

A) Setting up the new account with her documents:

1) Move the contents of her old user account to /users/shared. Log out and then log back in under her new account and put her items from shared away where they go in her new account (except you won't want to transfer anything from her old user's Library to her new Library that you don't have to [you'll probably want to keep her bookmarks, her old ~/Library/Mail folder with all her email messages in it, her old ~/Library/Preferences/com.apple.mail.plist {contains her accounts setups}, old desktop pictures, etc., anything personal that is unlikely to be system-related.])

2) While logged in under her new account, from Terminal, type
Code:

sudo chown -R newusername:staff /users/newusername
If she does not have adminstrator privileges, you'll have to either do this from another account, or give her administrator privileges temporarily. You might have to log out and back in for this action to be felt in the Finder (or click somewhere else in the Finder and come back, but sometimes I have to log out and back in for a nested chown to be felt). If she can't read her files for some reason, you might have to also do
Code:

sudo chmod -R u+r /users/newusername
B) Getting rid of the old account.
3) Use this account for awhile until you are sure that you have everything out of the old account. Then you are ready to delete her old account and the files in shared. [Before you delete her old account, if you have bought music from the iTunes Music Store, remember to deauthorize your computer from her old account first.] You can log back into her old account and move all of her files from /users/shared back into her home directory. Then log out and back in as yourself and delete her account from the Accounts preferencepane. Then, to delete the remains of her old account, in terminal (from an administrator's account) type
Code:

sudo rm -rf /users/Deleted\ Users
That should be it.

If you liked the Terminal, and her home directory were laid out fairly simply, an alternative to (1) above would have been to try a number of statements like:
Code:

sudo mv /users/oldusername/Documents /users/newusername/Documents
Code:

sudo mv /users/oldusername/Music /users/newusername/Music
etc.
Naturally, you'd only want to move select pieces of the old Library, again. Then do (2) as above.

Also, even if you had done this as in (1) as above, you could have removed her stuff from shared by typing
Code:

sudo rm -rf /users/shared/herstuff
(assuming her old account had been put in a folder called 'herstuff' inside of /users/shared).

Good Luck!

trianglejuice 08-29-2003 05:24 AM

Sorry I couldn't help you. For me this solution worked (with several apps).
Creating a new account will definitely solve your problem. The only thing is: it's a lot of waste of your time.

Greetz,
TJ.

projectchakra 09-07-2003 01:58 PM

I created a new account. I didn't use Terminal. I'm not ready for that yet. I transfered the a few things from the original. It is still exhibiting the same behavior. In Mail links are not opening in Safari, even though it is set in Preferneces to do so.

My account on this machine is working as expected.

Any new ideas?

projectchakra 09-07-2003 02:42 PM

Quote:

Originally posted by macmath

Any file named *.html should automatically open with the browser named in the Internet prefpane. Just as an interim measure, select a file with suffix .html, choose Get Info. Under "Open with" choose Safari v1.0. Then select "Change All".
I tried this now and this will not work. After I select Change All it reverts to Not Applicable. It will open in Safari if Safari is open. I can choose and open it with Camino.

bassi 09-08-2003 06:19 AM

You're using an incredible brute force approach. A System Preference problem like the one you're experiencing can be solved by finding and deleting all copies of the app in question. Then, delete the system preference cache, located in ~library/caches/ and reinstall your app.

You might have to delete the app receipt, and I'm sure someone will correct me if I'm wrong.


All times are GMT -5. The time now is 03:14 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.