you are viewing a single comment's thread
view the rest of the comments
[–] 25 points 2 years ago (2 children)

In theory this issue can be solved with LD_PRELOAD trick. E.g. redirect all/most/some fopen calls to "$HOME" to some other directory. But before I try to tackle it myself: is there already a similar solution like that?

  • source
  • hideshow 4 child comments
  • [–] 4 points 2 years ago (1 child)

    You could probably do it with bubblewrap or something equivalent. Here's someone asking about this exact thing:

    https://unix.stackexchange.com/questions/651788/redirect-single-file-or-directory-using-bubblewrap

  • source
  • parent
  • hideshow 2 child comments