Live data from Hacker News

Show HN: boxxy – Control where Linux programs put files, without symlinks

github.com

41–50 of 250 posts

Re: Show HN: boxxy – Control where Linux programs put files, without symlinks

#44

Earlier quoted context omitted.

That brings back memories... of an era of Internet that many here are probably too young to have experienced.

I wonder what the demographic for HN looks like. I never questioned how much younger the audience would be than me (and I definitely remember Boxxy and the related internet/4chan drama).

I'd think the demographics are more 30+ and thus do probably remember the 4chan stuff.

Re: Show HN: boxxy – Control where Linux programs put files, without symlinks

#46
post #43

Whats the difference between this and a chroot?

Instead of chrooting to somewhere else, replicating your filesystem, ..., this switches into a new mount namespace and uses bind mounts to shadow the files/directories that are intended to be redirected. This way your entire filesystem continues to be visible to the target application, and only the paths you want altered are altered.

Re: Show HN: boxxy – Control where Linux programs put files, without symlinks

#48

Maybe I've misunderstood, but it seems like this would only help for files the program puts in places itself. Thus it wouldn't help with files placed by the installer would it?

It could, you would just have to then run the installer itself under boxxy and write the rules for it.

Re: Show HN: boxxy – Control where Linux programs put files, without symlinks

#49
post #28
post #17

Earlier quoted context omitted.

I actually attempted using ptrace to rewrite syscalls first! It was... horribly painful, and didn't work anywhere near as well as the bind-mount version.

Fun fact, one layer of App Engine's sandbox from a couple years ago was implemented using ptrace. It will redirect filesystem IO to in-memory files.

Interesting! That makes perfect sense, I just don't think I'm smart enough to use ptrace properly right now :P

Re: Show HN: boxxy – Control where Linux programs put files, without symlinks

#50
post #3

Ok, hi! My name is Boxxy...

That brings back memories... of an era of Internet that many here are probably too young to have experienced.

HN is predominately older millennials and genx. This site isn't really making waves among the "kids" and I doubt ever will unfortunately.

It's us taking this ship to its end. o7

I would like to see the ages and sign up numbers over the years.

Post reply on HN