[OpenAFS-port-darwin] Unmount problem via

Derrick J Brashear shadow@dementia.org
Thu, 28 Jun 2007 13:58:15 -0400 (EDT)


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

---559023410-2112395285-1183053495=:11595
Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by meredith.dementia.org id l5SHwFul011052

On Thu, 28 Jun 2007 Claudio.Bisegni@lnf.infn.it wrote:

> I'm very near to release the first comp=F2iled version of preference pa=
ne,
> 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 script=20
in the dmg does?


> 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 operat=
ion
> 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
>
---559023410-2112395285-1183053495=:11595--