• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iTunes : "File permission error"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iTunes : "File permission error"


  • Subject: Re: iTunes : "File permission error"
  • From: Axel Luttgens <email@hidden>
  • Date: Sat, 27 May 2006 16:45:58 +0200

On 27/05/06 9:12, Hiroshi T. wrote:

Hello,
I made a small script to make selected tracks not bookmarkable:

tell application "iTunes"
    set sel to a reference to selection
    repeat with i from 1 to count items of sel
        set curTrack to item i of sel
        if class of curTrack is file track then
            set bookmarkable of curTrack to false
        end if
    end repeat
end tell

But "File permission error" occurs. I'm using iTunes 6.0.4.
Tracks are recorded either in Apple Lossless or in AAC format and have ".m4a" extension.
The song files and "iTunes Music Library.xml" have write permission and I can change their track number, for example.


Any ideas?

Above code works without a problem here.
It seems you really have a file access problem (as far as one may trust the error message, of course).
Assuming your iTunes library is at its usual location, could you show the output of following command:


   ls -alo ~/Music/iTunes/

executed in Terminal.app?

Could you also tell us on which command exactly your AppleScript code raises the "File permission error"?

HTH,
Axel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: iTunes : "File permission error"
      • From: "Hiroshi T." <email@hidden>
References: 
 >iTunes : "File permission error" (From: "Hiroshi T." <email@hidden>)

  • Prev by Date: Re: iTunes : "File permission error"
  • Next by Date: Re: Routine for parsing path-filename....
  • Previous by thread: Re: iTunes : "File permission error"
  • Next by thread: Re: iTunes : "File permission error"
  • Index(es):
    • Date
    • Thread