Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just added my Apple ID to a new MacBook Pro and tried to turn on iTunes Match. This is the error I get:

iTunes Match Error

The only info I can find indicates this is a connection error, but I can connect to other areas of the iTunes Store. Any ideas how I can resolve this?

share|improve this question
up vote 2 down vote accepted

According to this discussion or this one it seems (-54) is a file-lock problem. The proposed solutions are:

  • an AppleScript to remove locks

    Open the Script Editor in the /Applications/Utilities folder and run the following:
    tell application "Finder" set locked of every item of entire contents of folder "Music:iTunes" of home to false end tell

  • use Terminal to ensure ownership, group, and permissions are correct
    • use sudo chown your-username your-filename if you don't own the file/folder
    • use sudo chgrp staff your-filename if it isn't set to the same group as other iTunes items
    • use chmod 666 your-filename and/or chmod 777 your-folder-name to make sure everyone (and thing) can edit
  • disabling FileVault if used

In particular, check the permissions on the iTunes/Download folder which is where iTunes will first attempt to download "matched" songs.

share|improve this answer
Seems like a valid answer so I'm accepting, but unfortunately due to corp policy I'm not able to turn off FileVault. The AppleScript solution did not work for me either. – AJ. Mar 21 '12 at 16:31
chmod 666/777 is a security issue, especially in a shared/corporate environment. chmod'ing to 600/700 should be enough to avoid any permission issues for the current user. – patrix Jan 31 '13 at 6:34

Check out this video and see if it solves your problem. The intro is annoying, but I hope it helps.

share|improve this answer
No, sorry...note in my question I state that I'm using a MacBook Pro. – AJ. Mar 16 '12 at 16:24

It's a permissions denied error.

  • Are you sure your Apple ID hasn't been linked to more then 5 devices?
  • Have you tried to log out- and in again?
  • Has iTunes Match worked before?
share|improve this answer
How did you arrive from -54 to permissions denied? Might be worthwhile to post a link to whatever source helped you interpret that. – Chris W. Rea Mar 16 '12 at 15:34
Answers to your bullets: yes I'm sure it's not, yes I've tried logging out and back in, yes for my account, but not on this computer. – AJ. Mar 16 '12 at 16:25
I know it's an easy shot, but how about rebooting your Mac or reinstalling iTunes? – Michiel Mar 18 '12 at 13:33

I just ran the standard disk utility and restored permissions on the tome which contained my iTunes library. That took about a minute and fixed the problem for me.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.