Re: "Ignore Ownership on this volume" check-box status
Re: "Ignore Ownership on this volume" check-box status
- Subject: Re: "Ignore Ownership on this volume" check-box status
- From: Lorenzo <email@hidden>
- Date: Thu, 08 Apr 2004 17:30:25 +0200
Hi CHarles,
I have just made some test on vsdbutil and I would like to pose some
questione more.
I wrote
vsdbutil -c '/Volumes/MyVolume'
and it returned the string
Permissions on '/Volumes/MyVolume' are disabled.
or it returned the string
Permissions on '/Volumes/MyVolume' are enabled.
It doesn't return an error code. It return a string.
And when the disk doesn't exist I get a string
--
vsdbutil: Couldn't get volume information for '/Volumes/XXX': No such file
or directory
vsdbutil: couldn't read volume UUID on '/Volumes/XXX': No such file or
directory
--
So, should I manage the result as string?
Is that professional?
And if in the future this returned string will change?
Is this tool present on any MacOS X?
Best Regards
--
Lorenzo
email: email@hidden
>
From: Charles Srstka <email@hidden>
>
Date: Thu, 08 Apr 2004 09:19:10 -0500
>
To: Lorenzo <email@hidden>
>
Subject: Re: "Ignore Ownership on this volume" check-box status
>
>
On Apr 8, 2004, at 4:48 AM, Lorenzo wrote:
>
>
> Hi,
>
> I select a volume icon in the Finder, then call the menu item "Get
>
> Info".
>
> I go to the sub-panel "Ownership & Permissions" and see the check-box
>
> "Ignore Ownership on this volume".
>
>
>
> How to get the status of this check-box programmatically?
>
> Any suggestion would be welcome.
>
>
You can launch the vsdbutil tool - it's capable of doing this.
>
>
Charles
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.