Re: iTunes : "File permission error"
Re: iTunes : "File permission error"
- Subject: Re: iTunes : "File permission error"
- From: Axel Luttgens <email@hidden>
- Date: Mon, 29 May 2006 10:27:59 +0200
On 28/05/06 14:41, Hiroshi T. wrote:
[...]
Here is the result:
[kelvino:~:76] sw_vers
ProductName: Mac OS X
ProductVersion: 10.3.9
BuildVersion: 7W98
[kelvino:~:77] id
uid=777(hrst) gid=20(staff) groups=20(staff), 777(hrst)
[kelvino:~:78] cd
[kelvino:~:79] pwd
/Volumes/Local-1/LocalUsers/hrst
[kelvino:~:80]
My home directory is not on the root file system. I made a symbolic
link after creating the user 'hrst'.
[kelvino:~:86] ls -l /Users/LocalUsers
lrwxr-xr-x 1 root admin 27 9 Oct 2005 /Users/LocalUsers@ ->
/Volumes/Local-1/LocalUsers
[kelvino:~:87]
Yep, I was suspecting something like this. :-)
Is Local-1 a partition of the internal hard disk, or an attached disk,
such as a FireWire disk?
Anyway, it seems that Local-1 (and very likely Local-2 too) has the
"Ignore ownership on this volume" checkbox checked (in the Info for...
window), and that's not exactly a good idea for a volume hosting home
directories.
I may be wrong, but should it be the case, it could be worth to have a
look at the possible consequences of such a configuration (Apple's site
has a lot of info about this), and perhaps to correct this when you have
the opportunity (do it carefully, as the ownership and permissions of
the various files/folders on Local-1 may need to be redefined).
It could even be a good idea to change, in Netinfo, the path to the home
directory, so that it points to the actual location; but again, with
caution: if everything is currently working as expected...
Now, given the results you have provided below, the problems you have
encountered with audio files seem to be related to the nature of the
files, not to POSIX permissions.
[...]
As to trying your script, I made six audio files:
Oops! That's kind of luxurious!
Thanks for having taken the time to create those files and to make
things as unambiguous as possible.
RadioShark-AAC-Bookmarkable.m4b
RadioShark-AAC-Non_Bookmarkable.m4a
AHJP-AAC-Bookmarkable.m4a
AHJP-AAC-Non_Bookmarkable.m4a
AHJP-ALC-Bookmarkable.m4a
AHJP-ALC-Non_Bookmarkable.m4a
I checked the "bookmarkability" of these files in iTunes by actually
playing.
The results conform to the law: B-file fails, N-file succeeds.
The keyword is "protected". "Protected" files cannot be made
non-bookmarkable.
I do not understand why these applications create "protected" files
for bookmarkable setting and
non-protected files for non-bookmarkable setting.
I'd like to know how to turn the "protection" off.
Here is the script I tried. I made a little modification so that the
result of
"set bookmarkable" command can be seen:
==============================================================
[...]
==============================================================
Here is the event log:
==============================================================
[...]
==============================================================
Summarizing the log, it thus appears that setting the bookmarkable
property fails for:
"Protected AAC audio file"
RadioShark-AAC-Bookmarkable.m4b
"Protected AAC audio file"
AHJP-AAC-Bookmarkable.m4a"
"Protected Apple Lossless audio file"
AHJP-ALC-Bookmarkable.m4a"
and that setting the bookmarkable property succeeds for:
"AAC audio file"
RadioShark-AAC-Non_Bookmarkable.m4a"
"AAC audio file"
AHJP-AAC-Non_Bookmarkable.m4a"
"Apple Lossless audio file"
AHJP-ALC-Non_Bookmarkable.m4a"
So, a "File permission error" message makes sense (even if somewhat
misleading).
All this also indicates that your initial scripting attempt was correct.
But I fear I can't be of much help anymore, as I am definitively not an
expert in audio file formats nor in iTunes!
Perhaps could you have a look at the iTunes discussions at
<http://discussions.apple.com> ?
Have a nice day,
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