|
|
Mimic Firefox for Windows' handling of Open With...
First of all, the OP has earned a vote of 5-stars from me, because this is a godsend hint that will prevent my Desktop from getting so cluttered with things I only meant to view/open (I've set Desktop as my Firefox download directory and that's where I will keep it).
Secondly, I was indeed concerned about the security of placing things like my bank-statements that I download for viewing, etc. in /tmp, so, following the advice of others, including the guy/gal I'm replying to here. However, I've come up with, I think, an easier solution to manage overall:
I've created a folder in /Library/StartupItems called "MkPrivateTmp". You can do this using the following command in a terminal window (click your desktop, then press CMD-SHIFT-U, then open "Terminal"):
Assuming your account is set as an Admin account, enter your own password when prompted. If your account isn't an Admin account, then, well, you're out of luck, ask your administrator to set this up for you.Inside this folder, you need to create two items: MkPrivateTmp (a script file - this is required to have the same name as the parent folder) and StartupParameters.plist (a required plist file). To create these files, use these commands:
Then, in vi, press "I", then paste the contents listed below for "MkPrivateTmp" into the shell window, then press ":x". When finished with MkPrivateTmp, do the same for StartupParameters.plist.MkPrivateTmp
StartupParameters.plist
Now, set the ownership and permissions appropriately as follows:
Now, just reboot and /tmp will automatically have one folder per Mac-user with permission set only for him/her to read write and examine the contents of this private tmp folder.
Now, in Safari, set the download directory to "/tmp/[yourusername]" instead of just "/tmp" and voila, you're in business. From now on, when you open a download in Firefox, it will indeed open, but it will not leave the download in your download folder (Desktop, for me). However, when you download a file, it will indeed, be placed wherever you've configured Firefox's downloads to go (again, Desktop, for me).
I hope this helps someone else!
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.35 seconds |
|