Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Are UTIs read-only?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Are UTIs read-only?
Authored by: hamarkus on Sep 23, '09 01:00:54PM

And thus not useable for the purpose suggested here. From a post at Appleinsider:
Apple's docs on kMDItemContentType:

kMDItemContentType: The UTI pedigree of a file. A CFString.

For example, a jpeg image file will have a value of public.jpeg/public.image/ The value of this attribute is set by the MDImporter. Changes to this value are lost when the file attributes are next imported.

So it can be written to, but the value will be discarded by Spotlight. Not quite read only, but effectively so.

[ Reply to This | # ]