• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Helper Tool on FireWire
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Helper Tool on FireWire
  • Next by Date: Multiple nib files in a core data app
  • Previous by thread: Re: Helper Tool on FireWire
  • Next by thread: objc_msgSend_stret Intel crashes
  • Index(es):
    • Date
    • Thread