When following a link to a PDF, the file is displayed in the browser window. At this point, one may use Cmd-S to save the PDF file to some location on disk. The file created has an incorrect gid, in the sense that the gid does not correspond in any way to the current user. In my particular case, the current user can't even normally create a file with the observed gid, so it's not clear how the group id is being set. Steps to reproduce (I'm picking a particular PDF, for the sake of illustration---I've observed similar behavior with other PDF files, so the PDF itself shouldn't matter): [1] Open http://www.cis.upenn.edu/~baydemir/files/abw06nominal.pdf in a browser window. The PDF should display normally. [2] Choose "File > Save as..." and save the PDF file to some location disk. [3] Now examine the group id (gid) of the file. In my particular case, I saved the file as "abw06nominal.pdf" to ~/Desktop. Cutting and pasting from Terminal.app: % id uid=502(kitby) gid=502(kitby) groups=502(kitby) % groups kitby % ls -l total 312 -rw-r--r-- 1 kitby wheel 159578 Apr 11 11:00 abw06nominal.pdf The group "wheel" makes no sense for the file I just saved. By default, files I create should fall in group "kitby". I'm not a member of "wheel", so it's not clear how I caused the creation of a file with group "wheel".
This looks like a Safari bug, so it need to be reported via <http://bugreport.apple.com>. Actually, page source is also saved the same way for me.
<rdar://problem/5319536>
Closing as RESOLVED/INVALID since this issue can't be fixed in WebKit. It will be tracked by the Radar bug.