this post was submitted on 12 Apr 2025
48 points (98.0% liked)

Cybersecurity

6987 readers
215 users here now

c/cybersecurity is a community centered on the cybersecurity and information security profession. You can come here to discuss news, post something interesting, or just chat with others.

THE RULES

Instance Rules

Community Rules

If you ask someone to hack your "friends" socials you're just going to get banned so don't do that.

Learn about hacking

Hack the Box

Try Hack Me

Pico Capture the flag

Other security-related communities !databreaches@lemmy.zip !netsec@lemmy.world !securitynews@infosec.pub !cybersecurity@infosec.pub !pulse_of_truth@infosec.pub

Notable mention to !cybersecuritymemes@lemmy.world

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] PhilipTheBucket@ponder.cat 3 points 3 days ago (2 children)

Deleting random stuff from your system that the OS put there, because "it's empty so surely it is fine", is generally not a recipe for success.

[–] besselj@lemmy.ca 19 points 3 days ago

Neither is putting random system files/folders in the C: drive outside of where they need to be, like in the Windows folder

[–] atzanteol@sh.itjust.works 4 points 2 days ago (1 children)

Yeah... This reeks of stupidity, though. It's a folder used by iis but you need it even if iis isn't installed.

[–] PhilipTheBucket@ponder.cat -1 points 2 days ago (1 children)

Yeah. It's not even a matter of "do you need it." I don't need both /var/tmp and /tmp. I only need one. But, if I respond to that by deciding to delete one or the other, some stuff will fuck up. That's how computers work.

[–] atzanteol@sh.itjust.works 5 points 2 days ago (1 children)

I feel like this is parody and I'm not getting the joke.

[–] PhilipTheBucket@ponder.cat 4 points 2 days ago (1 children)

?

I'm just being serious. If your software has some files and directories, and you start fucking with them, it might react badly. It doesn't really matter if you feel like the existence or layout of them is unjustified in some way. Just let them be, or else switch to some other software, or else take responsibility for making sure stuff won't break from you fucking with them. Those are the options. "Delete it on purpose and then whine about how it shouldn't have been set up that way in the first place, if stuff breaks" isn't one of the options.

Also, it's kind of a side note, but it's also weird to me that this is the hill to die on that Windows is up to something. Yes. It's been openly spying on you, degrading its own functionality for amusement, and hijacking your computer to do messed up stuff for a long time. Making an empty directory in the root of C: isn't something you need to get any level of panicked about in addition. There's other stuff you can worry about.

[–] atzanteol@sh.itjust.works 1 points 2 days ago (1 children)

I’m just being serious. If your software has some files and directories, and you start fucking with them, it might react badly. It doesn’t really matter if you feel like the existence or layout of them is unjustified in some way. Just let them be, or else switch to some other software, or else take responsibility for making sure stuff won’t break from you fucking with them. Those are the options. “Delete it on purpose and then whine about how it shouldn’t have been set up that way in the first place, if stuff breaks” isn’t one of the options.

"Never delete anything on your computer because it might be needed"?

This isn't "some random directory" as you've claimed before. It's a specific directory used by IIS. It's akin to /var/www for apache. If you uninstalled apache you would, and should, delete /var/www to cleanup afterwards.

If you uninstall IIS you should be able to delete C:\inetpub to cleanup.

That it causes a security problem you didn't know about is not your fault. It's Microsoft's fault. That is a stupid bug to have and they need to fix it properly.

[–] PhilipTheBucket@ponder.cat 1 points 2 days ago (1 children)

“Never delete anything on your computer because it might be needed”?

No. That's a whole new sentence.

I gave two other options, besides that one option.

Also, even within the one option, if at some point I upgraded my Linux system and I got an empty /var/www directory, it would never in a million years occur to me to say "Well that's stupid I don't want that directory" and remove it.

I might think it's stupid that it's there when I don't have apache. But, deleting it because it's stupid that it's there... you know what? I feel like I already addressed this with the /tmp and /var/tmp example. I can feel that it's stupid that there's two of those instead of one. I might be right. You're not wrong about it being silly that MS has done this. But reacting to that feeling by deleting things until my system matches how I think they should have set things up is a recipe for broken stuff.

I've reiterated this point three times now, which is enough. You seem committed to not absorbing it. Good luck with your computers in the future. I hope your system administration philosophy serves you well.

[–] atzanteol@sh.itjust.works 1 points 2 days ago (1 children)

Also, even within the one option, if at some point I upgraded my Linux system and I got an empty /var/www directory, it would never in a million years occur to me to say “Well that’s stupid I don’t want that directory” and remove it.

Because frankly you don't know enough to know any better. Sorry if that sounds condescending, but it's the truth. You should be able to delete /var/www without it causing any security problems. That you don't know that isn't your fault, it's experience.

[–] PhilipTheBucket@ponder.cat 2 points 2 days ago (1 children)

Because frankly you don’t know enough to know any better.

I had more typed, but what's the point. I feel like I've said everything I really wanted to say on it. Like I said, enjoy your point of view and I hope it goes well for you.

[–] atzanteol@sh.itjust.works 1 points 2 days ago

Nothing else you said mattered. 🤷