[OpenAFS-port-darwin] Unmount problem via

Claudio.Bisegni@lnf.infn.it Claudio.Bisegni@lnf.infn.it
Thu, 28 Jun 2007 19:47:26 +0200 (CEST)


I'm very near to release the first comp=F2iled version of preference pane=
,
but i mus tresolve a problem.
The startup work well but for shutdown i have this error:

umount: unmount(/afs): Operation not permitted

when call (1) umount -f /afs with:

AuthorizationExecuteWithPrivileges using

const char *args[] =3D {"-f", "/afs", 0L};
status =3D AuthorizationExecuteWithPrivileges (authorizationRef,
"/sbin/umount", kAuthorizationFlagDefaults , args, 0L);

This is the problem. When i use this tecnique to call other root operatio=
n
it work evry well.

If i call the (1) via terminal it work... any idea?

Thanks Claudio