Live data from Hacker News

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

github.com

51–60 of 250 posts

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

#54
It looks like a useful project.

By the way, as for the original motivation:

> I recently had to use the AWS CLI. It wants to save data in ~/.aws, but I don't want it to just clutter up my $HOME however it wants. boxxy lets me force it to puts its data somewhere nice and proper.

- they could have used AWS_CONFIG_FILE and AWS_SHARED_CREDENTIALS_FILE.

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

#55

It looks like a useful project. By the way, as for the original motivation: > I recently had to use the AWS CLI. It wants to save data in ~/.aws, but I don't want it to just clutter up my $HOME however it wants. boxxy lets me force it to puts its data somewhere nice and proper. - they could have used AWS_CONFIG_FILE and AWS_SHARED_CREDENTIALS_FILE.

TIL! Thanks :D

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

#56

It looks like a useful project. By the way, as for the original motivation: > I recently had to use the AWS CLI. It wants to save data in ~/.aws, but I don't want it to just clutter up my $HOME however it wants. boxxy lets me force it to puts its data somewhere nice and proper. - they could have used AWS_CONFIG_FILE and AWS_SHARED_CREDENTIALS_FILE.

But you shouldn't have to — that's the point of the complaint. That's like saying that if your neighbor is dumping toxic waste in your yard, you can always ask them to stop. Sure, but maybe they just shouldn't do that in the first place.

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

#58
post #9
post #8

AWS an interesting example considering it's also a default search path for the SDK so anything using an AWS SDK is going to check for ~/.aws/config; does boxxy apply the rules to anything run in a shell, or only if 'run by boxxy'?

Only in the latter case; I didn't want to assume how people want things done, and implicitly magical tools break more often than not in my experience. You may also be able to tell I don't have a lot of AWS experience (:

If I were to try to do this without symlinks, maybe I'd try mount

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

#59
post #9

Earlier quoted context omitted.

Only in the latter case; I didn't want to assume how people want things done, and implicitly magical tools break more often than not in my experience. You may also be able to tell I don't have a lot of AWS experience (:

Would be cool if there was a tool that could detect that configured path was attempted to be opened, and redirect the open() syscall to the real path... But that would most likely require kernel support. Boxxy seems good enough for userspace.

Lo and behold

http://ordiluc.net/fs/libetc/

Post reply on HN