Security - tchncs

where Linux?
You know a more fitting comminity to post it?

Maybe we should make windowsmemes.

This community may as well be hatewindowsmemes

50% of being a Linux user is hate towards Windows so I’d say it fits
You say that like it’s a bad thing
Hell naw, fuck Microsoft 🖕
the other 50% is hate torwards nvidia
And 100% of it is fair
80% of the reason to move to Linux is hating Windows, so yeah
It’s what brought me over! And then I learned so many more reasons to hate it that I hadn’t even known about lol
I moved to Linux because of free software. Not necessarily of hate for Windows
Winget
winget is great, i wish it was oob tho.
This sounds like Windows
What do you mean? linkin_park_-_numb.mp3 clearly has an extension, it’s all the other files that don’t!

The OS designed to prime the population into bad cyber security practices so they are more easily able to exploit and scam later on.

takes off tinfoil hat

You have a point though. Why hide file types by default unless you believe the users are too dumb to ever learn what a few letters mean.
Hate to break it to you, but most users are that dumb.
If they’re that dumb leave the extensions on and let their eyes glaze over it like they would anyway. Hiding the extensions doesn’t seem beneficial in any way.

if you designed the system so that the extension is part of the functionality, then you have to hide it away so that your users don’t accidentally delete or modify the extension thus rendering their files useless (within said system)

it’s a fundamental shell design flaw: one should never allow users to modify data critical to functionality. And it’s not something that can be changed because almost all applications depend on this

I’ve seen people deleting those ugly *.exes and *.mp3s from their files. Hopefully they learned to not to, but I’ve heard cases who didn’t.
Governments and banks love to do it too.

One time I struggled debugging a program on a clean Windows machine. For some reason it seemed like it couldn’t find a JSON file that’s obviously in the system. I could even open the file on my own and view its contents.

Turns out after much frustration that the file was actually a json.txt file. I didn’t notice because the extension was hidden, so I only saw .json and thought it was fine.

Step 5 in meme: add ‘.txt’ to seemingly text files.

sounds like vscode.

helix or micro on windows to get away from that garbage.

In this case I used notepad because it was a fresh Windows install on some VM.
Notepad is the one that does things like that, because they want you to only use it for *.txt files. VSCode does not have issues like that.
Never understood why Windows’ explorer hides extension by default. Does MS fear it would confuse their users?
Yes, they think their users will be confused by and accidentally remove extensions. To be fair that might happen sometimes but it’s nowhere near worth it

Ah, right, in the context that Windows determines filetype only on extension.

Btw, there’s a bunch of mimeopen implementations for Linux. Is there something like that for Windows too.

I don’t think that anything like that exists in Windows. Generally that’s my least issue with windows honestly. It’s a POS on so many levels

They already have a confirmation box when you try to change the extension. And could just as easily move it into another column where it’s harder to change (explorer was like this once, a long time ago).

And yet, they keep hiding the on the rationale that it confuses the users. The most common thing on explorer is some user being confused because they can’t understand what clicking on a file is supposed to do, but that’s not an argument for showing them…

So, yeah, that’s the surface-level explanation. But there’s a deeper reason.

You seriously underestimate the stupidity of 80% of windows users. They could put multiple warnings and people would still click past them without reading then bitch to their IT team when they break something.
Yes, do as I say!

Gotta recycle this:

To be honest, it is the IT teams fault if they allow their users to click past those warnings with admin rights themselves.

Now imagine those 80% of stupid Windows users on Linux.

They already have a confirmation box when you try to change the extension

I think you overestimate the average users willingness to read anything. Only thing they know is how to bitch about things not working even when they were told exactly why it’s not working/what they did (wrong)

Classic ticket.
“It’s broken, it doesn’t work”,
“what happened?”,
“I ran it like the instructions said, and it didn’t do anything”,
“was there an error message?”,
“I don’t know. Something popped up, but it was in the way so I closed it”,
“Do it again, don’t close the error message, and tell me what it says”

Or my mom.

Me: Don’t just click OK without reading the message first.

Mom: Don’t click OK. Got it.

Iirc there’s a massive warning popping up saying it might fuck the file
I don’t think it even fucks the file, windows just can’t open it until you put the file extension back.
That would be accurate. But it would fuck with your ability to open it by just double clicking it, which less savvy users would see as fucking the file.
Right. I’m saying even having that feature (in addition to the default setting of hiding the extension by default), is a bit too much
worry about users not being able to open files after renaming them since you can also edit those extensions via text, and people aren’t taught about file association.
There is a warning dialog when you edit the extension
yes there is a warning but still no guide, not in the popup, nor in the association setup.
I’m literally trying to get into Linux and one of the first things was installing software, which involves copying and running random bits of code from whatever website has the highest search result. I would say a lot of software is running code you have no idea what it does.
Installing software on Linux almost never involves “copying and running random bits of code” unless you have a need for some really obscure program. Learn how to use your distribution’s package manager.

Learn how to use your distribution’s package manager.

Also

sudo apt update

sudo apt upgrade

covers what, about 60% of Linux desktops?

And sudo apt full-upgrade when a new OS version is available.

full-upgrade is the same as upgrade except it’ll remove old packages if required. (e.g. programs that don’t support the new version and hold back the upgrade due to old dependencies). When upgrading Debian to a new release, I usually first run upgrade, then run full-upgrade and read the output very carefully before continuing.

I mean, bash is a code.

Till next time

if we’re being fair, it did involve a lot of that historically. Package managers weren’t always around and even after they became established, there was still a lot of fiddling with bad drivers and various distributions had policies which didn’t allow certain software with certain licenses to be setup through their package repository and so on and so forth. Sure nowadays this is less of an issue, but then windows security is also much better than it used to be. People here seem to want to compare the latest Ubuntu to windows 98

Those are just tutorials showing how to install something. Typing flatpak install firefox is one and the same as going into the app store, searching for Firefox and clicking “install”. Tutorial websites would just show terminal as it’s more universal.
If they ask you to actually download some file there is something very wrong.

I often see people overwhelmed by universality of some things. Instead of searching “How to install Firefox on Linux?” what should be learned is “How to install software on Linux?” and, unless met with something badly ported, never do the search again.

But what my meme is about is Windows-only style of having some file and by default having no idea if that’s going to run in some program or be a program.

While I totally agree with you about package managers, I still run into a lot of apps that the only install option is a .deb downloaded from a webpage. Which is comparable to running a .exe on windows.

is a .deb downloaded from a webpage

deb-get is useful for these.

I hate directly installing Debian packages because I forget to update them (since apt won’t update them). I usually either use deb-get or create my own repo for the app using Aptly.

GitHub - wimpysworld/deb-get: apt-get for .debs published via GitHub or direct download 📦

apt-get for .debs published via GitHub or direct download 📦 - wimpysworld/deb-get

GitHub
I ask this with full sincerity - are you unaware of the package manager?

In much the way I am aware of the Windows store: I avoid it and work to get the software directly from the source. I regularly run into the issue of software not being there or being of unknown version.

Perhaps that is some bias from Windows following me over.

That is definitely your Windows bias haunting you. Package managers are the way to get software on your Linux distro. Going straight to the source has it’s place, but for 95% of use cases, you should be using your package manager.