On 2009-09-14, Wes Groleau <groleau+> wrote:
> Ian Gregory wrote:
>> The only problem with "repair permissions" is that it is so widely
>> misunderstood.
>
> It's certainly misunderstood if you think it is similar
> to unix-privesc-check
Of course "check permissions" it is similar to unix-privesc-check in
that they both check permissions. I am well aware of the ways in which
they differ but your garbled description of how "check permissions"
works clearly indicates that it is you, not me who belongs to the massed
ranks of those who misunderstand it.
This started out with someone bemoaning the fact that "repair
permissions" exists on Mac OS X but not FreeBSD. I just pointed out that
all Unix sysadmins need to be aware of permissions issues and be
prepared to check them if necessary. On FreeBSD you might do it manually
using find(1) or by running some third party scripts. I gave
unix-privesc-check as one example of such a script but there are plenty
of others, for example scripts which make a record of all file
permissions that can be used later to see if permissions have changed.
I don't get why people are criticising Apple for having included some
permissions checking functionality in Disk Utility. It doesn't do
everything but it is better than nothing and you don't have to use it if
you don't want to.
Ian
--
Ian Gregory
http://www.zenatode.org.uk/ian/