Hacker Newsnew | past | comments | ask | show | jobs | submit | algorias's commentslogin

run them in a VM that doesn't have git installed. Sandboxing these things is a good idea anyways.


  > Sandboxing these things is a good idea anyways.
Honestly, one thing I don't understand is why agents aren't organized with unique user or group permissions. Like if we're going to be lazy and not make a container for them then why the fuck are we not doing basic security things like permission handling.

Like we want to act like these programs are identical to a person on a system but at the same time we're not treating them like we would another person on the system? Give me a fucking claude user and/or group. If I want to remove `git` or `rm` from that user, great! Also makes giving directory access a lot easier. Don't have to just trust that the program isn't going to go fuck with some other directory


The agents are being prompted to vibe-code themselves by a post-Docker generation raised on node and systemd. So of course they emit an ad-hoc, informally-specified, bug-ridden, slow reimplementation of things the OS was already capable of.


What's stopping you from `su claude`?


I think there's some misunderstanding...

What's literally stopping me is

  su: user claude does not exist or the user entry does not contain all the required fields
Clearly you're not asking that...

But if your question is more "what's stopping you from creating a user named claude, installing claude to that user account, and writing a program so that user godelski can message user claude and watch all of user claude's actions, and all that jazz" then... well... technically nothing.

But if that's your question, then I don't understand what you thought my comment said.


Yeah, that is what I meant. I mean, it's kind of the system administrator's/user's responsibility to run processes in whatever user context they want. I don't wonder why, like, nginx doesn't forcefully switch itself to an nginx user. Obviously if I want nginx to run in some non-privileged context (which I do), then I (or my distro, or my container runtime, or whatever) am responsible for running nginx that way.

Similarly, it's not really claude-code's job to "come with" a claude user. If you want claude code to run as a low-privilege user, then you can already run it as a low-privilege user. The OS has been providing that facility for decades.


Probably because Linux doesn't really have a good model for ad-hoc permission restrictions. It has enough bits to make a Docker container out of, but that's a full new system. You can't really restrict a subprocess to only write files under this directory.


For plain Linux, chmod, chmod's sticky bit and setfacl provide extensive ad hoc permissions restricting. Your comment is 4 hours old, I'm surprised I'm the first person to help correct its inaccuracy.


How can those be used to restrict a certain subprocess to only write in a certain directory?


chown


how?


chgrp claude someDirectory


This doesn't meet the requirement. It doesn't restrict a certain subprocess to only write in a certain directory. You are just saying these things to quickly shut down the uncomfortable thought that Linux can't do something.


Or perhaps you need to go read my original comment again as you missed the premise. But if you feel you have perfect memory then perhaps look at something like firejail or read more about systemd.

But your premise of Linux "can't" do something is rather absurd. It's Linux, you can do anything, even if no one has done that thing before.

The reason people didn't respond earlier is because they probably assumed it a waste of their time. I know I have wasted mine


You chose to respond to a question I posed, with an extremely poor answer. I was very specific about restricting a certain subprocess to only write to a certain directory. Your answer does not do that. I pointed that out. Now you are defending that answer by claiming you were actually answering something else entirely. This is nonsensical.


but then they can't open your browser to administer your account.

What kind of agentic developer are you?


The biggest problem with Electric is the battery weight, so it makes sense.

Ships deliberately use cheaper, less energy dense petroleum products (heavy fuel oil), for pretty much the inverse reasons why airplanes use kerosene.


Not really, kerosene is pretty close to heavy fuel oil on density.

Planes run on kerosene because it's universal enough, hard to run them on heavy fuel, and there is issue with high emission of the HFO over population centers which isn't as much of a problem in middle of sea


This is a problem with the (lack of) environmental laws in many countries. All things considered, landfills are really cheap.


No, people get ill from excessive quantities of alcohol.


Acetaldehyde is always toxic, so no, they always get sick, just less sick.


Getting drunk is literally poisoning yourself. Some humans just happen to enjoy the symptoms of said poison.


Kind of reminds me of dolphins taking turns chewing on pufferfish, apparently for fun/altered states.

https://www.smithsonianmag.com/smart-news/dolphins-seem-to-u...


Most people aren't getting drunk every time they drink.

Try wine and grape juice side by side. Baring truly awful wine, the wine will taste better (I suppose you could have awful grape juice too, but, you get the idea).


Taste is subjective. To people not used to consuming any alcohol the wine might taste worse than plain grape juice.


Sure, but it's a taste people have spent a couple thousand years working on, and it's remained popular through huge changes in culture and diet. People clearly like it.


