[X-Unix] Owner/Group changes depending on login?

James Bucanek subscriber at gloaming.com
Sun Oct 29 21:27:33 PST 2006


Jeffrey Ellis wrote on Sunday, October 29, 2006:
>So my first question
>is, is there some flag which is visible at the command line which would show
>this, and if so, what command would I use?

diskutil info /Volumes/Vol

    ...
    Owners: Ensabled/Disabled
    ...

>But more — and stranger to me — is that when I’m sudo’d, the same volumes
>suddenly give “unknown” as their Owner/Group?? And this is even for volumes
>where Ignore Ownership is not checked.

I know of a bug in the OS where the UID of files on external volumes is different if you read the catalog information as a regular user vs. root. I suspect that it applies to files written with an earlier version of the OS as attempts to reproduce the problem have failed on my system.

-- 
James Bucanek


More information about the X-Unix mailing list