|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Chromium download error
After a recent update on -current, Chromium no longer lets me download files:
Code:
Could not read the contents of user Error opening directory '/home/user': Permission denied |
|
||||
If you pre-set the download destination to ~/Downloads then Chromium should be able to save stuff there even with unveil(2) enabled.
__________________
Are you infected with Wetiko? |
|
|||
I'm on OpenBSD 6.5. My ~/Downloads is a symlink to a directory on a separate harddrive and it seems unveil is preventing chromium from following the link.
I want to enjoy the added security of unveil, but would like chromium to be able to follow the symlink to my Downloads directory. Please, how do I accomplish that? Also, what if I want ~/.config/chromium to also be a symlink? Would it be too complicated to allow that, too? (I cannot make much of the unveil(2) man page.) Last edited by brudan; 6th May 2019 at 01:00 PM. Reason: changed "don't want to disable unveil" (a triple negative!) to a clearer equivalent |
|
|||
Thank you, jggimi. Sounds like unveil does not have a whitelist feature (similar to mechanism in firejail for linux). Pity. That would have been the easy fix I was hoping for.
Does OpenBSD have something similar to Linux's 'mount --bind'? If so, I can't seem to find it--but if it does, I could bind-mount the external ~/Downloads and ~/.config/chromium directories to my home folder. That would be a nice solution. |
|
|||
I found this: https://dataswamp.org/~solene/2018-0...ount-bind.html
I tested and it has the same effect as a bind mount, but is too complicated for my taste. I guess I'll either use chromium with unveil disabled or else will just stick with firefox. Thanks a bundle, as always. You are always a great help. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Chromium browser causes reboots | jwhal | OpenBSD Packages and Ports | 5 | 3rd January 2016 11:57 PM |
Google Chromium in ports now | Oliver_H | FreeBSD Ports and Packages | 12 | 21st October 2010 08:11 PM |
FreeBSD Google Chromium in FreeBSD ports now | Oliver_H | News | 0 | 15th October 2010 10:43 AM |
Chromium browser | mechanic | OpenBSD Packages and Ports | 5 | 3rd September 2010 02:00 PM |
how to install chromium... | clovis | FreeBSD Ports and Packages | 4 | 11th August 2010 08:25 PM |