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

RE: How can Safari write Bookmarks.plist without permission?


  • Subject: RE: How can Safari write Bookmarks.plist without permission?
  • From: Jeff Laing <email@hidden>
  • Date: Fri, 27 May 2005 14:00:53 +1000

> 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.

This will be because the Property List editor writes directly to the file.

> I then launched Safari, added a bookmark, moved bookmarks
> around, and got no complaints.

This will be because Safari write a new file, closes it, unlinks the
original, and renames the copy.

Common permissions misunderstanding - read-only permission on a file does
not prevent you deleting it, it prevents you from writing to it.  Read-only
permission on a DIRECTORY stops you from creating/renaming files inside it.
 _______________________________________________
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: How can Safari write Bookmarks.plist without permission?
  • Next by Date: Strange Error
  • Previous by thread: How can Safari write Bookmarks.plist without permission?
  • Next by thread: Strange Error
  • Index(es):
    • Date
    • Thread