FROM : Rainer Brockerhoff
DATE : Thu Dec 19 23:33:14 2002
At 13:50 -0600 19/12/2002, Sheehan Olver wrote:
>Couldn't you just copy the applet from your .app bundle to /tmp whenever you run, and delete it when you quit? This way you don't need to worry about permissions (/tmp is guaranteed everyone-readwrite, correct?) Why do you need write access on an applet anyways?
But then the user will be asked for the admin password on every run!
I need write access to the applet only to "setuid root" it. Afterwards, no password is necessary.
--
Rainer Brockerhoff <<email_removed>>
Belo Horizonte, Brazil
"I love deadlines. I love the whooshing noise they make as they go by" (Douglas Adams)
http://www.brockerhoff.net/ now with forums for XRay, Zingg! et al.
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Thu Dec 19 23:33:14 2002
At 13:50 -0600 19/12/2002, Sheehan Olver wrote:
>Couldn't you just copy the applet from your .app bundle to /tmp whenever you run, and delete it when you quit? This way you don't need to worry about permissions (/tmp is guaranteed everyone-readwrite, correct?) Why do you need write access on an applet anyways?
But then the user will be asked for the admin password on every run!
I need write access to the applet only to "setuid root" it. Afterwards, no password is necessary.
--
Rainer Brockerhoff <<email_removed>>
Belo Horizonte, Brazil
"I love deadlines. I love the whooshing noise they make as they go by" (Douglas Adams)
http://www.brockerhoff.net/ now with forums for XRay, Zingg! et al.
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.






Cocoa mail archive

