News for hackers. Stuff that matters.
Re:Do not change Linux files using Windows apps and tools by mona3000 on Thursday November 17, 2016 @03:34PM (#12981236)
Yes, it's totally a design problem that users are fucking with files in a system hidden folder. I do that all the time, easy mistake to make.
Re:Do not change Linux files using Windows apps and tools by zymhan on Thursday November 17, 2016 @03:36PM (#12981250)
More like editing some config file under the WSL folder with Notepad++ and discovering you destroyed it.
Re:Do not change Linux files using Windows apps and tools by tokenizerrr on Thursday November 17, 2016 @07:50PM (#12983339)
> WSL folder

Which has both the hidden and the system flag set. You have to change two explorer settings to even access the directory, one of said changed gives you a prompt warning you that it might be dangerous to enable it.

Re:Do not change Linux files using Windows apps and tools by vacri on Thursday November 17, 2016 @03:45PM (#12981348)
This is the bullshit I really don't miss from the Windows world.

*nix: "Go for it, edit what you want, just be aware you can fuck up"

Windows: "what the fuck are you doing in the special area? get out!"

Re:Do not change Linux files using Windows apps and tools by lixquid on Thursday November 17, 2016 @05:17PM (#12982248)
Isn't that the whole point of this post though? They've allowed you to edit files marked as "system files" despite a multitude of warnings, and now so many people have fucked up doing so that they've issued a stronger warning.

What's the solution? Put less warnings? Then you'd get even more people destroying their data. Put more warnings? Then you'd get more people complaining that "Windows doesn't let you edit what you want!".

It doesn't really seem like they can win.

Re:Do not change Linux files using Windows apps and tools by vacri on Thursday November 17, 2016 @05:46PM (#12982467)
I'm more talking about the culture between the two types of OS than this specific occurrence. The whole attitude of "well, why the fuck were you in there anyway?" is not something I've encountered in *nix.
Re:Do not change Linux files using Windows apps and tools by Karunamon on Thursday November 17, 2016 @07:46PM (#12983311)
Windows at least has the decency to warn you that you're about ready to trash something. Every -nix ever will let me blow /sbin/init away with a carelessly placed file operation without so much as a "hey".

Uneducated users should be responded to with "WTF were you doing?" as computer is a precision machine and it is not unreasonable to expect some basic level of literacy.

Re:Do not change Linux files using Windows apps and tools by vacri on Thursday November 17, 2016 @08:05PM (#12983420)

    vacri@thingy:~$ rm /sbin/init
    rm: cannot remove ‘/sbin/init’: Permission denied
I don't seem to be able to blow away /sbin/init.

If I've elevated myself to be a global administrative user, then I should be able to do global administrative things, without being treated as an 'uneducated user'.

> it is not unreasonable to expect some basic level of literacy

I think it's perfectly reasonable to expect some level of literacy for administrative-level tasks, and that's what nix does.

Re:Do not change Linux files using Windows apps and tools by ocdtrekkie on Thursday November 17, 2016 @03:56PM (#12981467)
The only difference in assumption is that Linux users can safely assume most Linux users kinda know what they're doing. This is not true for Windows, where the default assumption is, you probably don't know what you're doing. ;) When you do know what you're doing, nobody complains about you going in the crevices.

One of my favorite Windows v. Linux things is when Linux users try to work in Windows, and try and do things that would be perfectly normal in Linux, and then wonder why their Windows box is so unstable. I once ran across someone who tried putting their Windows\system32 folder into a version control app. When their Windows registry exploded spectacularly, their response was that this was a normal thing to do on a Linux box.

Windows and Linux take very different engineering approaches to things, so skills developed in one don't necessarily translate well to the other.

Re:Do not change Linux files using Windows apps and tools by wfunction on Thursday November 17, 2016 @11:04PM (#12984236)
That sounds obscene even to my Linux ears... why would it be a good idea to version control the system directory in any OS?
Re:Do not change Linux files using Windows apps and tools by ocdtrekkie on Thursday November 17, 2016 @11:08PM (#12984253)
Presumably to be able to track changes and undo them if a set of changes causes a problem? I was kinda skeptical. But I certainly wasn't blaming Microsoft, like he was, for his system being unstable. =P
Re:Do not change Linux files using Windows apps and tools by JdeBP on Friday November 18, 2016 @04:50PM (#12990370)
The person may have thought that \Windows\System32 was the moral equivalent of /etc , and expected to be able to do with it what people do to /etc with tools like etckeeper.

And, of course, ZFS boot environments are the same sort of idea to an extent.

Re:Do not change Linux files using Windows apps and tools by geofft on Thursday November 17, 2016 @04:12PM (#12981620)
Do you remember the hue and cry when deleting things from efivarfs could brick your machine, and it was somehow systemd's fault for making these files available and not locking out end users for their own protection? https://github.com/systemd/systemd/issues/2402
Re:Do not change Linux files using Windows apps and tools by zymhan on Thursday November 17, 2016 @04:36PM (#12981893)
To be fair, that broke the paradigm of your OS not being able to brick your hardware. This had rarely been an issue before, and most people would have assumed it wasn't even possible.
Re:Do not change Linux files using Windows apps and tools by geofft on Thursday November 17, 2016 @04:47PM (#12982007)
Sure. But I feel like I remember warnings in the mid-'90s about bad modelines in XF86Config being able to cause smoke to come out of your monitor....
Re:Do not change Linux files using Windows apps and tools by ncallaway on Thursday November 17, 2016 @06:02PM (#12982590)
Isn't the entire point of the post to say that if you edit these files, be aware that you can fuck up (and here's how you can fuck up)?
Re:Do not change Linux files using Windows apps and tools by vacri on Thursday November 17, 2016 @08:08PM (#12983444)
I'm responding to mona3000, not the post.
Re:Do not change Linux files using Windows apps and tools by Kipters on Thursday November 17, 2016 @06:49PM (#12982964)
they aren't telling you to don't touch them, they're telling you to don't touch them FROM THE WINDOWS SIDE. Start a bash instance and use vi/emacs/nano/ed/whatever to edit it from the Linux side.
Re:Do not change Linux files using Windows apps and tools by vacri on Thursday November 17, 2016 @06:53PM (#12982993)
You might want to understand my point before you start 'shouting' at me.
Re:Do not change Linux files using Windows apps and tools by Kipters on Friday November 18, 2016 @02:23AM (#12985000)
I'm sorry, I didn't want to appear rude, I just couldn't remember how to italicize text here on HN and tried to emphasize those words. By the way, here they're just telling you to stop messing with those files in a certain way because it isn't a supported scenario in a beta software, also giving you the reason why it isn't supported. By the way, I bet that thing isn't among the top 10 priorities.