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


Click here to return to the '10.5: Change the Finder's default Find window' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Change the Finder's default Find window
Authored by: hamarkus on Mar 09, '08 04:20:37AM
I have noticed that my new .plist file has an extended attribute (indicated by the @ at the end of the permissions listing as seen by ls -all). Calling:
$ xattr -l default_smart.plist
com.apple.FinderInfo:
0000 2A 2A 2A 2A 48 64 72 61 00 00 00 00 00 00 00 00 ****Hdra........
0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

com.apple.TextEncoding: MACINTOSH;0

And in fact this .plist file has a file icon of the application I edited it with. I don't think the file icon really screws up things but the text encoding just might.

Trying to remove the extended attribute with:
$ xattr -d com.apple.FinderInfo default_smart.plist
No such xattr: com.apple.FinderInfo

That is strange.

[ Reply to This | # ]
sudo xattr -d works however
Authored by: hamarkus on Mar 09, '08 04:29:54AM

I am still a bit surprised where it picked up the file encoding 'MACINTOSH:0', but removing it did not fix anything.



[ Reply to This | # ]
sudo xattr -d works however
Authored by: baltwo on Mar 09, '08 01:19:23PM

I get:

$ xattr -l default_smart.plist
com.apple.TextEncoding: UTF-8;134217984

Additionally,

$ ls -el@ default_smart.plist
-rw-r--r--@ 1 me me 1456 Feb 29 19:46 default_smart.plist
com.apple.TextEncoding 15

I get nothing dealing with com.apple.FinderInfo or MACINTOSH;0



[ Reply to This | # ]
sudo xattr -d works however
Authored by: hamarkus on Mar 09, '08 01:44:58PM

Just blame SubEthaEdit, it added the file icon and generally does funny stuff with file encodings.



[ Reply to This | # ]