Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Mimic Firefox for Windows' handling of Open With...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Mimic Firefox for Windows' handling of Open With...
Authored by: lar3ry on Dec 21, '06 01:46:44PM
That's doesn't necessarily have to be true.

/tmp links to /private/tmp, which has the mode "rwxrwxrwt" (effectively, 777 + Sticky Bit). The Sticky Bit means that anybody can create files in the directory, but only the owner or root can delete the files. (See "man 8 sticky" within Terminal for the official description of the Sticky Bit.)

So, whether or not anybody can READ your files depends on the default umask employed by Safari. I'm not sure where this information is stored (NetInfo?), but empirically, it appears the default umask may be 644 (rw-r--r--), which means that indeed, anybody might be able to read your files.

[ Reply to This | # ]

Mimic Firefox for Windows' handling of Open With...
Authored by: jeremyp on Dec 22, '06 06:30:15AM

Just a minor point. The umask tells you which bits of the mode are masked out and so has the reverse sense of the mode bits. the default umask is 0022 which gives a mode of 0644 or 0755.

NB you can find out what your umask is by opening a shell and typing "umask" without parameters.



[ Reply to This | # ]