• 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: Person experienced with auth services needed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Person experienced with auth services needed


  • Subject: Re: Person experienced with auth services needed
  • From: Mark Williams <email@hidden>
  • Date: Mon, 26 Jun 2006 13:17:23 -0700

The truth. I have never gotten an app to run correctly with privs. The security frame work is beyond me. I need a working way to copy files with privs and I know I cannot do it on my own which is why I'm hoping to find some one that can do that part so I can enjoy writing the rest of my program.

I have poured over the sample code and info on the developer site but it might a well be written in chinese because I can't get it to click in my head.

See the problem is if I just pass the two root folders to any app ditto or other wise, I cannot control file bye file what is copied. Which is why I keep calling execute with privs. I have a helper app I wrote that would do the right things but haven't the fogiest how to execute it with privs and then get it to write back the data so that the main app can put it in to a database. Right now if I even try the main app crashes.

Mark.

On Jun 26, 2006, at 12:20 PM, A.M. wrote:

On Mon, June 26, 2006 3:02 pm, Mark Williams wrote:
I am willing to pay some one to write me a method that accepts to
path arguments, executes ditto with privileges in verbose mode(see below),
using the paths as it's arguments and then reads all of ditto's output. I
would like for it to log the output to the console, NSLog() is fine one
line at a time, as they come in. This method may be called time and time
again, ie, the calling method will often use a directory iterator to have
this method copy files and sometimes folders. This is where I keep
failing. I keep getting the error "resource /usr/bin/ditto temporarily
unavailable" when doing large folders with many items in them.


The job will pay upon receiving working code. Working meaning it
works in the target application.

**ditto -rsrc -V source dest

It's nice that you're offering money, but there are plenty of people here
willing to help you for free.


Are you calling ditto with very long arguments? There is a maximum length.

Could you use Finder via AppleScript as a workaround?

-M

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40fornextsoft.com


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
References: 
 >Person experienced with auth services needed (From: Mark Williams <email@hidden>)
 >Re: Person experienced with auth services needed (From: "A.M." <email@hidden>)

  • Prev by Date: NSTextField and controlTextDidEndEditing
  • Next by Date: Detecting Internet
  • Previous by thread: Re: Person experienced with auth services needed
  • Next by thread: Re: CILinearGradient not linear?
  • Index(es):
    • Date
    • Thread