componentsToDisplayForPath (running as root)
componentsToDisplayForPath (running as root)
- Subject: componentsToDisplayForPath (running as root)
- From: spsaxena <email@hidden>
- Date: Wed, 9 Apr 2008 18:05:40 +0530
Hi all,
I am facing a problem in getting the correct display name while running as
root. Actually while running as root if I call API's like
componentsToDisplayForPath of NSFileManager or LSCopyDisplayNameForRef, they
return me the display path components always in English as the root locale
is English. I wish to get the display name as per the current user.
Can anyone please let me know how can I get the display name of path
components based on logged in user, while running as root. (I tried setting
the euid to that of current user but that did not work).
Thanks,
Sharad!
_______________________________________________
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