10 Replies Latest reply: May 19, 2012 5:59 PM by Ashka
Ashka Level 4 Level 4 (3,760 points)

1. MBP with 10.7.3 dead. recent FireWire TM backup, have never used USB option.

2. New MB Air.10.7.3.

3. Set up with Air with TM attached.. failed, bad USB cable.

4. Used Migration assistant with TM.. New name needed..

5. All looked OK. kept new user, deleted first one.

6. TM Drive wouldn't work with Air, used Disc utility to erase.. now works fine.

7. Updated to 10.7.4.

8. Found locked budget spreadsheets 08, 09, 10 & 11 plus others. One 2008 & all 2012 not locked.

9. Couple of docs also locked.

10. Cannot delete, cannot move, cannot use the normal get info to change user permissions which are set on fetching?.. Can duplicate.

 

I would really like to be able to move and or delete these if possible.. Thanks.

get info.png  locked Icon.png


MacBook Air, Mac OS X (10.7.4), iPod Classic, iPad1 & 2.
  • 1. Re: Permission locked files OSX 10.7.4
    ds store Level 7 Level 7 (30,305 points)

    See the #5 Reset users permissions here

     

    Step by Step to fix your Mac

     

     

    You could also change the "everyone" to read and write, that would include you.

     

     

    Place all in a folder and apply to enclosed items.

  • 2. Re: Permission locked files OSX 10.7.4
    Linc Davis Level 10 Level 10 (117,730 points)

    Repairing the permissions of a home folder in Lion is a complicated procedure. I don’t know of a simpler one that always works.

     

    Back up all data now. Before proceeding, you must be sure you can restore your system to its present state

     

    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 — the following line into the Terminal window, then press return:

     

    chmod -R -N ~

     

    The command will take a noticeable amount of time to run. When a new line ending in a dollar sign ($) appears below what you entered, it’s done. You may see a few error messages about an “invalid argument” while the command is running. You can ignore those. If you get an error message with the words “Permission denied,” enter this:

     

    sudo !!

     

    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.

     

    Next, boot from your recovery partition by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.

     

    When the recovery desktop appears, select Utilities ▹ Terminal from the menu bar.

     

    In the Terminal window, enter “resetpassword” (without the quotes) and press return. A Reset Password window opens. You’re not going to reset the password.

     

    Select your boot volume if not already selected.

     

    Select your username from the menu labeled Select the user account if not already selected.

     

    Under Reset Home Directory Permissions and ACLs, click the Reset button.

     

    Select ▹ Restart from the menu bar.

  • 3. Re: Permission locked files OSX 10.7.4
    Ashka Level 4 Level 4 (3,760 points)

    Hi ds store.

     

    Cannot reset 'everyone' to read - write.. cannot change any of the options, yes the lock is unlocked.

     

    #5.. No HD available to select.. never mind users. OS10.7.4.

     

    Placing the locked files in a folder is impossible as they cannot be moved. Copied yes moved no.

     

    Anymore ideas please...

  • 4. Re: Permission locked files OSX 10.7.4
    Ashka Level 4 Level 4 (3,760 points)

    Hi Link,

    Thanks but I'm not comfortable in terminal ~ just the way it is, I know my limitations.

    Old hands a bit shaky...

  • 5. Re: Permission locked files OSX 10.7.4
    Linc Davis Level 10 Level 10 (117,730 points)

    If you can drag or copy, you can carry out that procedure. No typing is involved, except the word "resetpassword" and possibly your login password, and you type that anyway. If you're still not able to do it, get someone to help you.

  • 6. Re: Permission locked files OSX 10.7.4
    Ashka Level 4 Level 4 (3,760 points)

    Ok Linc,

    First command pasted in . return.

    Using the terminal inspector I have Running processes login & bash. Nothing for the last half hour.

    How do I undo and start again if necessary.

  • 7. Re: Permission locked files OSX 10.7.4
    Linc Davis Level 10 Level 10 (117,730 points)

    Close the Terminal window and confirm that you want to quit the running process. Open a new window and press the up-arrow key once to re-enter the command, but don't press return yet. Post a screenshot of the window with the command entered so I can see whether it's correct.

  • 8. Re: Permission locked files OSX 10.7.4
    Ashka Level 4 Level 4 (3,760 points)

    Hi,

    Term.png

  • 9. Re: Permission locked files OSX 10.7.4
    Linc Davis Level 10 Level 10 (117,730 points)

    Some of your files are locked. To correct that, enter the command below in the same way as before. Press the down-arrow key first to get rid of the line you already entered.

     

    chflags -R nouchg,nouappnd ~

     

    Then proceed as above.

  • 10. Re: Permission locked files OSX 10.7.4
    Ashka Level 4 Level 4 (3,760 points)

    Thank you very much..

    The dead-locked files and spreadsheets are now unlocked.

     

    Just a quick note:

    Not knowing what the heck I was doing I really needed "hit return after every command" written in the instructions..

     

    Thanks again.. S