I want to programmatically enumerate files within a folder with restricted access (such as home folder of another user), similar to using sudo command in Terminal.
I have read the "Performing Privileged Operations With Authorization Services" guide and I have written the code that creates the authorization reference and shows the dialog for entering the admin password. Now I am puzzled what do I do next? How do I use this authorization reference, how do I pass it to the file manipulation functions? I tried to enumerate the restricted folders, but I keep getting the permission denied error. Thanks! _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com