Re: Write to file.
Re: Write to file.
- Subject: Re: Write to file.
- From: John Cebasek <email@hidden>
- Date: Tue, 23 Dec 2008 09:31:05 -0500
Well, it's been a long time since I worked on a loginwindow
replacement, but I think it was when Tiger was released, I had to
split my code into two mechanisms , one privileged - which could have
no GUI, and could write to at least /tmp and the global Preferences
directory and then a non-privileged that could do GUI, but obviously
no I/O.
Does this sync with how your code is structured?
You set whether or not the mechanism was priviledged in the
authorization file. Our installer copied the original authorization
file and then modified entries in our new copy of the file. You want
to keep a backup - just in case - otherwise your reinstalling OS X if
you find a bug.
Also, what's in asl.log? If I made a mistake, any errors were reported
there. Have you looked?
Just a thought but have you asked your question over at apple-cdsa?
Conrad Saurald (probably spelt that incorrectly) should be able to
point you in the right direction?
John
On 23-Dec-08, at 7:34 AM, Macarov Anatoli wrote:
CFPreferences doesn't work. My bundle works in login window under
user account securityagent. Can I somehow with the user's rights
create file?
________________________________________________________
Вы уже с 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
_______________________________________________
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