Some people, sure, but not all people.


Context and experience shape so much of how we taste things


> Try wine and grape juice side by side. Baring truly awful wine, the wine will taste better

The unfermented juice of wine grapes has many similarities to the wine it would produce if fermented. "Grape juice" is usually pretty one note, just sweet.


Sure, but if alcohol didn't get you drunk consumption would plummet 95%.


I wouldn't be so sure... I'm certain my own would increase. (Assuming 'get you drunk' means something like 'contain ethanol' i.e. no 'buzz' or whatever but also no adverse effect on liver, the next day, ...).

If you want a cold drink that isn't sweet, your choices are pretty much alcohol, alcohol-free alternative, water.


>If you want a cold drink that isn't sweet, your choices are pretty much alcohol, alcohol-free alternative, water.

Uh, no.

There's also seltzer, flavored seltzer, flavored water, iced tea, iced coffee, herbal infusions (like hibiscus, rooibos, honeybush, etc), broth, milk and plant based milk alternatives, and fermented drinks like kombucha + kefir. That's just off the top of my head.

Hibiscus even has the benefit of helping regulate blood pressure.

I almost never drink sweet drinks or plain water and rarely drink alcohol. My fluid consumption is almost entirely: hot tea, iced tea, kombucha, and hibiscus infusion. Sometimes seltzer. Sometimes coffee.


Tea and coffee don't have to be sweet either, and there are lots of cold versions of those.


Also plenty of traditional cold drinks that are savoury or can be savoury: doogh, ayran, lassi, jaljeera, buttermilk, kvass


I guess simply 'milk' I also missed, which is a bit sweet of course but I wasn't intending to lump it in with fruit juices and added-sugar drinks.

I did almost mention jaljeera, but thought that might be a bit niche. It is also often sweetened though. I've never known not-sweet lassi though? Salted lassi is still sweet underneath, like salted caramel, ime. We could count it with the sweet-ish milk drinks, anyway.


Lassi is a traditional drink where I’m from and contains only salt traditionally. Sweetened lassi is a relatively recent restaurant-led innovation. When I was a kid “lassi” meant salted; you had to specify “sweet lassi” for the sweetened version.


I’ll add legumes juices : both raw, fresh blend or the water from a soup that you separate and put in a fridge. Those are delicious.

Kvaas contain alcohol, doesn’t it?


Of about kefir percentage. Kwas has 0.5-1.5% ABV, kefir has 0.02-2.0% ABV.


> Kvaas contain alcohol, doesn’t it?

I think only as much as kombucha, not enough to cause a buzz


To be fair, the concept of iced tea as an objective desire is considered the provenance of blasphemous original sin by a not insignificant percentage of natives where the parent hails from.


That seems unlikely. Non alcoholic drinks are already an enormous market, and people would have less reason to limit consumption with the health downside removed.


If you hate the taste of alcohol (like me), I think the grape juice would taste better


I like beer and I think the taste of wine is absolutely vile.


Totally agree. I love beer. I just love it. I would drink beer all day if it didn’t have that damned alcohol in it.

I like alcohol too, but not nearly as much as I like beer. Kinda sounds nonsensical, but that’s how I feel!


The dose makes the poison.


Something assumed to be true without proof.

Think of it as one layer of abstraction above the model under discussion. Like a hyperparameter. In later years, students get taught the same topics again, with the hyperparameter tuned to be more realistic.


not the OP, but I think they meant to imply that the AU government is grifting. It does look like attaching a $520k bill to the man's freedom. Totally not part of the punishment...


Yeah, when I visited down there I initially misinterpreted what the "CBD bakery" was selling... xD


In this case, they're vaguely gesturing towards the "money being better spent elsewhere", instead of making a cost-benefit analysis including the time value of money.

Do you see how the argument is overly general? You can use it to shoot down anything that's not immediately useful. It's especially silly at the level of nations, which can obtain money much more easily than a random individual. Cash flow is much less of a problem at that level. The way it's phrased exploits people's tendency of thinking about a nation's budget like their own household budget, only bigger.


Not defending the overall claim, but there's a plausible reason why being underwater matters: the mammalian diving reflex. Holding your breath on land is not the same.


That too is the kind of inference that allows these claims to proliferate.


I have a question on manifold about Boeing's troubles:

https://manifold.markets/VitorBosshard/number-of-major-incid...

I'm only counting incidents where Boeing is at fault, this one might still be bad maintenance or other operator error.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: