Clicky

February 1, 2008

Finder Leopard crash fix - Automator Style

Filed under: TMUP-Blog — George Starcher @ 8:18 pm

by: George Starcher, Associate Editor

Hi everyone. Some of us with Leopard have run into a problem where Finder crashes if we try and modify user permissions on a folder.  Today when I got home I saw in my news reader that Ted Landau with Macworld posted a fix. The solution does work. I had the problem and it fixed it for me.

However… I am very lazy. So let’s do Ted’s fix Automator style. I have like 6 user accounts on my mac. Don’t ask… We all know I am a geek.

Here is a screen shot of my Automator to do this fix. You will need to be running as an admin user to do this.

Picture 1
Uploaded with plasq’s Skitch!

We cheat, we rely on the Users folder to gather our short user names.

  1. Just drag and drop the Users folder from your mac harddrive into the Automator. That will create the first action.
  2. Next drag the Files&Folders->Get Folder Contents action over to your stack.
  3. Next drag the Utlities->Run Shell Script action over to your stack, change the Pass Input pulldown to “as arguments”
  4. Paste in the following script code (I just added a loop and the sudo trick around Ted’s code)

    for f in “$@”
    do
    name=`basename “$f”`
    echo “yourPasswordhere” | sudo -S dscl . create /Groups/$name GroupMembership $name
    echo “yourPasswordhere” | sudo -S dscl . change /Groups/$name RecordName $name _$name
    done

  5. Replace the text phrase in the script yourPasswordhere with your real user password. We are not saving this so it is not a security risk of keeping our password around in plain text.
  6. Click Run. It should run successfully and perform the fix as explained by Ted. It sure worked for me.

If you don’t mind a hack and need the fix right away this should do it for you. No matter how many user accounts you have.

 

Like what you read or heard? Share and Enjoy:
  • digg
  • YahooMyWeb
  • Furl
  • del.icio.us
  • NewsVine
  • RawSugar
  • Reddit
  • Spurl
 

iPhone ringtones
February 2008
S M T W T F S
« Jan   Mar »
 12
3456789
10111213141516
17181920212223
242526272829  
 

typicalmacuser.com (TM) is a wholly owned subsidiary of Typical Media Group, LLC (TM) Copyright 2008,. Use of this web site, including text, graphics, audio and audio/video files content and information contained in those files, internal and external links and all content within (and leads external from) are provided to you only for your personal use. All opinions expressed by the host(s), blog authors, and authors of all comments on the website are their own, and do not in any reflect the opinions or beliefs of Typical Media Group, LLC (TM).