macfidelity

|

rethinking the think-different thing

Randnotiz | Snow Leopard und der Finder-Copy Bug

November 20th, 2009 at 20:01

Bei TidBits wurde am 10.November über ein Finder Copy Problem berichtet

Here’s a bug in Snow Leopard that I’ve isolated. I haven’t seen it reported elsewhere (not in precisely this form, at least), so I’ll describe it and let you reproduce it for yourself. You’ll need two computers, one of them running Snow Leopard.

… heute gibt’s die nachvollziehbare Erklärung

In theory, permissions on a symlink should be more or less meaningless; a Unix system should ignore them. But apparently Snow Leopard does not ignore them, and therein lies the trouble. Here’s what seems to be happening. The user tries to copy the bundle, so the Finder proceeds to copy the bundle’s contents. The symlink is encountered before the file it points to. So the symlink is copied to the remote machine, and now the system sees (I’m guessing) that the symlink’s permissions are unusual, and tries to copy those permissions onto the file it points to, also on the remote machine. But the file that the symlink points to has not yet been copied to the remote machine, so this attempt to set its permissions fails, and the Finder raises an error (-36).

Wer also regelmäßiger mit 10.6 Macs Filesharing betreibt und dabei bereits Bekanntschaft mit Fehler -36 gemacht hat -> lesen ;)

Beiträge der Kategorie Randnotiz erscheinen nicht auf der Hauptseite

Tags: , , , ,

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>