• 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: Folder has limited permissions.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Folder has limited permissions.


  • Subject: Re: Folder has limited permissions.
  • From: Macarov Anatoli <email@hidden>
  • Date: Mon, 28 Jul 2008 03:48:33 -0700 (PDT)

   Problem solved.
   Cod work:

    NSPipe *writePipe = [NSPipe pipe];
    NSFileHandle *writeHandle = [writePipe fileHandleForWriting];
    NSTask *task = [[NSTask alloc] init];
    NSString *command = @"/usr/libexec/authopen";
    NSArray *args = [NSArray arrayWithObjects:@"-w",@"/etc/tolea.txt",nil];
    [task setLaunchPath:command];
    [task setArguments:args];
    [task setStandardInput: writePipe];
    [task launch];
    [writeHandle writeData:[NSData dataWithContentsOfFile:@"/applications/tolea.k"]];
    [writeHandle closeFile];
    [task release];

Thanks ALL...



      ________________________________________________________
Вы уже с Yahoo!?
Испытайте обновленную и улучшенную. Yahoo! Почту! http://ru.mail.yahoo.com
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: iCal like calendar interface in my application
  • Next by Date: Re: Need help with predicate format
  • Previous by thread: Re: Folder has limited permissions.
  • Next by thread: XML serialization and deserialization
  • Index(es):
    • Date
    • Thread