Ten Things I Dig About Panther
Subject:   Access rights on some files
Date:   2003-10-19 07:46:45
From:   anonymous2
Response to: Access rights on some files

I'll address the first part of this post. The duplicating of a folder does result in world-writable permissions, bt my question is- where are you duplicating folders? I would suspect that most user's may duplicate a folder somewhere within their home directory, say the Desktop or Documents folder (where the user's files and folders should be kept for security reasons anyway). The duplicated file or folder may have world-writable permissions, but the enclosing folders do not. So the files would be protected.

With regard to the second question of your post, how long does the temp file remain? I agree that the best way to create a temp file would be to make it somewhere in the user's home/library/tmp folder (or something like that), but I suspect that the temp file is deleted shortly after it's creation. I have previewed PDF's in the past, but my /tmp directory has no files curenty in it.