Documents Locked

Discussion in 'Mac Pro' started by Mr M5, Nov 29, 2011.

  1. Mr M5 macrumors regular

    Joined:
    Apr 24, 2011
    #1
    Can somebody tell me how to unlock documents so I can make changes to them and save changes? I'm using pages and it locks almost instantly.
     
  2. theSeb macrumors 604

    theSeb

    Joined:
    Aug 10, 2010
    Location:
    Poole, England
    #2
    Cmd+I on the file in finder. Untick locked attribute.
     
  3. Mr M5 thread starter macrumors regular

    Joined:
    Apr 24, 2011
    #3
    looked isn't checked? :eek:
     
  4. derbothaus, Nov 29, 2011
    Last edited: Nov 29, 2011

    derbothaus macrumors 601

    derbothaus

    Joined:
    Jul 17, 2010
    #4
    Try this in Terminal:

    chflags -R nouchg /path/to/the/offendingfile

    That should clear the lock. run it as sudo if it gives you attitude. And maybe make a copy of the file first.
     
  5. Mr M5 thread starter macrumors regular

    Joined:
    Apr 24, 2011
    #5
    it states that there is no such file.
     
  6. ActionableMango macrumors 604

    ActionableMango

    Joined:
    Sep 21, 2010
    #6
    I hate to ask a possibly insulting question, but you did replace "/path/to/the/offendingfile" with the actual and correct path and filename of the file you want to unlock, right?
     
  7. derbothaus macrumors 601

    derbothaus

    Joined:
    Jul 17, 2010
    #7
    You can just type "chflags -R nouchg " and then drag the file from the finder.
    Make sure you have a space after the "nouchg".
    The file is there obviously.
     
  8. Mr M5 thread starter macrumors regular

    Joined:
    Apr 24, 2011
    #8
    yup

    ----------

    it states: permission denied
     
  9. wallysb01 macrumors 65816

    Joined:
    Jun 30, 2011
    #9
    try:
    sudo chflags -R nouchg

    then enter your log in password

    You could also open up permissions with chmod 777 /path/to/the/offendingfile. That will let anyone on the computer see, execute and edit the file.
     

    Attached Files:

  10. derbothaus macrumors 601

    derbothaus

    Joined:
    Jul 17, 2010
    #10
    Nice Wallysb.
    Just quoting myself:
    "run it as sudo if it gives you attitude. And maybe make a copy of the file first."
    I had reason to try this on a few files stuck on fibre attached today and it was super cool.
    chmod 777 doesn't always clear stubborn locks but worth a try if you need to do other things to the file.

    PS- I've seen that graphic on T-shirts. Cracked the IS team up. Everyone else just starred off.
     
  11. wallysb01 macrumors 65816

    Joined:
    Jun 30, 2011
    #11
    Yeah, I love xkcd comics, I have a shirt with a different comic on it.

    Anyway, I just thought I'd type out the full command, the OP maybe didn't know where to put sudo?
     

Share This Page