Re: NSTask and setuid [SOLVED]
Re: NSTask and setuid [SOLVED]
- Subject: Re: NSTask and setuid [SOLVED]
- From: Mudi Dandan <email@hidden>
- Date: Sat, 14 Mar 2009 04:02:09 +0100
It turned out that I set the setuid bit on different file from the one
I launched with NSTask.
This took me about 3 hours to realize, sorry :)
On Mar 14, 2009, at 2:24 AM, Mudi Dandan wrote:
Hi All,
I'm developing a setuid tool for my application and seems that
NSTask doesn't respect the setuid bit and the effective uid remains
501. However when launching the tool from the terminal the effective
uid is 0 as expected.
What am i missing?
Mudi
_______________________________________________
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