Re: Helper Tool on FireWire
Re: Helper Tool on FireWire
- Subject: Re: Helper Tool on FireWire
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Sun, 25 Jun 2006 20:51:04 +0200
To resume:
it might be possible to manually mount an external partition without
the nosuid option (not tried).
There are two levels of protection:
1. Finder Get Info "Ignore ownership on this volume" (does not affect
suid)
2. mounting with MNT_NOSUID flag.
What I do now:
NSSearchPathForDirectoriesInDomains( NSApplicationSupportDirectory,
NSUserDomainMask, YES );
statfs( path, buf);
check buf.f_flags & MNT_NOSUID
if not ok then use path = NSTemporaryDirectory() instead.
check again for suid. If again no good give up.
use path for my helper tool.
Gerriet.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden