#sandbox

psych@diasp.org

So, on a long air flight I had the chance to see this film I'd not heard of, about the great #BrianWilson (Beach Boys, etc.)

For me it was like the magnificent book Glimpses, in which a fictional character gets to hang out with a few stars, including Brian Wilson, in his car, visiting old homes and haunts, etc. In this movie, it's deja vu! Befriended by a Rolling Stone reporter, who has some natural (soothing) therapist chops, Brian talks about the "scary" stuff as well as happy memories, and plays DJ as well as a willing subject for questions and DJ'ing of his host/chauffeur and companion - in real life now!

Anyway, he spoke of his relationship with his brothers, the music scene and California scene, and favorite songs, his own and others'.
And Pet Songs too. One song he singled out as one of the best songs he wrote, a favorite, was this one:

Sail On Sailor

#BrianWilson #SailOnSailor #BeachBoys #sandbox #music #musica #musique

lorenzoancora@pod.mttv.it

Gain unprivileged access to an overlapped directory in Flatpak

Issue

/usr and other hierarchies on the host cannot be accessed from Flatpak, because they conflict with the sandbox. Instead, you are presented with a fake, overlapped filesystem hierarchy. Currently, Flatpak alone has no working options to solve this issue, as configuration overrides have no effect on those special filesystem hierarchies. As Linux does not support directory hard links, this is a serious nuisance!

Solution

Luckily, there is a workaround to safely access the original directory without having root access, if your sysadmin (or you, if you own the system) installed the bindfs package.

The bindfs command uses a FUSE filesystem to mirror the contents of a directory to another directory:

bindfs /overlapped ~/.overlapped

If high performance is needed:

bindfs -o multithreaded /overlapped ~/.overlapped

If security (read-only access) is needed:

bindfs -o ro /overlapped ~/.overlapped

Example

TASK: access the documentation on a Debian system from a Flatpak app.

user@localhost:~$ mkdir .doc
user@localhost:~$ bindfs -o ro,multithreaded /usr/share/doc .doc
user@localhost:~$ ls .doc

…will grant you fast, read-only access to /usr/share/doc by visiting .doc in your user home.
ls .doc will list the contents of /usr/share/doc, while .doc is not a symlink but a simple directory created by you.
You can now eg. use the Flatpak version of Mozilla Firefox to browse file:///home/yourusername/.doc and it will let you read the files in /usr/share/doc, which are normally inaccessible under Flatpak.

Note: this is not an official workaround, I've found by accident. If you know better alternatives please feel free to comment so other users can benefit. Thank you.


Tags: #linux #gnulinux #debian #flatpak #sandbox #virtualization #security #hacking #filesystem #fs #docs #sysadmin #sys #documentation

niemand@nerdpol.ch

Das #Problem das wir mit Themen wie #Klimakatastrophe #Rassismus #Flüchtlingskatastrophe und allgemein mit #Wahnsinn zu kämpfen haben und diese Brände nicht wirklich gelöscht bekommen ist, das die Bevölkerung nachhaltig ihr #Verhalten ändern müsste.

Das müsste passieren indem man Vorsätze zu Aktionen macht, Aktionen zur Gewohnheit. Verhalten das zur Gewohnheit wird sind #Eigenschaften von #Personen und diese bilden #Gesellschaft. Parallel muss man ein erneuertes #Narrativ aufs Tapet bringen, das #Sinn implementiert und #Identität stiftet.

Das Problem gab ich gehört ist das es ethisch verwerflich ist, manipulativ und menschenfeindlich. Allerdings passiert es jeden Tag das man #Nudging betreibt, #Propaganda streut, #Narrative einflechtet, Menschen durch #Struktur in Verhalten zwingt. Und das wie gesagt, es passiert jeden Tag durch die Medien, die Politik, die Werbung, die Techkonzerne.

Ethisch vertretbar wäre es als offenen #Prozess zu gestalten, als ein #Sandbox System das man anpassen und verändern kann und mit dem man nicht andere zwingt das Verhalten zu verändern sondern das eigene Verhalten ändert um einen positiven Wandel durch Vorbild anzufangen. Frei nach Gandhi:

Sei die Veränderung die du in der Welt sehen möchtest.

Und nach #Habermass den zwanglosen Zwang des besseren Arguments ins Feld zu führen.

Ich schlage mal vor das jede und jeder sich überlegt wie man das eigene Verhalten positiv verändern kann, neue Fähigkeiten erlernen kann und wachsen kann um eben der Motor einer positiven Veränderung zu sein.