• 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: Move file with admin priviledges
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Move file with admin priviledges


  • Subject: RE: Move file with admin priviledges
  • From: "Michael Latta" <email@hidden>
  • Date: Tue, 24 Oct 2006 15:46:06 -0700

I believe if I remember correctly that you can elevate a sub-process not the
current process.  You need to place the copy operation in a sub-process that
you create with elevated privileges.  It has been too long for me to
remember details (sorry).

Michael



> -----Original Message-----
> From: cocoa-dev-bounces+lattam=email@hidden [mailto:cocoa-dev-
> bounces+lattam=email@hidden] On Behalf Of AstroK Software
> Sent: Tuesday, October 24, 2006 9:59 AM
> To: email@hidden
> Subject: Move file with admin priviledges
>
> Hi,
>
> I am trying to enable a user to move a file that doesn't belong to
> him or her if he or she can identify himself or herself as an admin,
> with the method [[NSFileManager defaultFileManager]
> movePath:toPath:handler]; I have tried to use the AuthForAll example
> from Apple (which is Carbon, but I thought it could work anyway), and
> I can make the dialogue to identify myself by typing a username and
> password show up, but once I type my password, I still cannot move
> the file...
>
> What did I do wrong?
>
>   -- Arthur;
>
> --
> AstroK Software
> Arthur VIGAN
> email@hidden
>
>
>
>  _______________________________________________
> 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

 _______________________________________________
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

  • Follow-Ups:
    • Re: Move file with admin priviledges
      • From: Andrew Farmer <email@hidden>
References: 
 >Move file with admin priviledges (From: AstroK Software <email@hidden>)

  • Prev by Date: Move file with admin priviledges
  • Next by Date: CIImage from CGImageRef
  • Previous by thread: Move file with admin priviledges
  • Next by thread: Re: Move file with admin priviledges
  • Index(es):
    • Date
    • Thread