Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Can't open old iWeb domain file (yes, I have asked in the other forum!)

I had to wipe my MacBook hard drive and reinstall my data and OSX. Having tried to restore my iWeb domain file from Time Machine, I find I am unable to open it. (I've asked this question in the iWeb forum but was eventually directed here.) I've tried seemingly everything, including changing the file's permissions, wiping iWeb preferences, creating a new domain, deleting it and replacing it with the old one. Still I'm told iWeb can't open the file.


Could it be corrupted? It's probably relevant that it was created under a different account (I had to create a new one when I wiped the disk) and I believe iWeb doesn't like opening domains created by "another" user.


Any help much appreciated. It's important because I am applying for a new job and my online folio -- aka my iWeb website -- is not up-to-date, which looks very strange.

MacBook, Mac OS X (10.7.4)

Posted on Jul 20, 2012 3:11 AM

Reply
34 replies

Jul 27, 2012 2:39 PM in response to BeatingAround

Problems such as yours are sometimes caused by files that should belong to you but are locked or have a wrong owner. This procedure will check for such files. It makes no changes and therefore will not, in itself, solve your problem.

Launch the Terminal application in any of the following ways:

☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

☞ Open LaunchPad. Click Utilities, then Terminal in the page that opens.

Drag or copy — do not type — all of the next line into the Terminal window, then press return:

find . $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID \) -ls

Triple-click anywhere in the line to select it. The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear.

Post any lines of output that appear below what you entered — the text, please, not a screenshot.

If any personal information appears in the output, edit before posting, but don’t remove the context.

Jul 27, 2012 5:07 PM in response to BeatingAround

No, that's not necessary. Your home folder is screwed up. It's a common scenario in Lion, for reasons that I haven't been able to determine. Until recently, Apple made it ridiculously hard to recover from this condition. Things have improved, but it's still not a one-click operation as it should be.


This is a two-part procedure. First you'll unlock all locked files in your home folder, then you'll reset permissions and ACL's.


Part A


Back up all data.


Enter the following shell command in the same way as above:

sudo chflags -R nouchg,nouappnd ~

You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. You don't need to post the warning. If you don’t have a login password, you’ll need to set one before you can run the command.

The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.

The procedure below will reset the permissions of a home folder in OS X 10.7.4 or later. If you're running an earlier version of 10.7, update to the current version first. This procedure should not be used in OS X versions older than 10.7.4.

Part B

Back up all data again.

Step 1

Click the Finder icon in the Dock. A Finder window will open.

Step 2

Press the following key combinations, in the order given:


Command-3
Shift-command-H
Command-I


The Info window of your home folder will open.

Step 3

Click the lock icon in the lower right corner and authenticate with the name and login password of an administrator on the system. If you have only one user account, you are the administrator.

Step 4

In the Sharing & Permissions section of the window, verify that you have "Read & Write" privileges. If not, use the "+" and "-" buttons in the lower left corner to make the necessary changes.

Step 5

By default, the groups "staff" and "everyone" have "Read Only" privileges. With those settings, the files at the top level of your home folder will be readable by other local users. You can change the privileges to "No Access" if you wish, but then your Public and Drop Box folders will be inaccessible to others, and Personal Web Sharing won't work. Most likely, you don't need to change these settings.

Step 6

If there are entries in the Sharing & Permissions list for users or groups besides "me," "staff," and "everyone," delete them.

Step 7

Click the gear icon at the bottom of the Info window and select Apply to enclosed items... from the drop-down menu. Confirm. The operation may take several minutes to complete. When it does, close the Info window.

Jul 27, 2012 9:54 PM in response to Pondini

resetpassword removes the last entry from the ACL, or at least it did prior to 10.7.4; they may have fixed it. It also adds an ACL entry where one exists in the user template. It doesn't remove extra ACL entries, which is why I always had to instruct a shell procedure to do that. After resetpassword, I would often get people coming back and saying their home folder was still messed up.


What happens now with Apply to enclosed items... in the Finder is that the ACL's are completely deleted, and added back automatically where they should exist.


I saw this in a recent tech note, but I don't have the link.

Can't open old iWeb domain file (yes, I have asked in the other forum!)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.