[OpenAFS-port-darwin] Unmount problem via

Claudio.Bisegni@lnf.infn.it Claudio.Bisegni@lnf.infn.it
Thu, 28 Jun 2007 20:02:04 +0200 (CEST)


> On Thu, 28 Jun 2007 Claudio.Bisegni@lnf.infn.it wrote:
>
>> I'm very near to release the first comp=F2iled version of preference p=
ane,
>> but i mus tresolve a problem.
>> The startup work well but for shutdown i have this error:
>>
>> umount: unmount(/afs): Operation not permitted
>
> um, what if you let osascript call it for you, like the uninstall scrip=
t
> in the dmg does?
>

I don't have try it until now, do you have an examples?

>
>> 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
>> operation
>> it work evry well.
>>
>> If i call the (1) via terminal it work... any idea?
>>
>> Thanks Claudio
>> _______________________________________________
>> port-darwin mailing list
>> port-darwin@openafs.org
>> https://lists.openafs.org/mailman/listinfo/port-darwin
>>