Bug: systemd deletes root, Pöttering is like
[aa]I am not sure I'd consider this much of a problem. Yeah, it's a UNIX pitfall, but "rm -rf /foo/.*" will work the exact same way, no?[/aa]
github.com
Top kek
Bug: systemd deletes root, Pöttering is like
[aa]I am not sure I'd consider this much of a problem. Yeah, it's a UNIX pitfall, but "rm -rf /foo/.*" will work the exact same way, no?[/aa]
github.com
Top kek
Other urls found in this thread:
pubs.opengroup.org
github.com
twitter.com
And now, this fucker just closed(like every time) the issue.... like everytime when people see that he is talking bullshit. Why does anyone use anything from such an incompetent idiot?
>Bug: systemd deletes root
Bug: Deleting /folder/.. deletes /folder/..
FTFY
>issue fixed
>keeping comments open so idiots like OP who have no understanding of the whole system can get outraged while disregarding their stupidity
I would close it down too, because it's pragmatic. Issue reported, issue solved, issue closed, move on to other work.
Thank you Ranjid, RedHat owes you $0.00023
epik maymay!
>"systemd is bad because it's not traditional unix-like!"
>the equivalent of rm -r .* goes up dir
>"systemd is bad because it works like traditional unix!"
>poettering locked and limited conversation to collaborators 36 minutes ago
ayy
But rm -r .* does not go up dir.
Are you sure? It should, because .. should qualify as .*
What would be a correct way to do it?
He's literally paid by the NSA to help kill linux with his stupidity.
Why should rm special case . or ..?
If you say you want to remove .. it should just do it, having extra checks is just bloat and not the unix way.
It's closed because it's fixed you retard.
An issue tracker is not for your sjw-tier drama rants.
It is literally mandated by POSIX/SUS that rm can't remove . and .. because it was considered an extremely easy-to-trigger hazard.
It was also mentioned in the thread on github, but that assumes that you can read and are not a total faggot.
pubs.opengroup.org
They fixed the issue though.
Fuck off to rebbit you curry goblin shitstain
>because it was considered an extremely easy-to-trigger hazard.
Software should not be made catering to retards.
Hello Lennart, how's that filesystem restore going?
The amount of Poo In Loos pretending this is some intended behaviour shows RedHat upped their shilling budget.
cd /tmp; mkdir -p foo/bar/; rm -rf foo/bar/.. || rm -rf foo/bar/.*
rm doesn't expand wildcards either.
That's what the shell does.
And that does treat . and .. special.
Try it
...
If you like BSD style init over systemd you are an idiot, move along, nothing to see here.
Why do these retards rewrite everything from scratch instead of using something like glob(3)?
BSD init is plaintext and very easy to edit for your needs.
It's easier to hide the backdoors goy :^)
The problem isn't with globbing, it's with their rm.
That would be like super inefficient, dude. Now excuse me, I have to serialize 500MB of XML back and forth over DBUS
BSD init and SysV init are two different things you retard
Windows does not have this problem.
people like >pic related piss me off to no end
>systemd is written by people who don't understand basic UNIX concepts like . and .. in a directory
Wew. Dodged a fucking bullet blacklisting that shit in my Gentoo install.
Not everyone has to contribute on github.
>using gentoo unironically
>Software should not be made catering to retards.
and here's the guy who thinks computers should be for a select elite group.
Software MUST be designed for reliability.
give it back
>implying we can't have private repos
and that is why Apple was so successful.
>rm should delete . and .. when the user inputs rm -r .* because otherwise is catering to retards!
Okay, so how do you delete all the hidden files in a directory without deleting the folder?
rm ./.*
>doesn't delete hidden folders
>still catches ./. and ./..
>Okay, so how do you delete all the hidden files
>doesn't delete hidden folders
you know how I know you are shitty at programming?
Answer the question.
I don't know what the question is anymore since you fucking changed the parameters
rule #1 when discussing programming: be specific
you can't say, delete all the files, oops I meant all the directories
Maybe not be retarded? Here's the question you keep willfully dodging:
Using a non-standard rm which is only different from normal by not refusing to recursively remove . and .., delete all files and folders in the directory whose names begin with a period, excluding . and ..
Don't try to poke holes in what the prompt is, just answer it as if you're normal. You know what the question is, you know what the problem is, now solve it.
Why is there a custom buggy rm in systemd?
d-bus
>using poetteringware
baka desu senpai
Why did you suddenly go quiet? I mean, after all that buildup and effort trying to figure out the question, shouldn't you have an answer? Are you still trying to figure out the solution to this trivial problem, or do we need to cater to retards and use a sane default?
15 internet points for you Len
...