On Thu, 24 Apr 2025 03:24:46 +0200
Dan <d...@nnnne-o-o-o.com> wrote:

> 
> I coded a *couple* of dragndrop web interfaces too and
> I can confirm that with Firefox the dragndrop is an historical problem
> (on -stable) and it is not just matter of "a last upgrade" (ie of
> -current).
> 
> Seen the reply of Stuart I tracked a couple of *drops* of .txt from
> Thunar to Firefox:
> from /home/user
> from /home/user/Desktop
> from /home/mydir
> from /tmp
> 
> and only the drop from /tmp succeeded.
> 
> Indeed I always turned around this prb by working with other browsers
> like Badwolf.
> 
> 
> Dan
> 
> ------
> bsdload.com - Repo: https://code.5mode.com
> 
> Please reply to the mailing-list, leveraging technical stuff.
> 
> 
> Stuart Henderson <stu.li...@spacehopper.org> wrote:
> 
> > On 2025-04-23, Robert Palm <develo...@robert-palm.de> wrote:
> > > Seems I cannot drag and drop files (.pdf, .txt,...) into FireFox
> > > or Chrome any more.
> > >
> > > Your file couldn’t be accessed
> > > It may have been moved, edited, or deleted.
> > > ERR_FILE_NOT_FOUND
> > >
> > > Drag & Drop into Intellij e.g. seems to work.
> > > I use XFCE (thunar).
> > >
> > > Worked before but I did not upgrade for 3 weeks or so...
> > >
> > > Hints?
> > 
> > Most likely they are in directories which Firefox/Chromium are
> > prevented from accessing via unveil.
> > 
> 
> 
> 
> 

Well it always pays to read the any documentation that gets
installed. And the firefox package readme
(installed in /usr/local/share/doc/pkg-readmes/firefox) says this:

"""
pledge(2) and unveil(2) Support
===============================
Firefox on OpenBSD is secured with pledge(2) and unveil(2) to limit
the system calls and filesystem access that each of Firefox's process
types (main, content, remote data decoder, audio decoder, socket and
GPU) is permitted.  By default, only ~/Downloads and /tmp can be
written to when downloading files, or when viewing local files as
file:// URLs.  You can edit the following files to change the pledge
promises, unveil paths, and associated permissions:

...
"""

Reply via email to