Skip navigation.
 
mlRe: Helper Tool on FireWire
FROM : Gerriet M. Denkmann
DATE : Sun Jun 25 20:51:04 2006

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.

Related mailsAuthorDate
mlHelper Tool on FireWire Gerriet M. Denkman… Jun 24, 22:33
mlRe: Helper Tool on FireWire Damien Sorresso Jun 24, 22:55
mlRe: Helper Tool on FireWire Chris Suter Jun 25, 10:14
mlRe: Helper Tool on FireWire Gerriet M. Denkman… Jun 25, 10:14
mlRe: Helper Tool on FireWire Finlay Dobbie Jun 25, 13:25
mlRe: Helper Tool on FireWire wadeslists Jun 25, 13:45
mlRe: Helper Tool on FireWire Chris Suter Jun 25, 13:53
mlRe: Helper Tool on FireWire Gerriet M. Denkman… Jun 25, 20:49
mlRe: Helper Tool on FireWire Gerriet M. Denkman… Jun 25, 20:51
mlRe: Helper Tool on FireWire Finlay Dobbie Jun 26, 00:41