Re: tell app, name in string var
Re: tell app, name in string var
- Subject: Re: tell app, name in string var
- From: Ron Hunsinger <email@hidden>
- Date: Fri, 27 May 2011 20:37:59 -0700
On May 27, 2011, at 5:21 PM, Doug McNutt wrote:
>
> <rant>
>
> Finder is an Apple invention that deliberately obscures files that DO EXIST.
Why stop at visibility?
Finder lies about filenames. When you tell Finder not to show filename extensions, that's a lie, because the extension is truly there.
Finder makes folders appear to be files. Sure, packaging is useful, but it isn't truthful.
Ditto with internationalization. Switch your language to non-English, and Finder lies about file/folder names. The names on disk don't really change, and Terminal isn't fooled a bit. Again, useful but not truthful.
But what really gets my goat is Finder's incompetent handling of permissions, as revealed in Get Info:
<rant category="extreme">
* It requires an admin password to let you change permissions on your own files. It should only require your password. They're your files, and the Unix convention is that the owner of a file has license to change any and all permissions, except to give away ownership (which would defeat quotas) or to put the file in a group the user is not in.
* It will neither reveal nor let you control any of the execute bits.
* If the group has no access, it pretends the file has no group.
* Once the group has no access, there's no way to grant it access, because you can't even see it. (Sure, you can add an ACL for any group, even one you're not in, specifying the group's permissions vis a vis the file. But ACLs take priority, so if you're in the group, the group's access supersedes the owner's. That's opposite to the way it's supposed to work.)
* Even if you can see the group, you can't change it, not even to another group you're in.
* Except that if you click on the group and press delete, it removes all permissions from the group (expected, I guess) but also changes the group to wheel. What? The only group Finder lets you change a file to is a group you're not in!
* Finder declines to mention most ACLs (especially the ubiquitous "group:everyone deny delete"). The ACLs it deigns to show are either paraphrased to the max, or described simply as "Custom". Finder denies you most of the power of ACLs.
In summary, Finder won't let you do anything useful with permissions, not even to let you see what they truly are. Anything related to permissions, even just reviewing them, must be done in Terminal.
</rant> _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden