• 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
How can Safari write Bookmarks.plist without permission?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How can Safari write Bookmarks.plist without permission?


  • Subject: How can Safari write Bookmarks.plist without permission?
  • From: Jerry Krinock <email@hidden>
  • Date: Thu, 26 May 2005 20:54:07 -0700

While troubleshooting a problem for a user tonight, I changed the
permissions of my Safari's bookmarks file:

~/Library/Safari/Bookmarks.plist

to "You can read only".  I then opened the file with Property List Editor,
changed a value, clicked "Save" and, as expected, I got a dialog saying that
it could not be saved because I did not have permission, etc.

I then launched Safari, added a bookmark, moved bookmarks around, and got no
complaints.  Furthermore, the modification time of Bookmarks.plist had just
changed!  Indeed, if I quit Safari and then re-launched, my changes were
there!!

If I open Terminal and type:

ps -ax -O uid | grep Safari

I see that the effective user ID of the Safari process if 501 (me), as
expected.  I've been studying Apple's Security docs lately and this does not
seem to be correct.  How could they do this?

Jerry Krinock


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: NSServices
  • Next by Date: RE: How can Safari write Bookmarks.plist without permission?
  • Previous by thread: Re: NSServices
  • Next by thread: RE: How can Safari write Bookmarks.plist without permission?
  • Index(es):
    • Date
    • Thread