• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
componentsToDisplayForPath (running as root)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Layer-Hosting View on NSTabViewItem and switching Pages
  • Next by Date: Re: How to store NSRect as Core Data attribute?
  • Previous by thread: Re: Layer-Hosting View on NSTabViewItem and switching Pages
  • Next by thread: How to force NSTableView to stop editing a text cell?
  • Index(es):
    • Date
    • Thread