|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
How do I make unveil access any folder I want when using Firefox?
First time poster. Forgive me if this is posted in the wrong place.
I am using OpenBSD -current and I am having some issues with unveil and Firefox. As you know unveil by default only gives Firefox access to ~/Downloads, but I want to be able to download into other folders. I have managed to give Firefox access to ~/Pictures, ~/Documents and ~/Videos by adding ~/Pictures rwc ~/Documents rwc ~/Videos rwc to /usr/lib/firefox/browser/defaults/preferences/unveil.main, but I can't seem to give access to any other folder in my home folder, such as ~/Dropbox. I am quite the noob at openbsd and forgive me if this is explained in the unveil man. Last edited by J65nko; 13th January 2020 at 07:37 AM. Reason: unvail -> unveil ;-) |
|
||||
Hello, and welcome!
/usr/local/share/doc/pkg-readmes/firefox recommends not changing the files in /usr/local/, instead making local copies in /etc and editing them there. Otherwise, you will need to revise the files each time you update the package. Quote:
|
|
|||
Thanks for the warm welcome!
I now copied the files from /usr/local/lib/firefox/browser/defaults/preferences/ to /etc/firefox/ and the problem still persist only this time there is some problem with the fonts (picture attached) One other problem I have with unveil is with making transmission-gtk open magnet links. Adding /usr/local/bin/transmission-gtk rx to unveil.main works, but it opens a new instance of transmission every time even if transmission is already running. Again, noob at openbsd, so please bare with me EDIT: apparently transmission-gtk also have the same font issues now. I recently did sysupgrade -s then pkg_add -u after booting. Something must have gone wrong.... EDIT 2: did a reboot and the fonts are back to normal Last edited by d31n1; 12th January 2020 at 02:48 AM. |
Tags |
current, firefox, openbsd, unveil |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
chrome +unveil possible to change download folder? | billy_bazooka | OpenBSD Packages and Ports | 2 | 17th October 2019 02:58 PM |
how to Create md5 checksums in every folder of directory tree | Lybin | OpenBSD General | 1 | 8th May 2016 03:23 PM |
dump cores in custom folder ? | hert | OpenBSD General | 1 | 3rd April 2013 03:39 AM |
Set password for Folder | mfaridi | FreeBSD Security | 6 | 5th September 2008 10:49 PM |
How to change folder icons for ROX | rex | FreeBSD General | 0 | 12th May 2008 12:14 AM |