Re: Where is the "Ignore ownership on this volume" bit?
Re: Where is the "Ignore ownership on this volume" bit?
- Subject: Re: Where is the "Ignore ownership on this volume" bit?
- From: Bucanek James <email@hidden>
- Date: Tue, 26 Aug 2008 08:05:56 -0700
On Aug 26, 2008, at 1:47 AM, Quinn wrote:
At 11:37 -0700 25/8/08, Bucanek James wrote:
Well, I'm not sure that does make sense. If I install an OS on an
external drive and then plug it into a different system, I would
have expected the volume's "Ignore ownership" property to follow it.
The problem is that the ownership (that is, the values stored in the
user and group ID fields of the file system objects on the volume)
depends on the directory store, and the directory store is tied to
the boot volume (except in managed environments). To continue your
example, imagine that, when you installed the OS on your "external
drive", the initial admin user was "Test" but the initial admin user
on your "different system" was "James". Both of these get user ID
501, and that's what written to "/User/test" on the "external
drive". Are these intended to be the same user? The system doesn't
know for sure, so we leave it up to the user to decide. Passing the
buck to the user is a cop out, but a non-cop out solution is hard.
Very sensible.
Ah, your initial post talked about changing the setting.
Detecting AND changing it would have been the ideal. But I'll take
just detecting it.
Detecting the setting is easy:
<x-man-page://2/statfs> > f_flags > MNT_IGNORE_OWNERSHIP
Sweet! Thanks a million.
James
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden