Slashdot Mirror


Why We Should Stop Hiding File-Name Extensions

An anonymous reader writes 14 years after the Anna Kournikova virus took advantage of users' ignorance about file-name extensions in order to wreak worldwide havoc, virus writers and hackers are still taking advantage of the tendency of popular consumer operating systems to hide file-name extensions: Windows users still need to activate extension visibility manually – even though email-transmitted viruses depend most on less savvy users who will never do this. Additionally applications on even the latest versions of Apple's OSX operating system still require the user to 'opt in' to including a file-name extension during an initial save. In looking at some of the eccentricities of the modern user experience, this article argues that it might be time to admit that users need to understand, embrace and responsibly use the only plain-text, obvious indicator of what a file actually is.

564 comments

  1. Good operating systems Dont. by Anonymous Coward · · Score: 5, Insightful

    The crap ones like Windows and OSX, they hide it because they assume the user is a drooling moron.

    And most of the time they are right.

    1. Re:Good operating systems Dont. by Gerald · · Score: 5, Funny

      I can't get OS X to hide extensions on my machine. Is there a special flag you have to pass to ls?

    2. Re:Good operating systems Dont. by Anonymous Coward · · Score: 0

      Presumably the AC you replied to was talking about in the Finder. ;-) (Which I am guessing you knew, but others may not realize it).

    3. Re:Good operating systems Dont. by swimboy · · Score: 5, Informative

      Yes, it's | sed s/\.[^\.]*$//

      --
      Ask me how the Heisenberg Principle may or may not have saved my life.
    4. Re: Good operating systems Dont. by AvitarX · · Score: 1

      I actually didn't think OSX hid them, simply that they were optional.

      Contrary to what the article states though, every application I've used after Quark 6 made it difficult to not have an extension, some even making it impossible.

      --
      Wow, sent an e-mail as suggested when clicking on "use classic" banner, and got a fast response that addressed my msg
    5. Re:Good operating systems Dont. by Anonymous Coward · · Score: 0

      And I believe even in finder the only time extensions are hidden is in the case of .app folders, where it's hard to argue we're talking about extensions at all...

    6. Re:Good operating systems Dont. by ShanghaiBill · · Score: 5, Insightful

      The crap ones like Windows and OSX, they hide it

      I am using OSX right now. File extensions are not hidden. There are some dialogs that optionally hide them, usually when only one extension is possible, such as .pdf in Adobe Reader, but in general, they are not hidden. But even where extensions are hidden, it is not at the same level of stupidity as hiding them on Windows. On Windows, the extension actually changes how the operating system interacts with the file, such as whether it is executable. So Microsoft uses the extension to convey very important information, and then hides that information from users.

    7. Re:Good operating systems Dont. by Anonymous Coward · · Score: 0

      Maybe I fixed this so very long ago, but my finder has extensions.

    8. Re:Good operating systems Dont. by nukenerd · · Score: 3, Informative

      I am using OSX right now. File extensions are not hidden.... But even where extensions are hidden, it is not at the same level of stupidity as hiding them on Windows. On Windows, the extension actually changes how the operating system interacts with the file

      Just asking, never having used OSX, which I understand to be a Unix system, aren't filename extensions non-functional? ie they are merely part of a filename that happens to include a period near the end. In which case hiding the extension is hiding part of the filename - why TF would anyone do that? And why stop at hiding after the dot? They might as well hide everything after the first occurence of the letter "p" say, or after the first four characters, or the first eight (Oh wait! like FAT16).

    9. Re:Good operating systems Dont. by azav · · Score: 1

      Honestly, I think the original Mac OS did it better with four character file type and creators; meta-properties that the file can have.

      --
      - Zav - Imagine a Beowulf cluster of insensitive clods...
    10. Re:Good operating systems Dont. by azav · · Score: 3, Informative

      It's a Finder preference. Press command comma. The first checkbox is "Show all filename extensions".

      --
      - Zav - Imagine a Beowulf cluster of insensitive clods...
    11. Re:Good operating systems Dont. by Anonymous Coward · · Score: 0

      Finder, Preferences, Advanced, uncheck "Show all filename extensions"

    12. Re:Good operating systems Dont. by swimboy · · Score: 2, Informative

      Actually, the classic Mac OS just considered extensions as part of the file name, and used Type and Creator codes to associate a file with an application. When OS X came out, the Type and Creator codes were phased out, and now the extensions are used the same way as on Windows.

      --
      Ask me how the Heisenberg Principle may or may not have saved my life.
    13. Re:Good operating systems Dont. by Oxygen99 · · Score: 1

      Not that I use Macs, but surely "generally not hidden" it's a lot worse than "always hidden" or "never hidden"? How is the user supposed to know when to expect a file extension when these are hidden *sometimes*? At least on Windows it's consistent.

      --
      I had a dream, bright and carefree, but now there's doubt and gravity
    14. Re:Good operating systems Dont. by gnasher719 · · Score: 5, Informative

      Except that MacOS X doesn't hide extensions when an attacker uses the double extension trick. So if you downloaded a file prettyimage.png.exe, even with "hide extensions turned on", MacOS X will display both extensions, while Windows (as far as I know) displays "prettyimage.png".

    15. Re:Good operating systems Dont. by Anonymous Coward · · Score: 0

      Actually, they're not consistent even on Windows. Certain file extensions like .LNK (Windows shortcut) and .URL (Web shortcut) are always hidden, unless you hack the Registry to show them.

    16. Re:Good operating systems Dont. by Gr8Apes · · Score: 2

      That's pretty hugely untrue. You can run any file under OSX by enabling the execute perm, or make then not executable by removing it. Well, that's from the command line anyways, from finder... you use that for anything other than scanning data files in a folder? I will admit that Finder has default apps assigned to various extensions, but that information can be overridden IIRC, on a per file basis. I guess I wouldn't be a typical user, since I almost never use the Dock, LaunchPad, Mission Control, or even spotlight and Finder is only for some minor file manipulation, such as copying things from A to B or deleting things.

      --
      The cesspool just got a check and balance.
    17. Re:Good operating systems Dont. by ShanghaiBill · · Score: 4, Informative

      Just asking, never having used OSX, which I understand to be a Unix system, aren't filename extensions non-functional?

      In Mac OS X you can associate an extension with an app. For instance, I have .pdf associate with Adobe Reader, so I can click on a PDF file, and it will pop open in Adobe Reader. These associations are under user control, so you can add, change or delete. But extensions don't change whether a file is executable like .exe, .com, or .bat do on Windows. You use chmod to do that, just like on any other Unix.

    18. Re:Good operating systems Dont. by Gr8Apes · · Score: 1

      I wouldn't know, the first thing I do on a Mac is configure it to my tastes and use cases, and after that, it stays out of my way. One of those is that file extensions are always shown. The thing to know is that executables are set by permissions, not extensions, so extensions only give you a hint. The executable permission needs to either be set, or be set within a container that you copy it out of. So in general, you can't execute anything you download as a standalone app.

      --
      The cesspool just got a check and balance.
    19. Re:Good operating systems Dont. by ShanghaiBill · · Score: 1

      At least on Windows it's consistent.

      No it isn't. On Windows, some dialogs show the extension, and some don't. In general, Windows shows the extension less often than Mac OS X does, despite the extension being more important on Windows, and having far bigger security implications.

    20. Re:Good operating systems Dont. by jonbryce · · Score: 1

      OSX doesn't really use file extensions. They are optional.

    21. Re:Good operating systems Dont. by Anonymous Coward · · Score: 0

      What's more to the point ... when MS saw that people liked Macs (pre-OSX), they hid extensions so Windows would look like that. It's two-click easy (a checkbox, then 'apply to all' Explorer windows) to reverse, but average users don't know and don't care. Even if they did see extensions, they wouldn't know what to do with them - to the delight of malware writers everywhere.

    22. Re:Good operating systems Dont. by Anonymous Coward · · Score: 0

      Why is the file's type (meta data for the file) any more important than a music file's bit rate, or a jpeg's compression ratio? All of these things are just meta data. They should be held as meta data behind the scenes, not conflated with a file's name.

    23. Re:Good operating systems Dont. by Anonymous Coward · · Score: 0

      Once again, Apple did it right the first time, and then abandoned it. OS 9 had a type and creator as part of the file catalog. You never, if ever had to worry about it, and when you did, free tools to fix it.

      BUT OS X decided that that was wrong, and abandoned it.

      The technology that Apple has abandoned amounts to some real gains by brilliant minds, but not according to Steven P.J.

      Still plenty of space left in the file catalogs, and still hooks to get it to work in explorer... but...

      Who are you going to sell it to?

    24. Re:Good operating systems Dont. by sexconker · · Score: 1

      Why is the file's type (meta data for the file) any more important than a music file's bit rate, or a jpeg's compression ratio? All of these things are just meta data. They should be held as meta data behind the scenes, not conflated with a file's name.

      The name is also meta data.
      Your move, dipshit.

    25. Re:Good operating systems Dont. by rHBa · · Score: 1

      This is true for Linux (Mint so I'm assuming Ubuntu, not sure about the rest). If I rename an image from screenshot.png to screenshot.txt it will try to open it in a text editor. As you said though, extensions don't change whether a file is executable.

    26. Re:Good operating systems Dont. by Anonymous Coward · · Score: 0

      Guess I'm not a drooling moron then, because I have always taken the trouble to unhide file name extensions in Windows. I mostly use Linux these days except for a few games that I play with friends.

    27. Re:Good operating systems Dont. by KingMotley · · Score: 2

      To be fair on Windows, you can also change the security on files/directories and remove the executable permission just like what chmod does too. It's just that noone ever does that.

    28. Re:Good operating systems Dont. by BronsCon · · Score: 1

      We were of the same mind right up until your last sentence. Finder is good for browsing, shit-slow for copying or deleting more than a handful of files, and doesn't actually delete, which adds an extra step (emptying the trash). Because of this, I find that Finder is better utilized for browsing, especially media collections, while the command line is often faster for manipulation. Try deleting a folder with several subfolders, several levels deep, and over 10k files; make a copy first, so you can do it in Finder, then again on the command line. Time them. In fact, make two copies, one from Finder and one from the CLI, and time those, too.

      Of course, if you're routinely deleting one or two files at a time, or just a handful here and there, then the difference is immeasurable, if there even is one; but if you have to do any sort of bulk deletes, Finder will choke on the file list[1]. Of course, you still have to manually empty the trash before the file actually gets deleted; this more than doubles the time an actual delete operation requires; one pass to move files to the trash, another pass to actually delete. It's even worse on network volumes, since those are much higher latency, and often much slower, to begin with.

      [1] - Admittedly, so well rm, but it takes a lot more files and will at least tell you about the condition and exit gracefully, so you can break the operation into smaller chunks or use find's -exec option instead, whereas Finder will just sit there, frozen, and prevent you from ejecting the disk or even rebooting gracefully

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
    29. Re:Good operating systems Dont. by hitmark · · Score: 1

      I guess the issue can be seen as a variant of Learned Helplessness.

      https://en.wikipedia.org/wiki/...

      This in that people adopt the attitude of drooling idiots because the big providers do not give them a (easy) way out.

      Sadly it seems that Linux is heading the same way, with Ubuntu's Unity and Gnome leading the charge.

      --
      comment first, facts later. http://chem.tufts.edu/AnswersInScience/RelativityofWrong.htm
    30. Re:Good operating systems Dont. by BronsCon · · Score: 3, Interesting

      You also never actually know whether that image (or at least, the file you *think* is an image) is actually an image. Using the file extension hints to you that it is an image and tells the system to treat it as one, so you don't end up with a file that looks like an image, but actually formats your hard drive. If your file has the wrong extension, you change it in Finder or on the command line, just as you would change it in Explorer or on the command line in Windows. As an added bonus, there is no executable file extension; it's a permission that gets set, and the file extension still takes precedence. That is, if you set notanimage.jpg to be executable, then try an open it in Finder, it'll open it in your image viewer, ignoring the execute bit entirely; only when you remove the extension does it actually attempt to execute.

      The way OSX does it is correct, IMO. And 4 years ago I never thought I'd be saying that.

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
    31. Re:Good operating systems Dont. by dpidcoe · · Score: 1

      I still don't understand why you'd hide it from them even if they were a moron. No harm in seeing it, and they might even one day wonder why there are those weird 3 letters on the ends of all their files and take some initiative to learn something.

    32. Re:Good operating systems Dont. by BronsCon · · Score: 1

      Not entirely true. Let's say you have a PNG file, image.png, with the executable bit set. Doublie-clicking it in Finder will open it in your image viewer. Renaming it to image.png.app or image.app, then trying to open it, will cause OSX attempt to execute it, then complain that it is not supported. Removing the extension, then trying to open it, will cause OSX to attempt to execute it in a shell if the executable bit is set, or scan for a recognizeable header to determine file type and open the correct application, if the executable bit is not set. In only one of those cases is the extension optional, and even then, it's useful; for example, you can set .jpg to open in a viewer and .jpeg to open in an editor, so you can easily identify working copies and have them automagically open in your editor; the same works for pretty much any file type, provided that either your viewer or editor can be configured to recognize and handle alternate extensions.

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
    33. Re:Good operating systems Dont. by BronsCon · · Score: 1

      How else does the average luser know thet bouncingbewbiez.gif.exe is a virus?

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
    34. Re:Good operating systems Dont. by BasilBrush · · Score: 1

      Good operating systems don't use part of the filename to store the file type. It's 2015. File types ought to be indicated by mimetypes or some other such metadata unconnected to the name.

      Sadly we're limited by everyone copying the lowest common denominator.

    35. Re:Good operating systems Dont. by BasilBrush · · Score: 1

      OSX Has used file extensions exclusively as the file type for a while now. You might edit a filename to remove the file extension and see that it still has an app icon, and think that file names are optional. But all that's really happened is that the "hide file extensions" flag has been added to that file. Use CMD I to see what's really going on when you rename a file in finder.

    36. Re:Good operating systems Dont. by Gr8Apes · · Score: 1

      We were of the same mind right up until your last sentence. Finder is good for browsing, shit-slow for copying or deleting more than a handful of files, and doesn't actually delete, which adds an extra step (emptying the trash). Because of this, I find that Finder is better utilized for browsing, especially media collections, while the command line is often faster for manipulation. Try deleting a folder with several subfolders, several levels deep, and over 10k files; make a copy first, so you can do it in Finder, then again on the command line. Time them. In fact, make two copies, one from Finder and one from the CLI, and time those, too.

      We're still of the same mind-set, I don't solely use it for file manipulation, but when I use it, that's about the only functional thing I do with it. :) BTW, you are aware that Cmd-Delete deletes the file, and Shift-Cmd-Delete empties the trash, right? That helps with the keyboard deletion of files when you're selecting and deleting. As for deleting thousands, every time I wind up with a project directory with 100K files in it that I delete via Finder, I sigh, sit back for a brief second, and browse slashdot while that's going on. Finder has a lot of challenges, one of which is not using the proper UNIX APIs to handle file manipulations. The trashcan is rarely used, I'd rather it dropped it into TimeMachine (TM) if it wasn't already backed up and the directory is a backed up item.

      It's even worse on network volumes, since those are much higher latency, and often much slower, to begin with.

      For network work, I almost always ssh in. It removes 99.999% of the back and forth crap.

      I'll have to admit that I've never once locked Finder (or rm) in deleting files that were accessible. I do have the oddly marked iso in trash that was marked as in use, which a reboot cleared (power outage, same issue, need a new UPS, apparently the battery's dead). That includes directory structures with several GB of data in 100s of thousands of files in probably 50 top level directories (a largish software project). I've done that more than once, because cleaning up multiple related projects when done is easier from Finder, even if it takes a minute or so to complete. (I'm running a 4 disk RAID0 scratch space along with 2 SSDs for the OS and user area, not exactly standard I know, on a hexcore box with 24GB RAM.... which is about to undergo a rather radical reconfiguration since I got some new SSDs in.....) My MBP also has no issues with these activities, and there Finder's horrid delete slowness is almost imperceptible, those PCIExpress SSDs are freaky awesome fast. You barely have time to sip your drink before it's ready, and then only if you're deleting more than 100K entries.

      BTW, using scp, there's still a pretty significant pause at the end of the transfer of a largish file set as the system computes the hashes to check that the file(s) were actually transmitted properly. I haven't actually done a side by side test to see if scp is faster than Finder in network transfers. I suspect it is, especially with directory tree structures, but I I can't recall the last time I tried that. I generally just transfer tarballs or media files.

      --
      The cesspool just got a check and balance.
    37. Re:Good operating systems Dont. by BronsCon · · Score: 2

      Didn't know about CMD-Delete or Shit-CMD-Delete, actually. Never needed to know, I've been deleting things from the CLI for much longer than I've been using a Mac. I also haven't tried deleting 10k+ files in Finder in the couple of months I've had a Retina MBP; my previous MBP had a SATA SSD that could max out the bus, though, and started bogging down around 10k and would crap out around 50k. That was a quad core with 16GB of RAM (where Apple would only support configurations up to 8GB, so I imagine the problem would be worse for users who limit themselves to what Apple sells).

      In fact... hell, let me put your claims to the test.

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
    38. Re:Good operating systems Dont. by mrbester · · Score: 1

      Microsoft has assumed users are drooling morons for 20 years, based on the decision of drooling moron managers that hiding the extension was a good idea. If those particular drooling morons had STFU and taken the trouble of learning something instead of treating everyone as though they were as dumb as them billions of dollars would have been saved.

      --
      "Wait. Something's happening. It's opening up! My God, it's full of apricots!"
    39. Re:Good operating systems Dont. by BronsCon · · Score: 1

      Well, that was an interesting result for sure... I just had Finder freeze up on me, using 99% CPU, while I was *creating* the 100k files *on the command line*. I could understand that if I had the folder open in Finder while creating the files, but I didn't.

      So, the CLI delete took 3.12 seconds, while deleting via Finder took 5.92. A much faster result than I'm used to, but then, it was a single level deep; though Finder did take nearly twice as long. Time to test multiple levels of nesting, like I mentioned previously. Also, I did know about CMD-Delete. That's how files get moved to the trash on my system. It's been that long since I've deleted files via Finder; I actually forgot how for a moment. Shift-CMD-Delete gives me an error chime and does nothing. What hidden configuration or 3rd-party utility are you using to enable the key combinations you mentioned?

      For reference, here's the bash script I used to create the files:

      #!/bin/bash

      mkdir bigdir

      for i in `seq 1 100000`;
      do
      echo '' > bigdir/$i
      done

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
    40. Re:Good operating systems Dont. by St.Creed · · Score: 2

      True. I really long for the day we have that, and AnnaKournikova.jpg is actually an executable file because of some meta-information that's probably hidden by default.

      I wonder what could possibly go wrong there.

      --
      Therefore, by the (faulty) logic you're using, you're just a cow with a keyboard - osu-neko (2604)
    41. Re:Good operating systems Dont. by BronsCon · · Score: 1

      Nested 4 levels deep, times were similar, 3.225s on CLI and 6.13 in Finder. Let me fire up the old MBP and do the same test on the SATA SSD.

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
    42. Re:Good operating systems Dont. by BasilBrush · · Score: 1

      some meta-information that's probably hidden by default.

      Who says it's hidden? There's nothing special about a a filename that means it is visible in the UI. As this very story shows.

      You're thinking is being limited by what you are used to. You're lacking imagination to envisage better alternatives.

    43. Re:Good operating systems Dont. by BronsCon · · Score: 1

      On the SATA SSD, the results for the flat 100k files were:
      CLI: 3.038s
      Finder: 4.82s

      Surprisingly, Finder did better on the slower disk.

      The 4-levels-nested test results were:
      CLI: 2.904s
      Finder: 4.83s

      Another interesting result, the slower SATA-based SSD was actually faster than the PCIe-based SSD, in both tests. It's also possible that Apple optimized the algorithm Finder uses to build its file list in Yosemite; I'm pretty sure the last time I tried to delete a large batch of files via Finder was under Mavericks, possibly Mountain Lion.

      Now, here's the kicker: I didn't actually run this test on the old MBP. The SSD that used to be in that system is currently connected to this system via USB3. That makes these results even more interesting, wouldn't you say?

      Methinks disk cache has something to do with that, so I'm going to do one more set of tests, ejecting and remounting the disk in between the writes and the deletes, to ensure that the none of the deletes are acting against writes that haven't yet been committed to disk.

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
    44. Re:Good operating systems Dont. by St.Creed · · Score: 1

      some meta-information that's probably hidden by default.

      Who says it's hidden? There's nothing special about a a filename that means it is visible in the UI. As this very story shows.

      You're thinking is being limited by what you are used to. You're lacking imagination to envisage better alternatives.

      No, I just envisage what will happen when this is introduced on Windows, with its huge established software pool that doesnt understand that metadata.

      Personally, I'm still rather fond of a capability based OS, instead of a rights based one. And the idea that executables can access ANYTHING outside their own directory without explicit permission was stupid from day one. I can imagine quite a view changes that would make an OS much safer.

      But adding metadata to files that is not "in your face" is not the best suggestion I've seen for that. And yes, the Explorer could be changed to show status. And a gazillion older programs would not. Because it could have been done already, and it hasn't.

      --
      Therefore, by the (faulty) logic you're using, you're just a cow with a keyboard - osu-neko (2604)
    45. Re:Good operating systems Dont. by BronsCon · · Score: 1

      Well, that was uneventful. The results are so close to the other test there's no point posting them. I'm also too damn lazy to install Mavericks or Mountain Lion on a spare SSD to test there, but I know for certain that the issue I mentioned previously did actually occur the last time I tried it (which was *not* on my current platform, Yosemite). Either way, looks like Apple has fixed that performance killer now, so it's a moot point.

      Thanks for prompting this bit of testing.

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
    46. Re:Good operating systems Dont. by Anonymous Coward · · Score: 0

      Bug report: omits files and directories that start with a dot but have no extension.

    47. Re: Good operating systems Dont. by Billly+Gates · · Score: 1

      Great idea!

      I'll tell my Mom to type that in a terminal right away.

    48. Re:Good operating systems Dont. by BasilBrush · · Score: 1

      No, I just envisage what will happen when this is introduced on Windows.

      And again your thinking is being limited by Windows. It's like dismissing pneumatic tyres because they don't fit on horses hooves.

      But adding metadata to files that is not "in your face" is not the best suggestion I've seen for that.

      Whilst we could debate the usefulness or not of file types being in your face, there was precisely nothing of that suggestion in my post. As I've already told you in the post you're replying to.

    49. Re: Good operating systems Dont. by nmr_andrew · · Score: 1

      Hey, maybe your mom is tech savvy. In which case she'll just add that as an alias in .cshrc or .bashrc.

      Much more likely, she never uses the command line at all. I know I'd have to walk mine through opening a terminal, let alone doing anything in it.

    50. Re:Good operating systems Dont. by Gr8Apes · · Score: 1

      Shift-Cmd-Delete has to be done while a Finder window has focus. Note that you have to have something in Trash, otherwise you get the "error" tone, which really indicates it's empty. It's worked for me ever since I found out about in, circa Tiger? Panther? I don't know, quite a long time ago. I know for a fact it works in Snow Leopard, Mountain Lion, Mavericks, and Yosemite, as I have all of those systems running currently or in the past 6 months Although, now that I think about it, the first thing I do with any mac is install QuickSilver on it. I don't think it affects this though, as I don't recall that ever being a problem on anyone else's mac either. Other than that, I run Caffeine and Fantastical and that's pretty much it for enhancements.

      I've tried some other enhancements/replacements such as PathFinder, BusyCal (they have something new out recently) PostBox, and a couple of others, but don't really care for those, at least when I tried them. To be fair, PostBox was only used for a short while, and I am still in the process of getting back to evaluating that one. The drive to replace Mail was removed when I finally debugged my configuration issue with Mail (removing a second Gmail account) although I still have some oddities with it.

      Nice on the tests, thanks for posting those. If you try that on a network connected disk in Finder, you'll probably find that the behavior is.... not what you'd like. I do not believe that Finder uses the remote system as a proxy, because if it did, it should be able to delete much faster than it does. Oh well, at least local files work fine.

      --
      The cesspool just got a check and balance.
    51. Re:Good operating systems Dont. by Anonymous Coward · · Score: 0

      Of course that requires the meta-data which was stored separate from the file's data to be carried every time you copy the file to somewhere.

    52. Re:Good operating systems Dont. by BronsCon · · Score: 1

      Derp. Yeah, I tried it with an empty trash. CMD-Delete still sends files to trash, though; doesn't direct-delete as you said. That has to be a 3rd-party utility on your systems.

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
    53. Re: Good operating systems Dont. by Anonymous Coward · · Score: 0

      That can't be right - whatever happened to /etc/magic?

    54. Re:Good operating systems Dont. by Anonymous Coward · · Score: 0

      Because it was sent as an email attachment. They always are.

    55. Re:Good operating systems Dont. by Anonymous Coward · · Score: 0

      OS X directory entries for files have "owner" and "type" fields that specify what the file is and what's responsible for opening it. In that context file extensions are completely meaningless: a something.txt file can be an executable just as easily as somethingElse.exe could be a text document (not that OS X uses .exe's).

    56. Re:Good operating systems Dont. by Gr8Apes · · Score: 1

      Sorry - it doesn't direct delete, if I implied that, my bad. Cmd-Delete sends it to Trash, so you can do a delete every other file entry, or some other non easy pattern, and then clear trash without ever leaving the keyboard.

      FYI - some other keyboard short cuts:

      • (Shft)Cmd-Tab (previous)next process
      • (Shft)Cmd-` (back tic above Tab, with the tilda) (previous)next window within the current process

      Those 4 combos keep me out of mission control entirely, which I can only recall having opened once or twice, and found it to be largely useless. Note that they are both process based, and it is possible to have multiple process open the same application. I have multiple instances of an IDE open right now, as an example, each in their own process. One or two may have multiple windows within the process. I sometimes have the same issue with mvim (macvim), depending upon how it is launched or the file opened.

      --
      The cesspool just got a check and balance.
    57. Re:Good operating systems Dont. by schnell · · Score: 4, Informative

      Honestly, I think the original Mac OS did it better with four character file type and creators; meta-properties that the file can have.

      This was a much superior solution in many ways. (If you're interested in a detailed exploration of why, read any of John Siracusa's in-depth OS X reviews on Ars Technica for his fierce and well developed defenses of the old method.)

      Unfortunately, the downfall of this method came in sharing files across platforms. For much of the 1990s, Mac users would send files via FTP or e-mail which - lacking file extensions - were difficult for PC users to deal with when they received them. For example, my Word doc titled "Briefing" worked fine on my Mac but when I e-mailed it to a colleague using Windows, he would get a file that his PC didn't know what to do with. He would have to ask me what type of file it was (.doc? .pdf? .ppt?), and manually append the correct extension, yadda yadda.

      Macs, as the minority in a nearly all-PC world (especially the business world) needed to create as few waves as possible and "get along" with the Windows standard. So, when designing OS X, Apple decided to deprecate file/creator types and go along with the inferior system that the rest of the desktop computing world was using.

      --
      "95% of all Slashdot .sig quotes are incorrect or completely fabricated." -Benjamin Franklin
    58. Re:Good operating systems Dont. by BronsCon · · Score: 1
      Already knew about those and can't stand mission control. Among the first things I figured out in OSX, actually. :)

      Cmd-Delete deletes the file

      That's what confused me, because I thought when you said "deletes the file" you meant, well... deletes... the file. CMD-Delete moving to trash, also one of the first things I learned in OSX, is the behavior I was already familiar with.

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
    59. Re: Good operating systems Dont. by Anonymous Coward · · Score: 0

      You are aware, of course, that in those days emailing such a file even to another Mac user would have the same result, as the file metadata was not transported in the email, right?

    60. Re:Good operating systems Dont. by Anonymous Coward · · Score: 0

      betta one is mv * /dev/null This hides the ext and the filenames.

    61. Re:Good operating systems Dont. by R.Mo_Robert · · Score: 1

      It's a Finder preference. Press command comma. The first checkbox is "Show all filename extensions".

      How does that affect ls again? ;)

      --
      R.Mo
    62. Re:Good operating systems Dont. by angel'o'sphere · · Score: 0

      It is not ... there is no such option.
      File extensions are always displayed. More precisely, unix, linux, mac os x, has no file extensions.
      If a file happens to end in .c, .java, .pdf or whatever it is just a part of the filename.

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    63. Re:Good operating systems Dont. by complete+loony · · Score: 1

      When Microsoft added their "you downloaded this" attribute that warns before executing the file, they implemented it badly. They should have copied the unix default that files are not executable until they are marked that way. I mean they could have used their existing "executable permission" on the entire drive, then prompt the user to change the permissions on each file individually. Including a UAC prompt if they need to enter some admin credentials to make it work.

      Oh, well. It's exactly what I expect from Microsoft anyway.

      --
      09F91102 no, 455FE104 nope, F190A1E8 uh-uh, 7A5F8A09 that's not it, C87294CE no. Ah! 452F6E403CDF10714E41DFAA257D313F.
    64. Re: Good operating systems Dont. by KingMotley · · Score: 1

      Besides the file coming from an I trusted source attribute, each file also has read, write, execute, list and a bunch of other security attributes as well.

    65. Re: Good operating systems Dont. by CharlieHedlin · · Score: 1

      Linux and Mac odd don't even care about an extension I'd the file is marked executable.and when Windows use executable code in screen savers it's lost.

      Clearly delineating executable code and data is important, but extensions are not the way

    66. Re: Good operating systems Dont. by Anonymous Coward · · Score: 0

      Could someone translate in pseudo code for me :)

    67. Re:Good operating systems Dont. by amxcoder · · Score: 1

      I prefer to see the extension, regardless of if it indicates whether it is executable or not. This is one of the first options I change when setting up a new Windows install. Maybe it's habit, maybe it harkens back to DOS days, but I've been using a computer for 25 years or more, where extension names mean something, and I still want to see them.

      If the OS knows what kind of file it is, that is fine, but I still want to know as well. I might have more than one program that can open the same filetype, and need to know what kind of file it is to know if I want to open the file in the default program or in a different program that can open that filetype instead.

      Plus, yes, in windows, it makes it a lot easier to spot viruses posing as .pdf's or .jpegs.

    68. Re:Good operating systems Dont. by aaronb1138 · · Score: 1

      This. Also, a more database like filesystem, like Longhorn was to have, and somewhat along the lines of how Windows Vista/7/8/10 handle metadata gathering on libraries.

      Windows already handles the problem correctly. UAC lets you know when a file is trying to run in an executable manner. Android is similarly good about handling APKs.

      File extensions need to go away (but remain for legacy systems) and be replaced with filesystem metadata which controls access and execution. In a way, it opens the door for two-part malware, a registered system extension for a given file type, and an otherwise unknown filetype metadata (e.g. .FLV / flash-video-meta-file-type and Flash player) which together work in concert to deliver the malicious cargo.

    69. Re:Good operating systems Dont. by Anonymous Coward · · Score: 0

      Yes, it's | sed s/\.[^\.]*$//

      Thanks. Maybe you could help me with another problem--why does my home directory seem to have so many .tar files?

    70. Re:Good operating systems Dont. by X0563511 · · Score: 1

      That's the fault of your file browser.

      In all of these cases that's true - it's not Windows or OSX doing it, but Explorer or Finder (or thunar or whatever you're using on Mint)

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    71. Re:Good operating systems Dont. by X0563511 · · Score: 1

      Because a proper user is going to run iterm2 after logging in and never touch finder again...

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    72. Re:Good operating systems Dont. by godefroi · · Score: 1

      The operating system doesn't hide extensions, the graphical shell does. Unless you configure it not to.

      --
      Karma: Poor (Mostly affected by lame karma-joke sigs)
    73. Re:Good operating systems Dont. by Anonymous Coward · · Score: 0

      OS X is another Unix only in name. It has Unix roots and is built upon a unix like system, but it is not unix in the same sense FreeBSD and Linux are. Hopefully the point is clear, without someone feeling the need to delve into semantics to point out that Linux isn't "UNIX"...

      Also, file extensions work primarily the same on Windows and OS X these days. The point of an extension is for file-types to be associated with applications, as guessing based on metadata is not always sufficient.

    74. Re:Good operating systems Dont. by Anonymous Coward · · Score: 0

      And that is part of the problem. IRIX had file type rules (and a compiler for them) over 20 years ago. You could inspect files for magic bytes to determine the actual filetype, independent of name or location. Incidentially the requirement to compile the rules also means that only rules that were installed by root would ever be run - i.e. you can't just save an application on the desktop and expect the filemanager to display the "correct" icon.

    75. Re:Good operating systems Dont. by Anonymous Coward · · Score: 0

      As it should, since .png is not the extension, just part of the name. Furthermore, the icon will clearly be that of an executable file.

      OS X is no more protected from user stupidity than is Windows.

    76. Re:Good operating systems Dont. by Ol+Olsoc · · Score: 1

      The crap ones like Windows and OSX, they hide it

      I am using OSX right now. File extensions are not hidden.

      His posting just shows he doesn't use OS X. We actually have to work to hide extensions.

      So much for droolers, eh?

      --
      The shepherds did so well protecting the flock that the sheep no longer believed that wolves existed.
    77. Re:Good operating systems Dont. by Ol+Olsoc · · Score: 1

      I am using OSX right now. File extensions are not hidden.... But even where extensions are hidden, it is not at the same level of stupidity as hiding them on Windows. On Windows, the extension actually changes how the operating system interacts with the file

      Just asking, never having used OSX, which I understand to be a Unix system, aren't filename extensions non-functional? ie they are merely part of a filename that happens to include a period near the end. In which case hiding the extension is hiding part of the filename - why TF would anyone do that? And why stop at hiding after the dot? They might as well hide everything after the first occurence of the letter "p" say, or after the first four characters, or the first eight (Oh wait! like FAT16).

      I'm not certain where you got that info. If you try to remove or change an extension, a "do you really want to?" window pops up, and you have to force the change. Then if you force it, it will either atttempt to open it in the forced program, or ask for a program if you completely eliminated the extension name.

      I do a lot of changing .txt to .csv files, and it is a PITA, but I understand why they do it.

      And big time default is showing the extensions. You have to intentioinally turn them off, and only the bottom turtle would know why anyone would do that.

      --
      The shepherds did so well protecting the flock that the sheep no longer believed that wolves existed.
    78. Re:Good operating systems Dont. by cwsumner · · Score: 1

      The crap ones like Windows and OSX, they hide it because they assume the user is a drooling moron.

      And most of the time they are right.

      No, actually they are wrong. Everyone is a "moron" when they are out of their area of expertise, but that's different. Most of those people are plenty smart, they just are not interested in learning -your- area of expertise. That's what IT is for.

      You can fall into this state, too, by doing your own corporate taxes or acting as your own lawyer or dosing yourself with pills when you are sick. Or just giving advise about other things, that is not worth what it cost. 8-)

    79. Re:Good operating systems Dont. by cwsumner · · Score: 1

      P.S. I think the core of the problem is that the Marketing/Advertising people, at the OS manufacturers, are more like morons than the actual customers, and have more input to the design!

    80. Re:Good operating systems Dont. by doccus · · Score: 1

      Up until around OSX 10.4, Macs used *both* extensions and internal type/creator codes.. meaning that if you deleted the extension, the file woiuld still be recognized for what it was. Around the time Apple dropped power PC support, extensions were used exclusively, just like earlier versions of windows. Should you delete the extension, OSX is completely unable to identify the file.

    81. Re:Good operating systems Dont. by tigersha · · Score: 1

      Is that why scp takes so long at the end? It really annoyed me today, had to transfer a file through two tunnels and a modem to Costa Rica. a 5 MB one, took forever.

      --
      The dangers of excessive individualism are nothing compared to the oppressiveness of excessive collectivism
    82. Re:Good operating systems Dont. by Anonymous Coward · · Score: 0

      OS X is another Unix only in name. It has Unix roots and is built upon a unix like system, but it is not unix in the same sense FreeBSD and Linux are.

      Darwin, the base of OS X, is every bit as much a Unix as FreeBSD is. It traces its roots back to NeXT, to Mach, to BSD, to AT&T. NeXT even bought a Unix license from AT&T because BSD was still encumbered in the late '80s.

      I don't really why you think it's not Unix. Others have pointed out that it's officially certified as such by the Open Group.

      Maybe because it doesn't use a traditional Unix kernel? Guess what-- neither does Linux or FreeBSD.

    83. Re:Good operating systems Dont. by gzuckier · · Score: 1

      Didn't know about CMD-Delete or Shit-CMD-Delete, actually. Never needed to know, I've been deleting things from the CLI for much longer than I've been using a Mac. I also haven't tried deleting 10k+ files in Finder in the couple of months I've had a Retina MBP; my previous MBP had a SATA SSD that could max out the bus, though, and started bogging down around 10k and would crap out around 50k. That was a quad core with 16GB of RAM (where Apple would only support configurations up to 8GB, so I imagine the problem would be worse for users who limit themselves to what Apple sells). In fact... hell, let me put your claims to the test.

      I think the word you're looking for is shift... but maybe not.

      --
      Star Trek transporters are just 3d printers.
    84. Re:Good operating systems Dont. by gzuckier · · Score: 1

      You also never actually know whether that image (or at least, the file you *think* is an image) is actually an image. Using the file extension hints to you that it is an image and tells the system to treat it as one, so you don't end up with a file that looks like an image, but actually formats your hard drive. If your file has the wrong extension, you change it in Finder or on the command line, just as you would change it in Explorer or on the command line in Windows. As an added bonus, there is no executable file extension; it's a permission that gets set, and the file extension still takes precedence. That is, if you set notanimage.jpg to be executable, then try an open it in Finder, it'll open it in your image viewer, ignoring the execute bit entirely; only when you remove the extension does it actually attempt to execute. The way OSX does it is correct, IMO. And 4 years ago I never thought I'd be saying that.

      And very often if it is an image, it is mis-extensioned; blahblah.jpg turns out to be really a .png, etc. Irfanview is a good viewer that tells you about it and offers correction.

      --
      Star Trek transporters are just 3d printers.
    85. Re:Good operating systems Dont. by BronsCon · · Score: 1

      Yes, I was an IrfanView user in my Windows days, even had it running in Wine on OSX for some time. I've since written my own tools for managing large multi-faceted image libraries. I may, someday, share those tools with the world, but they're a bit quirky (built around how I needed to manage a specific set of images when I wrote them) and need some refinement before I do so.

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
    86. Re:Good operating systems Dont. by BronsCon · · Score: 1

      To clarify, the tools are somewhat of an image forensics suite, useful for organizing images of varied types, from varied sources, with varied levels and types of metadata and varied naming schemes, some of which may have incorrect extensions, additional embedded or appended data (e.g. zip files), and even stegonographically hidden data.

      And no, not for porn (though it would be useful there, as well).

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
    87. Re:Good operating systems Dont. by shutdown+-p+now · · Score: 1

      The only OS I can think of that actually did it that way was BeOS.

      Not saying that it's a bad idea, but it clearly doesn't stick around. The momentum of having to provide compatibility with everyone else is just too big to overcome.

    88. Re:Good operating systems Dont. by BronsCon · · Score: 1

      Yup, taking a shift right now. Wait, do I have those two backwards? Well, shift!

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
    89. Re:Good operating systems Dont. by BasilBrush · · Score: 1

      Mac OS did too. Not as a mimetype, but at least separate from the name.

      And BeOS died for reasons other than this.

      The compatibility issue used to be a problem when we all shared physical media. These days as most remote files come from the internet, and generally has metadata when it does so, this is perfectly workable. e.g. Anything that comes over HTTP has a MIME-TYPE provided the server is not broken.

    90. Re: Good operating systems Dont. by rdnetto · · Score: 1

      The file command (which uses /etc/magic) works fine, but the mimetype command will defer to the file extension unless the --magic-only flag is passed. Most DEs use the mimetype command, since the output is easier to work with.

      --
      Most human behaviour can be explained in terms of identity.
  2. Yes, I agree by GargamelSpaceman · · Score: 5, Insightful

    The first thing I do on windows is change the settings to show tilename extensions. Much of the confusion I see in others can be directly traced to the fact that they don't know what their files are.

    Stop being afraid to make someone learn something useful to use a computer.

    That being said, don't make people learn useless things. Design a powerful set of useful things to learn each of which is valuable and worth learning and remembering and then reward people for learning them by maintaining their usefulness

    Making things overly simple robs users of the power to make things simple for themselves, and ends upt complicating their interaction with the computer.

    --
    ...
    1. Re:Yes, I agree by Anonymous Coward · · Score: 5, Insightful

      "The first thing I do on windows is change the settings to show filename extension"

      Hear hear! Hide the extensions is one of the stupidest things Microsoft has ever done and it is a huge disservice to the end user.

      The condescending My Docs, My Music, et al should also go.

    2. Re:Yes, I agree by arth1 · · Score: 1

      That being said, don't make people learn useless things.

      What's a useless thing?
      Any knowledge is useful for something.

    3. Re:Yes, I agree by The+Grim+Reefer · · Score: 1

      The first thing I do on windows is change the settings to show tilename extensions.

      Agreed. That and turning off double-click are some of the first things I do on a new Windows system.

    4. Re:Yes, I agree by Anonymous Coward · · Score: 1

      Your post is a "useless thing".

    5. Re:Yes, I agree by wisnoskij · · Score: 1

      That said, file extensions are possibly not the best way to do this. For good or ill extensions are rather extensive. All the users really need to know is what application is going to launch the file, notepad, WMP, or will it be directly executed by windows. Trying to get a user used to avi vs mp3, vs mov, vs wav, vs ini vs 1000 other proprietary random extensions that one single company uses.

      --
      Troll is not a replacement for I disagree.
    6. Re:Yes, I agree by QilessQi · · Score: 3, Insightful

      This. I've seeing users create directories where they save the same file in different formats for different purposes, and the only thing different is the extension. If you can't see the extension, it looks like you've got multiple files named "foo" where only the icons differ.

    7. Re:Yes, I agree by Anonymous Coward · · Score: 0

      Cute, use the keyboard and the enter key like everybody else! :)

    8. Re:Yes, I agree by michrech · · Score: 2

      The condescending My Docs, My Music, et al should also go.

      WHY?! This actually teaches / encourages people to store their documents / pictures / music in *one spot*, which makes things much more simple to back up. Granted, not every user actually uses these folders for their intended purposes (I recall backing up a ~120GB "My Documents" folder becuase the user threw *all* files, picutres / music / videos / documents into it, with *no* sub-folders to sort everything, for example)...

      --
      bork bork bork!
    9. Re:Yes, I agree by gstoddart · · Score: 5, Insightful

      I just went through setting up a new Windows 8.1 machine.

      And the sheer quantity of places where Microsoft has more or less gone out of their way to hide basic stuff about your computer, and make it as difficult to find as possible -- well, that is kind of mind boggling (and very frustrating).

      And when they do make it available to you, they couch it in a "well, everything hereafter is your fault".

      Essentially, in my opinion, Microsoft has tried to dumb down the system so far that when you try to do anything it is almost useless, and if you need to see more information it just throws up its hands and says "fuck it, not my problem".

      So, maybe instead of trying to write a crappy, useless system for the users who will be scared to know they're looking at a text file or an exe ... Microsoft should try to write something which isn't crap, isn't still predicated on using that crap autorun to ensure every possible source of malware is ran without being prompted, and from the get go tells users "this is a computer, we're not hiding this from you".

      It boggles my mind even at work on a Windows server, when my account is an admin and I'm doing admin tasks how Microsoft goes out of their way to hide the actual functionality. And when they don't their "helpful" error messages are garbage ... like "something bad happened, contact your administrator". Tell you what, I'm the fucking administrator, why don't you tell me an actual error message instead of assuming I'm a child?

      It seems like the more Microsoft tries to dumb things down for their users, the worse they actually make their software. Because it actively tries to be sure you can't see what you know, and simply can't (or won't) tell you what happened when it should.

      Microsoft is way too focused on pointless eye candy (like the Metro interface on my desktop I had to remove), and dumbing down the user experience ... and seems to utterly fail to make it possible for someone who actually has some idea of what they're doing to find what they need.

      The more "helpful" they try to be, the less helpful and usable they actually are.

      --
      Lost at C:>. Found at C.
    10. Re:Yes, I agree by oodaloop · · Score: 3, Insightful

      It's a terrible name though. Typical conversation at work:

      Me: Hey, did you save that in My Places?
      Them: No, I logged you out. I saved it on my profile.
      Me: I know. Did you save it to your My Places, or somewhere else?
      Them: Oh yeah, I saved it on my desktop.

      --
      Tic-Tac-Toe, Global Thermonuclear War, and relationships all have the same winning move.
    11. Re:Yes, I agree by jythie · · Score: 1

      I had a similar thought. While there is focus on the file extension, if the goal is to make sure users are only double clicking files they should be, having them memorize a bunch of magic 3 letter codes probably will not improve things much.

      A better solution would either be something obvious about the icon (runnables bordered in red or something), or even have two different mechanisms for 'load this file in its proper application' and 'run this application'. Having the same action for both behaviors was probably a mistake in the first place.

    12. Re:Yes, I agree by Anonymous Coward · · Score: 0

      I wind up doing three things on a new Windows install:

      First, is not just showing extensions, but hidden filenames, drives, and directories, as well as putting windows into different Explorer instances. This makes a crash of one window not crater everything down to the taskbar.

      Second is loading the features of deduplication, BitLocker, XPS, wireless, wbadmin (the backup program.)

      Third is moving the control panel back to a clump of icons, not the hierarchical stuff.

    13. Re:Yes, I agree by CaptainDork · · Score: 0

      When I work on systems at work, I unhide the extensions. It's the way I roll and it's work-necessary.

      Many times, I forget to hide the extensions and the user(s) bitch because, "It's eye clutter."

      I apologize and hide the extensions.

      I don't agree that users need to be educated regarding the significance of file extensions.

      Systems people just need to do their goddam jobs.

      Workers have enough crap to worry about.

      --
      It little behooves the best of us to comment on the rest of us.
    14. Re:Yes, I agree by jdharm · · Score: 2

      My "goddam job" is to make sure the tools the users have been given to do their jobs are working correctly, not to do their jobs or their thinking for them.

    15. Re: Yes, I agree by gstoddart · · Score: 4, Insightful

      Hell hath no fury like a nerd set in his ways.

      There's set in my ways, and then there's confronted with a modern piece of shit that some marketing wanker thinks is helpful.

      And, I'm sorry to say it, but almost all of the crap I had to figure out how to remove was garbage, intended to give a tablet like interface, using a UI which is mostly about eye candy.

      It serves no purpose, and provides no value to me.

      It's crap. But it's pretty.

      My problem with Microsoft is they seem to have forgotten that many of us still actually use computers to do our fucking work.

      Metro was a steaming pile of crap which wasn't useful for that.

      The OS itself seems good. The user interface has been designed by morons.

      --
      Lost at C:>. Found at C.
    16. Re:Yes, I agree by x_t0ken_407 · · Score: 1

      Was just going to post this. It's so annoying that they're hidden by default. Like, why? How does it help even the no-savvy user?

    17. Re: Yes, I agree by jedidiah · · Score: 2

      Hell hath no fury like a nerd that has to clean up after boneheaded design decisions made by incompetent engineers with billions of dollars in resources who should really know better.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    18. Re:Yes, I agree by Anonymous Coward · · Score: 0

      Pretty sure he meant that he sets things to launch on click instead of the pointless and sometimes irksome double-click.

    19. Re:Yes, I agree by Anonymous Coward · · Score: 0

      But making things arbitrarily complicated (like taxes or healthcare or the scoring system in tennis) such that they must be actively 'learned' to get to the point where one can get 'use' from the 'knowledge' is a regular practice.

    20. Re:Yes, I agree by Monoman · · Score: 1

      I agree but I will give you one warning from a previous experience from way back in the Win3.x/95 days. We had a user that changed used file extensions as part of their random naming. Some were initials, some were 3 letter acronyms, etc. This user had no clue where they saved their files (scattered over the years) and it was a real PITA to find them so they could migrate them to a server drive.

      --
      Keep the Classic Slashdot.
    21. Re:Yes, I agree by Anonymous Coward · · Score: 0

      The first thing I do on windows is change the settings to show tilename extensions.

      First thing I do on a new Windows system is stick in a live disk, and change it to a Linux system

    22. Re:Yes, I agree by azav · · Score: 1

      And too much knowledge present at one time can be a hinderance too.

      Think of times when you are driving, trying to find an exit and there are way too many road signs.

      Removing clutter and too much information is also very important in getting work done.

      --
      - Zav - Imagine a Beowulf cluster of insensitive clods...
    23. Re:Yes, I agree by jeffmeden · · Score: 1

      The first thing I do on windows is change the settings to show tilename extensions. Much of the confusion I see in others can be directly traced to the fact that they don't know what their files are.

      Stop being afraid to make someone learn something useful to use a computer.

      That being said, don't make people learn useless things. Design a powerful set of useful things to learn each of which is valuable and worth learning and remembering and then reward people for learning them by maintaining their usefulness

      Making things overly simple robs users of the power to make things simple for themselves, and ends upt complicating their interaction with the computer.

      The problem is that almost all forms of email consumption (browser based webmail, outlook, etc) have pretty good warnings regarding certain file types that it's a really really bad idea to run (they even try to explain this to the user to some extent) and the users just fly past those warnings on their way to doom. What good is it to show a user "important tax return info.docx.exe" instead of "important tax return info.docx" when they really should only try to open it if they see "important tax return info" (type: word document) anyway? All this nuance is completely lost. Take away their local admin privileges already, and address the real issue (that users privilege should never exceed their knowledge.)

    24. Re:Yes, I agree by Anonymous Coward · · Score: 0

      The first thing I do on windows is change the settings to show tilename extensions.

      My next is to show system folders and files ...

      <rant>
      ... followed by changing the default filename sorting to alphanumerical, instead of the "hey, lets look for some digits in the filename, and sort on the represented value instead!" (a change that, in XP, only seems to be possible by some regedit magic).

      And than there are the problems that you can choose to open a non-linked filetype by any program you want, but if you do not want it to be auto-linked you have to un-tag that behaviour every ^&%$R* time.

      Next to that, The "search" function skipping system folders without even notifying you or giving you a choice, and its "search in files" only doing that in unspecified known filetypes, with no described way to overrule it.
      </rant>

    25. Re:Yes, I agree by CaptainDork · · Score: 0

      The ball (which you should be keeping your eye on) is the little round thing.

      Why in Sam Hill would a user give a shit about hidden stuff?

      Do you want a goddam see-through car so you can gaze in puzzlement about how it works?

      Do you want unfinished furniture so no materials are hidden from you?

      Users don't know bullshit from wild honey about hidden shit and guess what?

      You don't know bullshit from wild honey about how to do their job.

      --
      It little behooves the best of us to comment on the rest of us.
    26. Re:Yes, I agree by Anonymous Coward · · Score: 0

      The absolute first thing after installation is turn of the goddamn User Account Control pop-ups. "You pressed a button, are you sure you wanted to do that?!"

      You probably have had UAC set to "Always notify". In that mode it checks with you when changing Windows settings. Switch it to "Notify me only when programs try to make changes to my computer" and UAC should mostly pop up only when starting installers and things like that.

    27. Re:Yes, I agree by Anonymous Coward · · Score: 0

      My first thing is install TotalCommander.
      Then I never ever have to touch that nightmare called Explorer again.

    28. Re:Yes, I agree by Anonymous Coward · · Score: 3, Insightful

      The condescending My Docs, My Music, et al should also go.

      WHY?! This actually teaches / encourages people to store their documents / pictures / music in *one spot*, which makes things much more simple to back up. Granted, not every user actually uses these folders for their intended purposes (I recall backing up a ~120GB "My Documents" folder becuase the user threw *all* files, picutres / music / videos / documents into it, with *no* sub-folders to sort everything, for example)...

      The reason to not use that structure is because it is a bad structure.
      First of all the "My" prefix is terrible. Yes, I know that they just want the user to feel at home, but in a work related environment "My" doesn't make sense. (And the categories are aimed at a home user anyway.)

      When it comes to the categories they are not laid out in a way home users or company users want to work with them.
      I have never encountered someone that wants to split up their vacation data into photographs and videos. Typically they want them grouped together.

      It's not clear if the music folder is for own composed music or purchased music. Typically you do not want to mix them and purchased music you generally want to share within the family anyway.

      The documents folder is badly named or another folder for projects is needed. If you write a report you want to keep supplementary data together with the document you are writing. This includes pictures.

      Sure, you can just make your own structure in the My Documents folder. Unfortunately a lot of programs thinks that that folder is their playground and stores user specific settings or data there.

      Microsoft has yet to come up with a good solution. The ones they have provided so far is extremely inadequate.

    29. Re:Yes, I agree by SQLGuru · · Score: 1

      I turn on extensions and set my default view to Details sorted by extension.

      Also, ban spaces in directory and file names (as well as dots so the Anna.gif.exe is invalid). Spaces in names is a pain when you're typing at the command line......who wants to have to type quotes around their file names?

    30. Re:Yes, I agree by Anonymous Coward · · Score: 0

      The first thing I do on windows is change the settings to show filename extensions.

      Abso-freakin' lutely! The VERY FIRST thing I do as well on a fresh install as well!

    31. Re:Yes, I agree by Anonymous Coward · · Score: 0

      The behaviour of the rename function was changed, IIRC between Windows XP and Vista (or perhaps it was Vista -> 7, I'm not certain). Prior to the change, Rename would cause the entire filename, including extension, to be highlighted. After the change, all of the filename up to but excluding the extension is selected.

      So yes, I've seen the behaviour of users managing to fsck up file extensions, and having to grom through header bytes to work out what they've done - but this behaviour was addressed by a neater UI change than hiding the extensions several years previously.

    32. Re:Yes, I agree by gstoddart · · Score: 2

      Why in Sam Hill would a user give a shit about hidden stuff?

      Because it has been demonstrated for a long time that it can be dangerous to hide stuff.

      So if I set something to be "malware.jpg.exe", Microsoft will present that as "malware.exe".

      The act of hiding this stuff to try to make it "user friendly" leads the users to make stupid decisions.

      Just like autorun, which says "I'm going to run any executable on any media which is connected to this machine".

      You don't know bullshit from wild honey about how to do their job.

      I don't give a flying fuck about how they do their job. But I don't want to spend hours undoing moronic marketing decisions so that I can do my job on my computer.

      --
      Lost at C:>. Found at C.
    33. Re: Yes, I agree by Anonymous Coward · · Score: 0

      UIs designed for people who don't know how to use a computer and hinder the work of people who do know how to use a computer are not revolutionary. They are the computer version of idiot lights on your car. You don't need to know what caused that warning light to show up. Just take it to the dealer and let a mechanic take care of it. In fact, they make it so hard to figure out what caused that warning light, that you need to buy additional hardware to read that your car's computer is warning you about. And if you don't like it, well, you're just an old car nerd set in your ways.

    34. Re:Yes, I agree by baka_toroi · · Score: 1

      You got it wrong, it will present that as "malware.jpg"

    35. Re:Yes, I agree by ledow · · Score: 2

      There speaks somebody who's not managed other systems, presumably.

      "My Documents" is stupid when it's not even a document-storing account. Local Administrators having My Documents is stupid. Plus, then, they aren't My Anything. They are Company Documents.

      That aside, I rename My Computer (or, nowadays, create a shortcut to the same) to This PC. It just makes more sense, whether you are at home or at work.

      On top of that, the My Document folder is full to the brim of "CompanyName" folders for every concievable software manufacturer on any PC you've used for more than a day. Most of "My Documents" isn't close to "My" at all - I'd rather they weren't in there whatsoever, because everything thinks it has the right to throw junk into My Documents under a folder all its own (because, at one point, My Saved Games, etc. didn't exist).

      On top of that, My Documents INCLUDES My Pictures. They're both types of documents. But, oh no, one defaults to one location and one to another. Stupid. Microsoft's fix is indexing and collation of all these places into one huge globular - but temporal - mess where you can have multiple copies of the same document/photo appear.

      On top of THAT, if you ever browse a newly-setup server and go to the User areas (I separate Profiles and Documents, but some people don't), you'll see a thousand "My Documents". Because it's a fake name applied by desktop.ini and the like to any document folder. Want to get into a particular user? You have to turn off buckets of options, type their username in manually, or show another column - the REAL name of the folder.

      So now we're breaking stuff out of Documents and putting it in Pictures - is that part of the user profile (and thus needs to be downloaded to every client they log onto), or is that a storage area that can be pushed off with Folder Redirection to a network share? Okay, what about My Data Sources? What about My Videos? What about My Saved Games? What about My Third-party Things That Some Program Created In The Profile Folder?

      Can you redirect them all? Not easily. And why is Downloads outside of My Documents? Surely that's a bulk-storage area that you don't need to download to every client every time you logon?

      It's a damn mess. Yet, in base AD, we have two options - Profile Path and Home Path (not even called My Documents!). Everything else is GPO and Folder Redirection.

      So now when you backup your home laptop, you have to get not only My Documents but My Pictures, My Videos, My DVD-Rips created by some freeware, etc. too. Or you have to backup the entire User folder, which is a massive waste and includes - amongst other things - your registry which isn't necessarily portable.

      To you it's "just a name". To a sysadmin it's a bunch of junk that's slowly getting out of hand and there's few sensible ways to organise it.

      And yet all the user cares about is "magical, mystical special settings I should never play with" (Profile!), and "all my stuff" (which they can arrange how they want into subfolders of their own choosing) (Home!).

      This PC, This Network, Profile and Home. Universal, not personal/business specific, not unbelievably twee and unnecessarily humanising, and been the basis of user accounts for decades.

      But no, "My CDBP Projects" or whatever the ones that keep reappearing in my profile/document folders (at random it seems!) whenever I run some bit of freeware are the way to go...

    36. Re:Yes, I agree by mjm1231 · · Score: 1

      It's too late. I have seen countless Windows users who have been trained to double click. As a result, they double items in the Windows task bar and links on web pages. Some of them take it in stride, and some of them get annoyed that their application or link opens twice or hangs and freezes trying to. This does not seem to cause them to unlearn this behavior.

      --
      Ideology: A tool used primarily to avoid the bother of thinking.
    37. Re: Yes, I agree by i.r.id10t · · Score: 3, Insightful

      No angst here about it - I make beer money every so often just by backing up a users actual data files they care about, browser profiles, mail client storage, wipe windows and reinstall, all updates, etc. and then put their data back. If you wanted to dedicate yourself to running a business with yourself and maybe a couple of part time PFY employees, you could make a very good living fixing these issues that are the result of what you consider poor design, and the stupid decisions users have made.

      --
      Don't blame me, I voted for Kodos
    38. Re:Yes, I agree by Cro+Magnon · · Score: 1

      At one time, I had a "foo.txt", "foo.odt" and "foo.wpd" in the same folder. Without file extensions, it would have been fun figuring which was what.

      --
      Slow down, cowboy! It has been 4 hours since you last posted. You must wait another few hours.
    39. Re: Yes, I agree by Anonymous Coward · · Score: 0

      The worker can worry about it later then... like when the machine is in IT for reimaging because they saved and clicked attachment.exe instead of attachment.txt.

      Or not worry at all i guess.

    40. Re:Yes, I agree by Anonymous Coward · · Score: 0

      Server is just the regular OS with a different kernel scheduler and some extra services bolted on. It costs MS money to make distinctions between their OS flavors, so they make as few as they can get away with.

    41. Re:Yes, I agree by Chandon+Seldon · · Score: 1

      Systems people just need to do their goddam jobs. Workers have enough crap to worry about.

      Nonsense. If you spend 6+ hours a day working at a computer, you have some responsibility to know how to use that computer.

      What next? Is every company going to have an "office chair support" department so people don't have to figure out how to raise and lower their own chair? A typist pool so that nobody has to learn how to type?

      --
      -- The act of censorship is always worse than whatever is being censored. Always.
    42. Re:Yes, I agree by Art3x · · Score: 1

      The condescending My Docs, My Music, et al should also go.

      WHY?! This actually teaches / encourages people to store their documents / pictures / music in *one spot*...

      It's the word My that is redundant, cluttersome, and a bit too condescending.

    43. Re:Yes, I agree by Anonymous Coward · · Score: 0

      UAC wouldn't be so bad if it gave you some damn idea as to what permissions something is asking for. Write to a protected folder? Where? Is it trying to modify/overwrite system files? Instead, as you said, it's just 'you clicked something, are you sure you meant to click something?'

    44. Re:Yes, I agree by Anonymous Coward · · Score: 0

      I have mixed opinions on "Hide extensions." Yes, they're useful for identifying the app to open with but they can get muddled when you change the file name - esp on the CLI. I don't care about the "My Documents, "My Music," et al but I cannot stand Libraries. They're nice for viewing something, but when you try and translate where that is in the filesystem, it can be a real headache.

    45. Re:Yes, I agree by GargamelSpaceman · · Score: 0

      But they are hard coded into programs. It it were possible to do without problems, the second thing I would do is delete these folders.

      Also, 'Program Files' has a space in it.

      The second thing I actually do on windows is install cygwin.

      Generally I like to avoid spaces in folder names, also long paths, both of which are unavoidable in windows.

      --
      ...
    46. Re:Yes, I agree by fisted · · Score: 1

      I guess Microsoft wants to shield the user from accidentally running across the oh-so-utterly-complicated and highly technical concept of 'files'.

      It's Much Nicer(TM) to think of your stuff in terms of "this is a picture, that is a game, that is a cat video", and being completely oblivious of that all those magic little things generalize to 'a bunch of application-interpreted data with a name'. Encouraging whitespace in file^Wmagic thing names also hints into this direction.

      Microsoft is probably well aware of the fact that showing extensions by default would help the luser spotting attempts of tricking them, but this is apparently not as important as providing a "magical" computing experience.

    47. Re:Yes, I agree by Nyder · · Score: 1

      If they didn't put the folders is the worse place possible, i would use them. But having to go to users/name/my documents is stupid.

      How i keep my shit? e:/Music e:/Vids e:/Comics

      Fucking easy to find for anyone.

      --
      Be seeing you...
    48. Re:Yes, I agree by DutchUncle · · Score: 1

      The use of "My Whatever" had one primary purpose: forcing the use of a space character in commonly used file references, thereby breaking any DOS-era program being used on Windows. Space characters had been a clear delimiter since mainframe days, including in CP/M and other mini and microcomputer programs. Windows permitted space characters in a file name, which was inconsistent enough (what was wrong with underscore?), and then encouraged - almost *forced* - the use of its default directories with embedded spaces in the name.

      I also agree with others who have pointed out that it hides something that should not be hidden. If the default place for a user's data is "users\username\data", and the system prevents one username from accessing anotheruser's data, that's a good thing to understand.

    49. Re:Yes, I agree by DutchUncle · · Score: 1

      And the icons are selected by . . . . you guessed it . . . the extension.

    50. Re:Yes, I agree by AntiSol · · Score: 1

      The first thing I do on windows is change the settings to show tilename extensions.

      You're off to a good start. I used to do that too. These days the first thing I do on windows is format the HDD and install an OS that doesn't assume I'm retarded.

    51. Re: Yes, I agree by Anonymous Coward · · Score: 0

      The TV ads showed how to use the product:1) dance on a table, 2) make a pie chart with three slices, 3) watch some youtube.

    52. Re:Yes, I agree by jythie · · Score: 1

      Well yes, the issue is not where the metadata of sorts is stored, but how it is expressed to the user.

      Though at the moment executables can select their own icon and make it appear like a file icon from some other application. The idea would be to have some element of the icon that is based off the exention but which the file has no other control over, so if something is a file that doulble-clicking it will execute code, there would be some visual cue as such.

    53. Re:Yes, I agree by BasilBrush · · Score: 1

      The bug here is not that extensions are hidden.
      Thinking about the bigger picture...

      If it's the "same file", then really the bug is that a single "document" ought to be able to hold multiple formats for those different purposes.

      If it's not really the same file, then the bug is that the OS has allowed the person to call multiple documents by the same name.

      Showing extensions is a bodge. A quick hack. Not the proper fix to an OS.

    54. Re:Yes, I agree by mattventura · · Score: 1

      Fun fact: They aren't actually called "My" Documents and such, they're just called "Documents" and explorer sticks the "My" prefix on them. Do a dir on your home folder and you'll see the actual folder names.

    55. Re:Yes, I agree by mattventura · · Score: 1

      What they should do is stop hiding the concept of the "home folder" from the user so much. It would be a lot easier than providing a bunch of library links to subfolders within the home dir.

    56. Re:Yes, I agree by BasilBrush · · Score: 1

      Because it has been demonstrated for a long time that it can be dangerous to hide stuff.
      So if I set something to be "malware.jpg.exe", Microsoft will present that as "malware.exe".

      That doesn't demonstrate it's dangerous to hide stuff.
      It shows first of all that it's a bad idea to have file type encoded in the filename. But secondly, OSX doesn't have this danger, whilst still allowing hiding filetypes in more normal situations. i.e. If you have hidden filetypes, a filename that have a double file extension will still display in full to highlight the attempt.

    57. Re:Yes, I agree by BasilBrush · · Score: 1

      Elimination of clutter focusses the mind. Whilst to the hoards of sysadmins and IT workers that congregate round here file types aren't clutter, to users they are.

    58. Re:Yes, I agree by Totenglocke · · Score: 1

      Which is still annoying. I know it's installing software because I told it to install. I'm the one and only person using the system and I don't need it second guessing me.

      --
      "The tree of liberty must be refreshed from time to time with the blood of patriots and tyrants." ~Thomas Jefferson
    59. Re: Yes, I agree by Anonymous Coward · · Score: 0

      Windows shouldn't need to show file extensions.

      What it should visually display is whether a file is a risk to the integrity of the computer. Then a user can make an easy enlightened choice as to whether to open/execute the file.

    60. Re:Yes, I agree by BasilBrush · · Score: 1

      Spaces in names is a pain when you're typing at the command line......who wants to have to type quotes around their file names?

      Geeks et angry over perceived limitations in GUIs. Yet they give the limitations of a CLI a pass. Here the fault is with CLIs. How braindead that a valid file character is used as a separator.

    61. Re:Yes, I agree by Anonymous Coward · · Score: 0

      e ... Microsoft should try to write something which isn't crap, isn't still predicated on using that crap autorun to ensure every possible source of malware is ran without being prompted, and from the get go tells users "this is a computer, we're not hiding this from you".

      It boggles my mind even at work on a Windows server, when my account is an admin and I'm doing admin tasks how Microsoft goes out of their way to hide the actual functionality. And when they don't their "helpful" error messages are garbage ... like "something bad happened, contact your administrator". Tell you what, I'm the fucking administrator, why don't you tell me an actual error message instead of assuming I'm a child?

      It seems like the more Microsoft tries to dumb things down for their users, the worse they actually make their software. Because it actively tries to be sure you can't see what you know, and simply can't (or won't) tell you what happened when it should.

      On the odd occasion you ask for Microsoft help and get the lame answer(s) then try commenting "This was not at all helpful, programming is not your thing, try herding goats."

    62. Re:Yes, I agree by Blaskowicz · · Score: 1

      Short 8+3 file names still are or still were included for DOS programs to use them, you know. I don't know what "My Documents" was like, but "Program Files" was PROGRA~1.
      Just don't mess with it from pure DOS mode. I once renamed Program Files from DOS (not a window under win9x) to back it up before reinstalling : ren PROGRAM~1 programs
      Then the directory was unreadable and I couldn't fix it. oops.

      Anyway, we use spaces in file names daily and it is better than not having them.
      Unix-like has stupid warts too, try creating a file named "-r" in a directory full of important sub-folders then delete it.

    63. Re:Yes, I agree by QilessQi · · Score: 2

      I have to disagree. The extensions are part of the unique filename; that much is well established across different operating systems. The only hack is using extensions to indicate the content type to the OS.

      Apple got this right ages ago, by using the resource fork as a place to keep file metadata. They had their own version of MIME types ages ago, whereby they encoded both the file type and the program that created the file in the resource fork. A user could rename a .jpg to a .doc and the OS would still know that it was really a JPEG. Well behaved Linux/UNIX systems do this with magic cookies, but those are really an awful hack.

      My opinion FWIW: every file format should start with a MIME header in UTF8, in which the content-type of the "rest" of the file after the header should be kept. The header could always begin with the sequence "Content-type:" to act as a magic cookie indicating the presence of a MIME-header.

      So here's a possible JPG file, where [CR][LF] is a carriage-return linefeed sequence:

              Content-type: image/jpeg [CR][LF]
              [CR][LF]
              {old-school binary JPEG data...}

      Existing programs should be able to be retrofitted pretty easily: if the input file starts with "Content-type:", skip to the end of the MIME header and do traditional processing from there. Otherwise, assume that it's an old-school file. This allows us to put all sorts of metadata in the file header:

              Content-type: image/jpeg
              Creator: Adobe Photoshop
              Created-on: 2015-03-02T11:23:34Z
              Content-disposition: inline; filename="IMG-1234.jpg"

              {old-school binary JPEG data...}

      One content envelope to rule them all. :-)

       

    64. Re:Yes, I agree by Blaskowicz · · Score: 1

      The thing I did is to make it prompt for the Admin password. That makes a lot more sense. Feel free to run as Admin/root if you want full rights all the time like on old computers.

    65. Re:Yes, I agree by Slime-dogg · · Score: 1

      I think that the primary problem is the Windows reliance upon the name of a file to express that file's metadata. I realize that this has been the way of things for decades, but there are myriad ways to differentiate file types now. Modern filesystems have improved ways of storing and reading file metadata as well, without it having to impact the system's functionality.

      The interesting thing with full "regular" usage of a Windows system, it is exceedingly rare to actually deal with the actual executable file. A typical user is going to use the menu system to access the executable. I'm a computery sort of person, and I find that the only time I make use explorer is when I need to migrate files from one solution to another, or when I have to stage something for a process I'm running. On a more normal basis, I access my downloads via the browser's download dialog. I access documents via the word processor's recent documents and/or Open dialog (which opens to the established landing place for documents). I access programs via the Start Menu, or Win+Q/Win+S, or Command+Space. Steam is my primary mode of running games, too - I use the UI instead of the shortcuts for the games that are installed.

      I used to use the CLI a whole lot more. I guess I just got old, but mostly, it's that sort of "I'm not going to do more work than I really have to" curmudgeon sort of mentality. When I have to navigate to an executable, for instance, HxD, I will create a menu shortcut to it instead. It's just easier. In a lot of ways, the common usage metaphors are what keep users safe, too.

      --
      You need to restart your computer. Hold down the Power button for several seconds or press the Restart button.
    66. Re:Yes, I agree by epyT-R · · Score: 1

      Did you check your my documents? I know it's in my my documents.

    67. Re: Yes, I agree by epyT-R · · Score: 1

      It wasnt' the engineers. They were replaced by 'user experience designers.'

    68. Re:Yes, I agree by epyT-R · · Score: 1

      Removing functionality can be just as dangerous for users as giving them too much capability.

    69. Re:Yes, I agree by Anonymous Coward · · Score: 0

      The condescending My Docs, My Music, et al should also go.

      The major folder My Docs, My Music, My Pictures etc. are ok only after I remap them to where *I* decided to store the files, but they can be remapped.

      The default locations are useless though, and the usefulness of specfic folders will vary by user (My Digital Content or something like that was a waste of space for me). They created the concept of Libraries, so let *me* decide which libraries I want.

    70. Re:Yes, I agree by Anonymous Coward · · Score: 0

      "If you change a file name extension, the file might be ununsable."

      Really Microsoft? Go fuck off.

    71. Re:Yes, I agree by CaptainDork · · Score: 1

      Precisely this.

      I'm in IT and everyday I feel like I should apologize to my coworkers for being a cost center.

      When I meet with management, it's to seek money to keep us out of the ditch or to keep up or to implement some productivity enhancements ... but it's always for money.

      My coworkers have to swim harder against the revenue stream every time I buy something.

      My coworkers just want to make money. We all do.

      That's why we get up and go into work.

      --
      It little behooves the best of us to comment on the rest of us.
    72. Re:Yes, I agree by CaptainDork · · Score: 1

      Good sysadmins are smarter than users when it's in our wheelhouse.

      --
      It little behooves the best of us to comment on the rest of us.
    73. Re:Yes, I agree by BasilBrush · · Score: 1

      You seem to be very much agreeing.

    74. Re:Yes, I agree by CaptainDork · · Score: 1, Insightful

      Fuck you.

      Are you going to crack a fucking book and learn the goddam business, or are you going to focus on YOUR job.

      People like you are why users hate us.

      --
      It little behooves the best of us to comment on the rest of us.
    75. Re:Yes, I agree by Livius · · Score: 1

      Saying "My" when the correct word is "Your" is the way adults talk to two-year-olds. It doesn't get much more condescending than that.

      Plus, there may be valid reasons for having several places for different kinds of documents, and it doesn't get in the way of backups at all.

      I also hate the way Windows assumes every MP3 file is music - I work as a transcriptionist and my MP3s are mostly spoken word.

    76. Re:Yes, I agree by Anonymous Coward · · Score: 0

      It's a cause of confusion, but IME not the main one. That honour would go to a failure to understand what directories are.

      "Where did my document go?"
      "You closed it."
      "How do I get it back?"
      "Go to the directory you saved it in and reopen it."
      "But the box has gone!"
      "Box?"
      "You know, the thing it was in before."
      "You mean the directory?"
      "You know, the thing..." ...and on it goes. Such a simple concept, so much confusion from those who never paid enough attention to learn it.

    77. Re: Yes, I agree by Anonymous Coward · · Score: 0

      Well, fuck you, faggot. I had ZERO problems adapting to Windows 8 and now prefer it to anything Microsoft had before. I get my work done, why can't you? Oh, I know why, because you're an idiot.

    78. Re:Yes, I agree by brantondaveperson · · Score: 1

      Also, 'Program Files' has a space in it.

      I KNOW - this is the most irritating thing ever. It's almost as if microsoft did this to deliberately make the command line harder to use.

    79. Re:Yes, I agree by QilessQi · · Score: 1

      Then apologies, I misunderstood you. :-) I was keying in on this sentence:

      If it's not really the same file, then the bug is that the OS has allowed the person to call multiple documents by the same name.

      Certainly they are not the same file, but the OS is not at fault here. The OS (well, technically, the Windows filesystem) properly keeps track of the full filename -- it is the Windows desktop user interface that is at fault by hiding information.

      But there is a hack in Windows, which is that changing the filename extension changes what Windows thinks that the file holds, and what application it launches. That's why I think we need a consistent content envelope across operating systems which makes use of established MIME content-types.

       

    80. Re: Yes, I agree by Anonymous Coward · · Score: 0

      That's fair.

      Now you go and get your CPA so you can parse the company's annual report and understand the budgeting issues involved in your funding source.

      After all, if you're going to spend 6+ hours per day working with expensive equipment pursuant to a business model, you ought to know all about the manner in which the business model operates, right?

    81. Re:Yes, I agree by sabbede · · Score: 1

      You can change where those folders are located you know. Right click on them in explorer and hit the location tab.

    82. Re:Yes, I agree by AlvySinger · · Score: 1

      > The condescending My Docs, My Music, et al should also go They have. It's Documents, Music, etc. in Win7. Never liked "my" either but having libraries is quite useful. (Especially seeing people still save everything to their desktop.) However, as they're libraries the UI behaves unexpectedly: it'd be nice if a library let you create a new folder. Yes, I know it's an aggregate of more than directory but being able to set a default for new folders would be useful.

    83. Re: Yes, I agree by AlvySinger · · Score: 1

      True, but... you're not an average user. It's mass market stuff now, for better or worse. Things could more easily support geek and real people but there are more real people using this stuff....

    84. Re:Yes, I agree by BevanFindlay · · Score: 1

      Great idea, but it will never be able to be retro-fitted. :-( It is however, something we could (should?!) do for new formats in future - though realistically, most new file formats that I've seen are now zipped-XML, and unless you want to rewrite the ZIP format (we don't), it's not going to fly, although you do at least get to open it and have a decent look around inside (and get to content that you can usually decipher or extract). Ebook formats like EPUB have the first file in the ZIP required to be a plaintext "minetype" file, which I think is an excellent way to go about it.

      Of course, what you are suggesting is that most people will know how to open a file in a text editor, which while standard par for the course for most of us on /., isn't something the usual user will think of. A better solution I think is to integrate something like the file command into the OS such that it, when asked to access an unknown file, it interrogates it to say "this is a xyz file, and these applications have registered that they can open this type of file, which would you like to use?"

      Interestingly, back in the old Amiga days, you actually could identify a file like this - the first 4 bytes of something like an IFF ILBM picture file (IIRC, it was a long time ago) would be a recognisable 4-letter combination. It wasn't hard to learn some of the common ones. This was back on an OS that didn't seem to care at all about file extensions. It was such a useful skill that I still try it, though most modern formats don't seem to start with anything human-readable like that. I think it may have been done that way as it allowed the OS to only need to read the first word from disk to identify the file (though nowadays we would put that in the filesystem metadata, which means less seek time, though there's no reason why the filesystem metadata couldn't be informed from reading the file in that manner the first time it is created).

    85. Re:Yes, I agree by tepples · · Score: 1

      Take away their local admin privileges already, and address the real issue (that users privilege should never exceed their knowledge.)

      In principle, I agree with your "real issue". But in practice, a lot of PCs are in homes of less-than-competent people. If a machine's owner lacks knowledge, then who should have local admin privileges?

    86. Re:Yes, I agree by TapeCutter · · Score: 1

      Yeah, but a crappy name is a matter of taste, not function.

      --
      And did you exchange a walk on part in the war for a lead role in a cage? - Pink Floyd.
    87. Re:Yes, I agree by dwywit · · Score: 1

      This concept has been in use on the AS/400/i Series/System i/whatever since 1988. Everything is an object, and carries its own object description. The object description tells you and the operating system what the object contains, e.g. user file data, index, source file, executable, etc, and that determines what can be done with it, and what programs are allowed to act on it. The system simply won't execute a data file, and you can't edit an executable. Doesn't matter what your access level is, you can't override it and patch an executable directly.

      --
      They sentenced me to twenty years of boredom
    88. Re:Yes, I agree by mjwx · · Score: 1

      It's a terrible name though. Typical conversation at work:

      Me: Hey, did you save that in My Places?
      Them: No, I logged you out. I saved it on my profile.
      Me: I know. Did you save it to your My Places, or somewhere else?
      Them: Oh yeah, I saved it on my desktop.

      Actually this is what makes it brilliant for work. The last thing you want is everyone saving their cat pictures in the same directory, it's terribly confusing when the CEO opens MrFluffy.jpg and finds it's not his kitty.

      For most "average" users you should be using roaming profiles so when Jeff saves files to "My Documents" on Joe's computer, they're easy for Jeff to find again because they're saved to a central repository (where they can be backed up all at once).

      There is a lot we can lambaste Microsoft for, but My Docs and roaming profiles are one of the few things they've done right (of course it doesn't help when software abuses it, but this is why Itunes got banned from many a corporate network).

      --
      Calling someone a "hater" only means you can not rationally rebut their argument.
    89. Re:Yes, I agree by Anonymous Coward · · Score: 0

      The condescending My Docs, My Music, et al should also go.

      You do realise that they've been simply "Documents", "Music" and so on since Windows Vista, right?

    90. Re:Yes, I agree by spitzak · · Score: 1

      Unix-like has stupid warts too, try creating a file named "-r" in a directory full of important sub-folders then delete it.

        % rm -- -r

    91. Re:Yes, I agree by spitzak · · Score: 1

      You are describing some sort of standard for magic cookies. This could easily be merged with the existing use of magic cookies.

      There is however somewhat of a standard now: the first 4 bytes are a 4-letter code for the file type. Lots of image formats, in particular, use this.

    92. Re:Yes, I agree by thegarbz · · Score: 1

      So you're trying to compensate for users not being able to read? The prefix "My" was stopped in Vista.

      You can't make something foolproof.

    93. Re: Yes, I agree by thegarbz · · Score: 1

      There's set in my ways, and then there's confronted with a modern piece of shit that some marketing wanker thinks is helpful.

      And, I'm sorry to say it, but almost all of the crap I had to figure out how to remove was garbage, intended to give a tablet like interface

      Well there's an answer to that, buy a modern computer. Windows 8.1 interface is a step towards the right direction for anyone with a convertible touch screen machine. I say a step because there are some bad inconsistencies but you know what, Windows 7 is useless on a tablet, Windows 8.1 is not.

      Oh it doesn't fit your use case? Well carry on the rage then.

    94. Re:Yes, I agree by bingoUV · · Score: 1

      That is assuming backup strategy for all pictures is the same, that for all music is the same etc. This is a VERY bad assumption - leaving with 2 options :

      1. Analyze the 120 GB documents, pictures and music spending 3 hours. Still, worst case backup 120 GB.
      2. Backup 120 GB across documents, pictures and music.

      Only one of those folders makes sense - Downloads. This is because it is unlikely one would want to backup downloads. But other backup strategy has nothing to do with whether something is called a document, or a picture or "a music".

      --
      Bingo Dictionary - Pragmatist, n. A myopic idealist.
    95. Re:Yes, I agree by bingoUV · · Score: 1

      From my perspective, this is the worst. Command line showing one name, explorer showing another name of the SAME folder. There are even applications which show the "internal" name, and some show the so-called "user friendly" name.

      There is only one utility of things having a name - and that is that it doesn't keep changing depending on circumstances. Otherwise there is no point in anything having any name.

      --
      Bingo Dictionary - Pragmatist, n. A myopic idealist.
    96. Re:Yes, I agree by Anonymous Coward · · Score: 0

      if you ever browse a newly-setup server and it doesn't have things like /var & /bin then you're doing it wrong.

      FTFY

    97. Re:Yes, I agree by bingoUV · · Score: 1

      As long as interpreters exist, there is no difference between 'load this file in its proper application' and 'run this application'. You have to go full iOS and disable "interpreters", loosely defined.

      --
      Bingo Dictionary - Pragmatist, n. A myopic idealist.
    98. Re:Yes, I agree by BasilBrush · · Score: 1

      Certainly they are not the same file, but the OS is not at fault here. The OS (well, technically, the Windows filesystem) properly keeps track of the full filename -- it is the Windows desktop user interface that is at fault by hiding information.

      Right. It's a single stack of software sold as an OS. If the extension is used as a concealed file type by one part (desktop) then the name is effectively that, and it's a bug to allow more than one the same.

      I'm not saying that Windows should actually be modified to prevent this. I'm just pointing out the illogicalities that using file extensions as file types gives.

      BTW, as a rif on your suggestion, EPOC32 (that because Symbian) had an interesting angle. FIle types were given by file system extensions "recognisers" that could tell file types by arbitrary means. So they could look at file contents (generally the first sector of a file) or file name. So you could look for an HTML header say, Indeed most file types have recognisable headers within them. For example I did a Gameboy emulator, and I wrote a recogniser to go with it that recognised Gameboy games by the string "(C)Nintendo" which was always at a particular offset in the file. Which my colleague found rather amusing.

      In a lesser way, *nix tells the types of executables by examining the first part of the content. e.g #!/usr/bin/python

    99. Re:Yes, I agree by QilessQi · · Score: 1

      I'm proposing a little more than that. Magic cookies are ad-hoc; as far as I know there is no consistent standard for them. I'm proposing a standard header syntax which would be...

      -- Self-evident to anyone who looks at the header of a file with an ordinary text editor or string-dumper

      -- Aligned with the existing RFCs for MIME content types

      -- Extensible to allow other file metadata such as the program that created the file, the date of creation or last modification, etc. Each content type or subtype could define format-specific extension tags which would be easily available to any program. E.g.:

            Content-type: audio/mp3
            Creator: grip 5.1 (Linux)
            Audio-title: Despicable Me
            Audio-album: Despicable Me Soundtrack
            Audio-genre: Soundtracks
            Audio-artist: Pharrel
            Audio-mp3-sampling-rate: 44100K

            {conventional binary mp3 data....}

      Eh, maybe that goes too far, but you get the idea. Me, I'd just be happy if we all agreed that the standard cookie format at the head of a file would be this:

            Content-type: {{mime-type}}[CR][LF]

      Everything else could be taken care of by the format itself.

    100. Re:Yes, I agree by jdharm · · Score: 1

      Tools should get out of the way of the work. If you don't need it, put it away.

      If you have no idea what to do with the data you've been given because you don't recognize what it is, then you do need those extensions. You are correct - if you don't need the tool, put it away - but the argument made in this article is that the decision was made that users don't need this tool and it is put away by default and the result is confusion...which is getting in the way of the work. The argument is that this tool is needed to eliminate the confusion which is getting in the way of your work.


      I don't agree that users need to be educated regarding the significance of file extensions.

      Yes, they do. Computers are not magic, they are tools. Tools a human uses to accomplish a task. The human needs to learn to use their tool properly.


      Get over yourself.

      Same to you, worker drone. You don't have a job out of the goodness of someone's heart. You have a job because it is cheaper to buy you than to buy the machine that can do your job. So quit your moaning about 'What?! I have to learn something? But I want to just push buttons like and ignorant chimp and get paid on Friday, why do I have to learn something?' and take some pride in yourself. Learn to do your job well.

    101. Re:Yes, I agree by Anonymous Coward · · Score: 0

      The *libraries* aren't named 'My x'. However, the user shell folders entries in the registry are still named "My x".

      This means that retarded shit like adding desktop.ini entries that make a user's documents (which e.g. may be redirected to a server) appear in Explorer as "My documents". We have servers at work that have several hundred, apparent, "My documents" folders when viewed in Windows Explorer.

      It's when you go into command prompt you can see the underlying file name. This is fucking retarded.

      Also, "My pictures" and "My odbc data sources" say hi.

    102. Re: Yes, I agree by gstoddart · · Score: 1

      Well there's an answer to that, buy a modern computer

      I did buy a frickin' "modern" computer, I just didn't buy a portable or a tablet.

      I bought a desktop workstation, with 8CPU cores, 16GB of RAM, and which has 6TB of disk space.

      And then I had to spend hours removing a fucking romper room interface designed for a cell phone.

      If I buy a tablet, I expect a tablet interface. If I buy a desktop workstation, I expect to have that, and not have to strip out the idiotic and brightly colored garbage because some moron at Microsoft has decided the whole fucking world is doing everything on tablets.

      The problem is people at Microsoft are stupid enough to think that the tablet interface has any utility whatsoever in a desktop machine, and forget that MANY of us still use desktop workstations to do work ... not connect to Facebook, not to share stuff on Twitter, and pretty much not a damned thing Windows 8.1 is geared towards out of the box.

      Out of the box, Windows 8.1 is ahorrific mess of crap, designed for the drooling masses, and designed to be pretty and flashy, but which utterly fails to understand that essentially this is no different from the "Live Desktop" crap we were turning off a decade ago.

      It's all eye candy and non substance for a desktop machine. So far, when you turn the crap off, it's a great OS. But Microsoft has no idea of what the desktop experience needs to be.

      --
      Lost at C:>. Found at C.
    103. Re:Yes, I agree by gzuckier · · Score: 1

      The alternative to putting all your images in one dir, all your music in one dir, etc. is to organize things by content or theme or whatever, and let the applications sort them out, by extension. so you'd have a dir "porn" which would include all your porny pix, videos, pdfs, novels, spreadsheets, whatever; and another titled "car" which would include all stuff related to your car; etc. The advent of things like evernote that can handle multiple file formats makes it feasible to search them easily. You can organize the "my pictures" etc into subdirectories, but you still have to bounce around the higher level to get everything and searching for some trivial datum about your mortgage or something that you don't remember might have been in a pdf, or a saved .htm, or a .doc becomes a major pain.

      --
      Star Trek transporters are just 3d printers.
    104. Re:Yes, I agree by gzuckier · · Score: 1

      That being said, don't make people learn useless things.

      What's a useless thing? Any knowledge is useful for something.

      Leave my anatomy out of it, thank you.

      --
      Star Trek transporters are just 3d printers.
    105. Re:Yes, I agree by shutdown+-p+now · · Score: 1

      The condescending My Docs, My Music, et al should also go.

      Already gone in Win8. "My Documents" is just "Documents" now etc. The only exception is "My Computer", which became "This PC".

    106. Re: Yes, I agree by Anonymous Coward · · Score: 0

      I cannot take advice from someone named i.r.id10t

    107. Re: Yes, I agree by thegarbz · · Score: 1

      No, the problem is Microsoft has realised running multiple different code bases is difficult especially when the target device is very similar in functionality, and that some target devices (tablets) wish to switch seemlessly from one experience to the other.

      Out of the box Windows 8.1 still does a shit load better on a tablet/laptop convertible than any other version of windows ever released.

      So like I said, doesn't fit your use case so carry on the rage. Me? I'm quite happy with how things are going.

      - Posted from my tablet again but this time with keyboard and mouse in "laptop" mode.

    108. Re:Yes, I agree by Anonymous Coward · · Score: 0

      No problem.

      ~$ touch /directory/full/of/important/folders/-r
      ~$ rm /directory/full/of/important/folders/-r

    109. Re:Yes, I agree by Anonymous Coward · · Score: 0

      On *nix, the list of invalid characters in filenames is: / (diretory separator) and \0 (string terminator).

      Which character do you suggest to use as a separator instead of space?

    110. Re:Yes, I agree by Anonymous Coward · · Score: 0

      ASCII 1F - Unit Separator

    111. Re:Yes, I agree by Anonymous Coward · · Score: 0

      Also, ban spaces in directory and file names (as well as dots so the Anna.gif.exe is invalid). Spaces in names is a pain when you're typing at the command line......who wants to have to type quotes around their file names?

      This isn't 1968, it's 2015.

      I expect the computer to accommodate the way *I* work, not the other way around. There's no technical reason why *any* common character can't be used in filenames, except that some programmers think it's "too hard" to make the computer handle it properly.

    112. Re:Yes, I agree by AK+Marc · · Score: 1

      In Windows, with file extensions blocked, you look at the "file type" field to make that determination. One would be notepad, one wordpad, and one I don't know how windows would report it. They are all uniquely identifiable. If associated with different applications, the application would be identified.

    113. Re:Yes, I agree by Cro+Magnon · · Score: 1

      My W7 work box still has "My Documents" on the C: drive, but nearly everything I do is on the network drive, and not only does it not have "My Documents", it doesn't even have "Documents". I've never understood why MS set it up that way. Something like "Users/CroMagnon" would make much more sense as a home directory. If I wanted a "Documents" or even "My Documents" I could put it there myself.

      --
      Slow down, cowboy! It has been 4 hours since you last posted. You must wait another few hours.
    114. Re:Yes, I agree by shutdown+-p+now · · Score: 1

      The user's home directory (in Windows, that's %HOMEPATH%) is C:\Users\<username>. Documents is merely one of the subdirectories of that.

  3. Are you nuts? by Anne+Thwacks · · Score: 4, Funny

    The malware writers will never agree to i!

    --
    Sent from my ASR33 using ASCII
    1. Re:Are you nuts? by Anonymous Coward · · Score: 0

      Malware writers are much smarter: They hide the last extension themselves.

      See this article: http://arstechnica.com/securit...

      It also used a special unicode character known as a right-to-left override to make the infection file appear as a PDF document rather than a potentially dangerous executable file.

  4. Also, too many executables. by Anonymous Coward · · Score: 2, Insightful

    There's a whole slew of weird extensions now, that when clicked, do things.

    1. Re:Also, too many executables. by TechyImmigrant · · Score: 1

      Just because the extension says one thing, it doesn't mean the file contains such a thing..

      > ./hacker.exe
      I'm an evil bash script
      > file hacker.exe
      hacker.exe: POSIX shell script, ASCII text executable
      >

      --
      I should use this sig to advertise my book ISBN-13 : 978-1501515132.
    2. Re:Also, too many executables. by mattventura · · Score: 1

      Windows doesn't care. If it ends with exe, it considers it a compiled executable, end of story.

    3. Re:Also, too many executables. by fafalone · · Score: 1

      Even worse, you can register any extension you want as executable.

  5. Duh? by Anonymous Coward · · Score: 0

    Hiding file extensions is the second thing I disable when installing or first using a new Windows machine (right after auto-hiding the taskbar).
    If I wanted a computer with training wheels I can't take off, I'd buy a Mac.

    1. Re:Duh? by mlts · · Score: 2

      Not sure how Macs have training wheels, but my antediluvian MacBook running Yosemite shows all file extensions in the Finder, and when I'm using a shell window, ls -l and ls -la work just as well as in AIX, Linux, BSD, Solaris, or any other UNIX or UNIX variant.

      I'm OS agnostic, and OS X has some annoying qualities [1], but being able to see file extensions isn't one.

      [1]: My biggest complaint about not OS X specifically, but Mac hardware is that Apple killed off the XServe, You -can- rackmount a Mac Pro with a RackMac kit, but it would be nice if Apple still kept a toehold in the enterprise.

      I don't mean to digress, but if Apple could make Macs that could connect to each other via Infiniband and read/write to each other's storage, it would be a platform that could run applications at SAN speed and reliability, but without the SAN, just local drive arrays. Doing this would ensure a niche in the enterprise. Apple even has a clustered filesystem, XSan, so in theory, if Apple did a bit of design, one could have a bunch of Macs with fault tolerance of failed drives and systems, similar to how the EMC Isilon arrays work.

    2. Re:Duh? by Anonymous Coward · · Score: 0

      +1

      The file extension is part of the file name on the windows system. I want to see the whole file name when I'm working on a system. But then I've been doing this computer thing since the 70's and all the new kids will cry that I should stop telling them to... 'get off my damn lawn!' Don't be so afraid to actually know what you're doing.

    3. Re:Duh? by tibit · · Score: 1

      Given that from 10.9 onwards you have IP over Thunderbolt, I don't think you need Infiniband anymore. You can run XSan over Thunderbolt just fine, with a bunch of macs in a mesh network. All you need is thunderbolt cables, no other hardware needed.

      --
      A successful API design takes a mixture of software design and pedagogy.
    4. Re:Duh? by Anonymous Coward · · Score: 0

      This is good to know. It would be nice to have the ability to present to the OS one drive, even though the data may be located on the DAS, or have to be fetched through one of the Thunderbolt connections to get it. Add RAID and the ability to handle dead nodes, and that can get rid of a SAN.

      If one looks at the EMC Isilon, essentially it is a bunch of BSD nodes connected via Infiniband controllers, with the secret sauce being the way data is fetched and stored, keeping all the nodes in sync, and presenting a single filesystem no matter how many nodes are added. I am actually surprised that nobody else has done this.

    5. Re:Duh? by Anonymous Coward · · Score: 0

      apple don't give a shit about the enterprise anymore - the newest macbook pros don't even have kensington locks (!!) which are useful both at work and at college. if you're not a home user using iphoto and imovie, you are not apple's target market anymore.

  6. Missing the problem by a mile by arth1 · · Score: 1, Interesting

    The problem isn't not looking at file name extension. It's trusting them.
    File name extensions are just a convention, and are not prescriptive except on very immature operating systems. There is nothing that prevents a JPEG file from being saved with a .txt name extension. Looking at the name extension will tell you absolutely nothing.

    I have a web server set up at home that serves html files with a .gif extension, and expects images to have a .html name extension. It works great, because the file name extensions are only advisory.

    And then there's the Amiga, where you have prefixes, like mod.filename to signify a music score file with embedded samples. Again, it's just a convenience, and should never be trusted.

    1. Re:Missing the problem by a mile by Luthair · · Score: 3, Insightful

      This seems irrelevant. If you have a jpeg with a TXT extension, Windows at least will treat the file as a text file not an image.

    2. Re:Missing the problem by a mile by Anonymous Coward · · Score: 1

      And it's also the "Content-type" header in HTTP that determines the how your browser will render the content. The "extension" on the URL is meaningless. The grandparent post misses the problem.

    3. Re:Missing the problem by a mile by arth1 · · Score: 0

      You must have missed my "except on very immature operating systems".
      And it's not even the case in Windows. Windows is user configurable to let any extension map to any "action". There is nothing that says it cannot open files with a .txt file name extension in, say, Paint. It may default to Wordpad, but that's just a convention, not set in stone. As you install other programs, they may change that, so one day it opens in Slick|Edit, and there's nothing that prevents your music player from saying "hey, now, I want the default action for .txt files to be opened by me".

      Again, the file name extensions are only advisory, not prescriptive, and that's why they should never be trusted.

    4. Re:Missing the problem by a mile by Anonymous Coward · · Score: 0

      Filetype associations work very well when they are correctly configured. The issue that currently stands on windows involves files named as executables (anything from .exe to .scr) but with thumbnails that closer match one that would go with a pdf or other non-executable file. Yes, a file could be dangerous even if it was labeled .pdf instead of .exe but the way that operating systems handle these non-executable files is typically better; at least when a non-executable is being used as an exploit vector there has to be a targeted application. Now instead of simply running your malicious code with a double click the targeted application (perhaps adobe reader) has to be exploited by a specific attack pdf, this type of exploit is at least a little bit difficult (please control your adobe security jokes).

    5. Re:Missing the problem by a mile by Anonymous Coward · · Score: 0

      File name extensions are just a convention, and are not prescriptive except on very immature operating systems.

      Very immature operating systems, such as the one present on most desktop and laptop computers.

      On Windows, extensions are meaningful to the operating system. It doesn't identify all files by magic numbers. Files are typed by their extensions. If the file is "fishhead.jpeg" then it is not a Win32 executable binary (barring flaws in the JPEG rendering system that lead to arbitrary execution).

      I realize this is not how things are in the *nix world, but the discussion here is relevant for the Windows world.

    6. Re:Missing the problem by a mile by Anonymous Coward · · Score: 2, Insightful

      My favorite is the config files for .Net programs.

      When you create an "app.config" file, Visual Studio handily renames it to be [compiled output file name].config. So if you have program named "foo", and you compile it to make "foo.exe", your app.config file is going to be named "foo.exe.config". Now, hide the file extension and see the confusion erupt on all sides. "foo.exe" becomes "foo", and "foo.exe.config" becomes "foo.exe". So instructing someone to run that executable becomes an exercise in frustration as they repeatedly open the config file with Notepad.

      Hiding file extensions needs to die, at the minimum. I'd like to see VS adopt a better naming convention for app.config files, too. Like just calling them "app.config" or at least [project name].config.

    7. Re:Missing the problem by a mile by arth1 · · Score: 4, Informative

      On Windows, extensions are meaningful to the operating system. It doesn't identify all files by magic numbers. Files are typed by their extensions. If the file is "fishhead.jpeg" then it is not a Win32 executable binary (barring flaws in the JPEG rendering system that lead to arbitrary execution).

      You miss that it isn't like that in Windows either. A file named fishhead.jpeg can indeed be a a Win32 executable binary that gets executed by the OS as a binary if called without a named program to open it. That depends on what the end user and the programs he (spit) trusts have set the .jpeg extension to signify. It is only a recommendation. Windows provides defaults, but it is silly to presume that no program would ever be mean enough to change any of that on you.
      You cannot trust the extensions any more than you can trust the "From:" address in an e-mail. Not in Windows either.

    8. Re:Missing the problem by a mile by Chris+Mattern · · Score: 5, Informative

      Looking at the name extension will tell you absolutely nothing.

      Looking at the name extension will tell you what the system will attempt to do with it by default. This can be very important to know.

    9. Re:Missing the problem by a mile by wisnoskij · · Score: 2

      OK, and how is opening the jpg in notepad going to harm your computer?

      --
      Troll is not a replacement for I disagree.
    10. Re:Missing the problem by a mile by david_thornley · · Score: 2

      Actually, it doesn't tell you what the system will attempt to do with it by default. It tells you what would happen on a normal system, without anybody playing with the file extension meanings. There's a difference there, and when we're talking about malware it's a very important distinction.

      --
      "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
    11. Re:Missing the problem by a mile by Anonymous Coward · · Score: 1

      Also, it's possible to name a Word document "worddoc.jpg", then run "winword worddoc.jpg" and it will work.

    12. Re:Missing the problem by a mile by rhazz · · Score: 1

      When I read the summary I was thinking the same thing. Of course as you say it's mostly a problem when instructing others to do stuff with those files. The admins for our prod environment are ridiculously bad at figuring these things out.

    13. Re:Missing the problem by a mile by arth1 · · Score: 1

      OK, and how is opening the jpg in notepad going to harm your computer?

      It could just as easily be opening the .jpeg file containing executable content with with run.dll. The problem is that this mapping from file extension to action taken is not static, but can (and does) change on the fly. Which is why you may get irritated when you have two mp3 playing programs installed and your mp3 files open with the "wrong one". That means that one of the apps have taken over the file extensions. And it's not limited to taking over - it can point away too. Or it can open with a wrapper that runs malicious content and then passes the remainder to the viewer you expect, so you don't notice anything amiss.
      You just don't know unless you go into the registry and check for yourself. Trusting the file extension is misplaced trust.

    14. Re:Missing the problem by a mile by Sperbels · · Score: 1

      What harm does it do to rename a JPG to TXT? Why would I distrust an extension? If you put an infected executable on my machine and gave it a TXT file extension it's totally harmless. So it tries to open the file in notepad....no harm there.

    15. Re:Missing the problem by a mile by Sperbels · · Score: 1

      If someone has altered the file associations, that means they already had enough access to your system to compromise it in far easier ways.

    16. Re:Missing the problem by a mile by Sperbels · · Score: 1

      You need registry access to change those associations.... if these were changed by an untrusted source, your system is already compromised and changing the associations doesn't matter.

    17. Re:Missing the problem by a mile by RabidReindeer · · Score: 1

      I cleaned up someone's computer a number of years ago where in fact this was the case. He had a MASSIVE viral infection and one of the things it did was mess around with the registry settings for what happened when you clicked on icons. He was within millimeters of having to reformat his hard driver, but a command-line registry repair saved him.

    18. Re:Missing the problem by a mile by Anonymous Coward · · Score: 0

      You cannot trust the extensions any more than you can trust the "From:" address in an e-mail. Not in Windows either.

      You cannot tryst the extension to be what the file actually is. But you CAN trust the extension to determine what Windows will do with it. That .jpg might not actually be an image, but Windows will try to load it like one.

      It isn't important to have everyone intimately familiar with every possible extension, but I always turn them on and tell people what .exe and a.bat mean (not so much a.com anymore) and that only the last one matters. I've had otherwise tech illiterate family members who still can't do more than the basic tasks on their computers but they've stopped being fooled by FunnyCatVideo.avi.exe.

    19. Re:Missing the problem by a mile by jbengt · · Score: 1

      You miss that it isn't like that in Windows either.

      Actually, it is like the GP said: "On Windows, extensions are meaningful to the operating system." I get your point that the user and thier "trusted" programs can set what opens/runs what extensions, but the MS Windows operating system uses the extension to look up what program is associated with it and opens the file with that program.

    20. Re:Missing the problem by a mile by arth1 · · Score: 1

      You cannot tryst the extension to be what the file actually is. But you CAN trust the extension to determine what Windows will do with it. That .jpg might not actually be an image, but Windows will try to load it like one.

      No, this is what I have tried to tell here, and keep getting modded down for. You cannot trust that. Really. You can trust that Windows will treat it as a .jpg file, but you cannot trust that Windows will treat .jpg files as images .
      What Windows treats .jpg files as depends on registry values that are changeable by the user (and apps). An app can change .jpg files to be treated as executables, without you knowing it.

      All that's needed is to modify HKEY_CURRENT_USER\Software\Classes\.jpg and it will override the system defaults. It's in the user hive, and does not even require admin privileges.
      Apps do this all the time, benignly to associate file types with themselves. That your .mp3 files suddenly open with WinAmp after installing WinAmp is because of this. But that's not all they can do - they can associate ANY file types with ANY programs, not just themselves. That includes making Windows execute the file as a binary, if they so choose.
      So you cannot trust that Windows treats a .jpg file as an image. That is only the case if you (or an app) hasn't changed that.

      Few people will check the registry before "running" a file. They trust that Windows will open the .jpg file with an image viewer (or editor), but they have no way of knowing if a boring game they installed and uninstalled a year ago changed that, and that .jpg files now get executed if containing executable content and otherwise shown in an image viewer.

    21. Re:Missing the problem by a mile by arth1 · · Score: 1

      If you put an infected executable on my machine and gave it a TXT file extension it's totally harmless. So it tries to open the file in notepad....no harm there.

      But how do you know that it will open it in notepad? Do you examine the registry?

      How do you know that an app you tried a year ago and quickly uninstalled didn't change the extension association for .txt to run a small wrapper that examines the file, and if it's an executable, executes it, and otherwise opens it with Notepad?
      It doesn't have to be a trojan you ran either - it could have been done through an IE/Flash exploit a long time ago too.

    22. Re:Missing the problem by a mile by rHBa · · Score: 1

      And it's also the "Content-type" header in HTTP that determines the how your browser will render the content.

      Wrong, you can create a javascript file with a .php extension (or .jpg extension) and include it with a <script src="foo.php"> tag and the browser will treat it as any other js file regardless of any headers sent by the server.

    23. Re:Missing the problem by a mile by rHBa · · Score: 1

      Looking at the name extension will tell you what the system will attempt to do with it by default.

      Emphasis mine.

      If Windows does something other than open a file with .jpg file extension in the image viewer it's not the default behaviour?

    24. Re:Missing the problem by a mile by Anonymous Coward · · Score: 0

      > happen on a normal system

      Exactly! I have several users that somehow keep changing the default program to open PDF files to Word, which of course doesn't work. It shows the contents of the PDF file as if it is a text file.

    25. Re:Missing the problem by a mile by BronsCon · · Score: 1

      That .jpg might not actually be an image, but Windows will try to load it like one.

      As will OSX. In fact, on both platforms it is possible to exploit that behavior to your own benefit as a user. Try configuring your OS to open .jpg in a viewer and .jpeg in an editor. Now, name all of your working copies .jpeg and all of your finals .jpg and enjoy having all of your working copies automatically open in your editor, while all of your completed work defaults to the viewer.

      Only possible when the OS makes intelligent use of file extensions; the people we're arguing with don't seem to comprehend the usefulness of this, though.

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
    26. Re:Missing the problem by a mile by countach · · Score: 1

      That assumes a lot. It assumes the user has knowledge of the thousands of extensions in use and what they mean, and that he knows what app they are mapped to.

    27. Re:Missing the problem by a mile by Anonymous Coward · · Score: 0

      s:notepad:/bin/sh:g

      get it now?

  7. Better idea by BCGlorfindel · · Score: 3, Insightful

    Instead of insisting that modern OS design carry forward an old and archaic standard set of digits describing the type of file, show users visual information about the file type/associations in way that is meaningful to them. If it is an executable file, don't make users parse that .exe is short for that, and in many cases .com and .bat can kinda work the same way. Give users a visual identifier that lets them know clicking this file will lead to this action. A web icon for anything that'll attempt to open itself from a browser, a document icon for something that will open in a document viewer, and so on.

    Insisting on showing people a 3 character code that 99% of them are entirely ignorant of solves nothing.

    1. Re:Better idea by Luthair · · Score: 1

      The reason this doesn't work is that executables have their own icons, thus can pretend to be an image, document, etc. This is the same reason why we had to move the secure connection web symbol because malicious (or stupid) sites used a lock symbol as their favicon tricking users.

    2. Re:Better idea by Anonymous Coward · · Score: 1

      They've been doing that all along, it hasn't worked.

      Also, showing people the file extension solves the mystery of why saving two files with the "same name" sometimes overwrites one file with the other and sometimes doesn't.

    3. Re:Better idea by Anonymous Coward · · Score: 0

      User education is everything.

      Most users don't even know what a browser is. Quite a few people don't even realise that Facebook is actually a website on the internet. They know they're on facebook, but they don't know they're also on the internet:

      http://qz.com/333313/milliions-of-facebook-users-have-no-idea-theyre-using-the-internet/

    4. Re:Better idea by BCGlorfindel · · Score: 1

      The reason this doesn't work is that executables have their own icons, thus can pretend to be an image, document, etc. This is the same reason why we had to move the secure connection web symbol because malicious (or stupid) sites used a lock symbol as their favicon tricking users.

      Which is why my recommendation was and is to change that. Have a secondary OS assigned mini-icon in the upper right showing what the OS identifies the file type as.

    5. Re: Better idea by AvitarX · · Score: 1

      I like my thumbnails though.

      But this means a file I haven't seen I can't use the icon to tell what is going to open it, or of it will be run on it's own.

      --
      Wow, sent an e-mail as suggested when clicking on "use classic" banner, and got a fast response that addressed my msg
    6. Re:Better idea by Anonymous Coward · · Score: 0

      Only because the OS lets them have their own icons.

      With the Windows Start Screen and OSX Launchpad there's no excuse for showing executables as anything but a generic executable icon in the file system. let the custom icons for executables live in the app launcher (where everything is an executable so you don't need to be told that the one that looks like a document is not a simple document).

    7. Re:Better idea by drinkypoo · · Score: 1

      With the Windows Start Screen and OSX Launchpad there's no excuse for showing executables as anything but a generic executable icon in the file system. let the custom icons for executables live in the app launcher (where everything is an executable so you don't need to be told that the one that looks like a document is not a simple document).

      Yeah, we tried that with Windows 3.1, but Win32 permitted storing the icon in the executable because you could do that on the Macintosh.

      If you want all exes to have a boring icon, use a boring file manager for admin tasks.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    8. Re:Better idea by wiredlogic · · Score: 1

      You can't possibly remember what each and every file type icon is on a typical computer these days. It is also subject to change if you have multiple applications fighting for control of the same types of files. A text extension can give a language parseable hint of what it is without requiring memorization of all possible file types. We are also no longer limited to three characters. Longer extensions are perfectly usable and silly anachronisms like .htm should just be phased out.

      --
      I am becoming gerund, destroyer of verbs.
    9. Re:Better idea by PPH · · Score: 1

      Instead of insisting that modern OS design carry forward an old and archaic standard set of digits describing the type of file, show users visual information about the file type/associations in way that is meaningful to them.

      That's an issue of he UI, not how the attribute is atached to the file. Processors still prefer 'digits' to dancing icons. Its up to the O/S to map one to the other consistently and in a manner the user will still understand.

      Keep in mind* that many of the bits and pieces of a system will never be seen by the user. It's one executable calling another, unseen by any human.

      *A problem I repeatedly see in communicating with Windows vs Unix users. With Windows, the paradigm is that everything is a clickable icon, waiting on some user. They have trouble grasping the idea of autonomous processes just doing their own thing.

      --
      Have gnu, will travel.
    10. Re:Better idea by Overzeetop · · Score: 1

      Wait...TWO icons in one? How the fuck are users going to parse that? A picture and a gear - does that mean it automatically opens the file? A picture and a hamburger? A picture and a small bird? A document and two lines with a dot between them?

      Users will screw things up no matter how you do it because there is no common language for executable, text file, picture, slide, pdf, rich text, etc. And with the propensity for UI designers to change the look of icons just to be "new and hip" with every other OS release (ex: settings icons), the users will never "catch up" before accidentally "executing" what they think is a picture file.

      --
      Is it just my observation, or are there way too many stupid people in the world?
    11. Re:Better idea by Anonymous Coward · · Score: 0

      Fair enough--maybe it it is a matter of the UI not implementing the icons for file types well enough.

      However, my impression is this: if a user isn't able to parse the file extension type, how are they going to parse anything about the filename? Or conversely, if they are able to use the filename at all, they should be able to understand a file extension type. The extra layer of meaning in the suffix as opposed to the stem is trivial.

      I'll admit that some users might not be able to understand it--maybe even a sizable chunk--but then would it make any difference to have visual indicators of the filetype? Are you arguing that the filename should be completely obscured from the user and the whole file should be identified visually rather than textually?

      My sense is that for users who use the filename extension, it matters a lot, and for users who wouldn't, it's lost on them regardless of what you do.

      Anyway, it's one of my pet peeves--losing the filename extension. It leads to many, many, many more problems than security. It also leads to people not understanding filetypes in general. For example, if I ask someone for something in text format as opposed to .docx format, or pdf instead of .docx, I think a lot of users have no clue what I'm even talking about, because they're so used to "just saving the file." Teaching users about data formats is the same way--many of them have no idea that different filetypes exist, and I don't think it's because they don't understand, it's that the whole concept has been obscured away from them.

    12. Re:Better idea by BCGlorfindel · · Score: 1

      Wait...TWO icons in one? How the fuck are users going to parse that? A picture and a gear - does that mean it automatically opens the file? A picture and a hamburger? A picture and a small bird? A document and two lines with a dot between them?

      Users will screw things up no matter how you do it because there is no common language for executable, text file, picture, slide, pdf, rich text, etc. And with the propensity for UI designers to change the look of icons just to be "new and hip" with every other OS release (ex: settings icons), the users will never "catch up" before accidentally "executing" what they think is a picture file.

      The same way windows already does. Ever notice the shortcut icon ontop of icons? MS already is doing exactly what I'm saying, just that they've only applied it for a the singular file type of shortcuts. Extend this to all file types...

    13. Re:Better idea by BCGlorfindel · · Score: 1

      Fair enough--maybe it it is a matter of the UI not implementing the icons for file types well enough.

      However, my impression is this: if a user isn't able to parse the file extension type, how are they going to parse anything about the filename? Or conversely, if they are able to use the filename at all, they should be able to understand a file extension type. The extra layer of meaning in the suffix as opposed to the stem is trivial.

      I'll admit that some users might not be able to understand it--maybe even a sizable chunk--but then would it make any difference to have visual indicators of the filetype? Are you arguing that the filename should be completely obscured from the user and the whole file should be identified visually rather than textually?

      My sense is that for users who use the filename extension, it matters a lot, and for users who wouldn't, it's lost on them regardless of what you do.

      Anyway, it's one of my pet peeves--losing the filename extension. It leads to many, many, many more problems than security. It also leads to people not understanding filetypes in general. For example, if I ask someone for something in text format as opposed to .docx format, or pdf instead of .docx, I think a lot of users have no clue what I'm even talking about, because they're so used to "just saving the file." Teaching users about data formats is the same way--many of them have no idea that different filetypes exist, and I don't think it's because they don't understand, it's that the whole concept has been obscured away from them.

      I'm arguing to simplify the training of users. Let's not have to train people that a movie they downloaded is NOT in fact a movie because the file name ends with .exe. That's because we then also have to train them that it could also be a virus if it ends in .com, or in .bat, and on. So we start at the other end and say, well if it ends in .mpg or .mp4 it's legitimately a movie, or .avi and on and on.

      Windows already puts a little curly arrow on top of the icon for any file that is a shortcut. Simply do the same for executable files, and for media files, and so on. That way training users is simpler. An executable icon looks like this, if you see that, be careful. Much easier to train users than requiring they memorize a lengthy archaic list of possible 3 character meanings.

    14. Re:Better idea by Anonymous Coward · · Score: 1

      Wait...TWO icons in one? How the fuck are users going to parse that? A picture and a gear - does that mean it automatically opens the file? A picture and a hamburger? A picture and a small bird? A document and two lines with a dot between them?

      Users will screw things up no matter how you do it because there is no common language for executable, text file, picture, slide, pdf, rich text, etc. And with the propensity for UI designers to change the look of icons just to be "new and hip" with every other OS release (ex: settings icons), the users will never "catch up" before accidentally "executing" what they think is a picture file.

      It would be the program's custom icon "badged" with the default Windows EXE icon.(Look at any of the EXEs in C:/Windows/System32/ for examples. They don't have custom branding icons like regular user applications.)

      If you tried to create an EXE with, say, the Word .doc icon to trick people into opening it, it would have the EXE badge superimposed over the regular .doc icon. It would look different from normal, and there would be no way to change that.

    15. Re:Better idea by uolamer · · Score: 1

      Since they have hid them for this long, showing this 3 character code will not help as much as it would have if they never hid them in the first place. Thankfully people deal with a small set of extensions so I would imagine over time it would make some difference and just the concept of any .xxx.yyy is probably bad would help. I have been turning on where I can can see file extensions since they started hiding them, which honestly I do not remember when they started at this point.

      Also.... Pinning stuff the start menu Quick Launch... The icons from Quick Launch do not move around on me, when I want to open Chrome the Icon isn't all the way on the left some times and some times in the middle. It hurts productivity. Yeah I turned it back on in Windows 7.. Just wondering if I will be able to in Windows 10.

      --
      s/©//g
    16. Re:Better idea by Twinbee · · Score: 1

      Ah, so we might need THREE icons in total ;)

      --
      Why OpalCalc is the best Windows calc
    17. Re:Better idea by jasenj1 · · Score: 1

      Agreed. There ought to be a "metadata" fork/portion of a file that contains the type and other stuff (date created, last changed, category, etc.). Relying on an easily changed three letter extension in this day is really stupid.

    18. Re:Better idea by wierd_w · · Score: 1

      Hiding the 3 letter extension started with win95. Prior to this, Win3.1(1) had the file manager MDI interface, which showed extensions, and did not show pretty decorated icons.

      Win95a was a radical departure from the program manager interface, and had all the pretty high color icon eye candy, and the start menu interface. It is also when they started hiding file types in the new Explorer filesystem browsing program. ( WinNT4 did have the start menu interface and all that jazz before win95, but did NOT hide extensions or folders by default, IIRC.) It pissed me off to no end, so I would always turn veiwing extensions back on-- which windows would always throw hands up and say "But you could hurt your computer seeing those!", which was a load of bull. This is the "Hide the scissors" approach, and does not teach people to be responsible.

      It has been a consistent "Feature" of windows ever since, and Microsoft keeps moving the "No, TURN THE EXTENSIONS ON AND STOP HIDING SHIT!" option deeper and deeper into the labyrinth one has to walk to take the mittens off.

    19. Re:Better idea by dywolf · · Score: 1

      distinction without a difference: there still has to be some sort of indication both to the OS and to the User what a file is and how to handle it.

      Whether this is accomplished via Icons, File Name Extensions, Tags, or any other sort of mechanism
      is ultimately irrelevant as they all accomplishes the same thing.

      And they all still require the user (and the OS) to be at least somewhat intelligent.
      The only way to remove this basic requirement is to remove the User, which rather defeats the purpose.

      --
      The guy who said the election was rigged won the presidency with the second-most votes.
    20. Re:Better idea by camperdave · · Score: 1

      Instead of insisting that modern OS design carry forward an old and archaic standard set of digits describing the type of file, show users visual information about the file type/associations in way that is meaningful to them.

      That's an issue of he UI, not how the attribute is atached to the file. Processors still prefer 'digits' to dancing icons. Its up to the O/S to map one to the other consistently and in a manner the user will still understand.

      Impossible. The "extension" isn't a separate field. The file name field was repurposed into a combined file name/file type field. As long as users have access to the whole field, there will be problems.

      Extensions should be eliminated, and a separate file type field, uneditable by the user except by special program (like the date fields, ownership/permission flags, and backup status indicator) should be created.

      --
      When our name is on the back of your car, we're behind you all the way!
    21. Re:Better idea by BCGlorfindel · · Score: 1

      distinction without a difference: there still has to be some sort of indication both to the OS and to the User what a file is and how to handle it.

      Whether this is accomplished via Icons, File Name Extensions, Tags, or any other sort of mechanism
      is ultimately irrelevant as they all accomplishes the same thing.

      And they all still require the user (and the OS) to be at least somewhat intelligent.
      The only way to remove this basic requirement is to remove the User, which rather defeats the purpose.

      The mechanism of indicating this to the user is NOT irrelevant. A 3 character extension, with a vast legacy of possible permutations that all mean executable of some fashion is BAD. The OS may need that detail of distinction between types of executables, the user does not. Training a user that the icon that looks like 'this' means it's a program and that it means you better trust it because it can do anything you can do if malicious is world's easier than, here is a, mostly, complete list of file extensions that you should be as cautious with.

    22. Re:Better idea by rilister · · Score: 1

      Strongly agree. It seems odd that desktop UI designers haven't taken that route (although if you look at the default MS Office icon suite, there's a clear intent to consistently visually separate data and executable files.) Ultimately, the user doesn't want to decode a three-letter extension, so why are we even considering forcing them to? The actual problem is simple and only needs to deliver a simple binary distinction between two specific classes of file.

      The days of computers being 'for' techies are long, long gone. I strongly suspect that the .TLA solution wasn't invented for the non-technical user's benefit but created by coders, for programming/filesystem ease. Just because people at Slashdot have it imprinted on their subconscious doesn't make it the best solution, just an arbitrarily chosen decent solution from decades ago. Could you possibly explain to a regular human being why that was the best possible way of distinguishing data from applications? Images are rich and information-dense: that's why icons exist: you can understand the meaning of them much more quickly than text.

      Remember the way old iOS icons used to use a very distinctive button shape and highlight across all iOs apps? That kind of approach would work well to make applications stand out, and then do something similar, but distinctively different for all data formats. Apple have had no problem with setting strong UI guidelines in the past. I'm not advocating the specific glossy-button - just a consistent aesthetic approach.

      --
      'This writing business. Pencils and what-not. Over-rated if you ask me. Silly stuff. Nothing in it' - Eeyore
    23. Re:Better idea by BronsCon · · Score: 1

      File extensions are useful for automation, of sorts. For example, I keep stock photos with .sjpg and .spng extensions, set to open in my image editor, while .jpg and .png open in my image viewer. They're JPEG and PNG images in either case; it's the extension that makes that automation possible.

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
    24. Re:Better idea by BronsCon · · Score: 1

      That almost works. Now, set Explorer to list view. Icon still big enough for that to be useful? Nope, need color-coding of the file name, as well. You're on the right path, though.

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
    25. Re:Better idea by BronsCon · · Score: 1

      That's all good and well, if you also couple it with color-coding of filenames, for cases where the icon is not displayed, or is too small to be useful (think list views), and you leave my file extensions the hell alone, because I use them to tell my OS to open some JPEGs in my editor by default and other in me viewer (I name stock photos .sjpg and leave everything else as .jpg, then have .sjpg always open in my editor, so I don't even have to think about it, just open the file, edit, and it's ready for the project I need it for).

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
    26. Re:Better idea by Cro+Magnon · · Score: 1

      The problem with "Hide the scissors" is that the scissors are still there. Right under the seat, pointy-end up! The user, even (or especially) the non-tech one is much better off seeing the damn things.

      --
      Slow down, cowboy! It has been 4 hours since you last posted. You must wait another few hours.
    27. Re:Better idea by Anonymous Coward · · Score: 0

      That would require NTFS to have an execute bit like Unix. Microsoft will copy all of the useful Unix features by the year 2842.

    28. Re:Better idea by PPH · · Score: 1

      OK. I'm not sure what it is we are arguing about here. The 'old archaic' standard to which I refer is the magic number embedded in the executable file. Often just a bunch of digits, but sometimes a string like

      !# /bin/sh

      That is inextricably linked to the file (being a part of it) and identifies it as an executable type and its execution environment (shell script in the above example). Ownership, file date, execution permissions are attributes of the file on one particular file system. These have security implications beyond the file type. For example, the administrator of a server may choose not to grant execution permissions to a script for which the system is only intended to provide storage.

      I agree that file extensions are a bad place to hold such data. But that was a Microsoft innovation to provide a human readable (and editable) place to hold such information.

      --
      Have gnu, will travel.
    29. Re:Better idea by countach · · Score: 1

      3 characters is an awful, error prone, non user friendly hint. Better the OS analyses the file on a more reliable criteria to tell you the file type in a different column.

    30. Re:Better idea by countach · · Score: 1

      There is nothing wrong with file extensions to hold this information, or at least there wouldn't be if the computing universe was more geared up towards preserving it in various copy scenarios. In fact is say file extensions are definitely the RIGHT spot for it, it's just that the rest of the universe needs to catch up with it so they are preserved in all cases.

    31. Re:Better idea by countach · · Score: 1

      Actually, a properly implemented scheme would NOT require the user to be intelligent. You might want to show the user, hey this is a Microsoft word file, but what's the point in making the user say deal with the whole .doc vs .docx distinction? Case in point, we check files out of share point as doc, we upgrade them to docx format, but guess what, it doesn't work because I can't change the file extension in SharePoint. All because of the stupidity of assuming that file name should be welded permanently to file type. Crazy stuff.

    32. Re:Better idea by countach · · Score: 1

      Yes all OSes need a mechanism where you can tell the file type. The argument is, file extension is not that right place for it.

    33. Re:Better idea by BronsCon · · Score: 1

      Oh, I get the argument, you missed the point by about a mile. I was throwing out an argument in support for, at the very least, keeping file extensions in addition to other methods. If I remove the extension from a JPEG altogether, OSX will still manage to open it in an image viewer; clearly, OSX uses other methods to identify the file type. That's all fine and dandy, and I'm glad it works.

      I'm also glad OSX looks at the extension first, for the reasons mentioned in the post above. Allow me to rephrase, since you missed it the first time:

      I use the file extension to easily tell the OS which application to use when opening certain files of the same type. For example, .sjpg and .spng open in a photo editor, while .jpg and .png open in an image viewer. The same files, all that's changing is the extension. When I import images from my camera, or add stock photos (which will need to be edited later) to my collection, I run a script that renames them accordingly, so all of my archive images open in an editor. Then, once edited, I save the result with the "proper" extension and the image will, from then, open in my image viewer.

      It's a simple way to not only identify which images I have and have not yet edited, but to also not need to put any thought into remembering to right click and "Open With" when I need to edit an image from my archives.

      I do agree that OSes need to utilize better methods for helping users identify files. I've posted my ideas for that several times in this discussion already, so I won't repeat them here. What I'm proposing is keeping file extensions as a way for users to easily tell their OS which program, of several they may have available to handle a certain type of file, should be used for a given file.

      I really hate typing novel-length posts (like this one) to express simple concepts, so please excuse me for relying on the ability of my peers to comprehend concisely-written text.

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
    34. Re:Better idea by amxcoder · · Score: 1

      This is a horrible idea. I view all files and folders in detail view. The icons are tiny and other than basic color, the details are barely decernable (small icons turned on as well). I don't want to have to view folders with the huge icons on the screen to tell what a file is. Neither do I want columns and columns of meta data about the file filling the detail view. I want to know the full file name (w/ extention), the date/time modified, and the size of the file. This is all I need to know what the hell the file is, what programs I have that will open it, etc.

      Also, I have many files with the same name except the extention. For instance, when I make quotes and invoices for clients, I create it in Word, so the original is a .doc (or .docx). However, when it's finilized, I export it to a .pdf in order to send to the client. I'm not going to send an invoice to a client in .doc format so they can edit the amount before paying, or some stupid crap, it's getting sent as non-editable .pdf format, like those types of documents should be. However, because of that, my hard- drive will have 2 versions in that folder of the same file, one being .doc and one being .pdf. The extension are VERY important to know which one to email off to the client, or which one I need to open to make a change to if I made a mistake.

    35. Re:Better idea by bingoUV · · Score: 1

      The actual problem is simple and only needs to deliver a simple binary distinction between two specific classes of file.

      Which 2 classes? "Data" and "executable"? There is no distinction as long as interpreters exist. Spread sheets are data, but if opened in MS Excel can perform actions that many executables find difficult. Many many applications change registry when just opening "data" files. It is easy to make a file which is both a csv and a perl script.

      Then there are zero day, and decades old vulnerabilities in many applications where a "maliciously" crafted data file can get the application to run arbitrary code.

      Could you possibly explain to a regular human being why that was the best possible way of distinguishing data from applications?

      For a regular human being, there is no possible way of distinguishing data from applications.

      --
      Bingo Dictionary - Pragmatist, n. A myopic idealist.
    36. Re:Better idea by PPH · · Score: 1

      I'll re-state my position again. File names, like permissions, dates and various flags are attributes of a file on one particular system. If extension .EXE means executable, when your .exe file is moved to my server for storage, if I choose to deny executable pemission, I must rename it. Now, its broken. Because nobody who subsequently downloads it will know what it was.

      --
      Have gnu, will travel.
  8. Actually, a file extension tells you nothing by Anonymous Coward · · Score: 0

    It tells you nothing about the actual contents of the file.

    Using extensions is just a convention as the file may actually contain an executable, or plain text, a jpeg.. or even an entire video.

    The FAILURE is in those systems that ASSUME the extension contains what convention held.

    And those that assume every file is an executable...

  9. Dumbing Down of The OS by g0bshiTe · · Score: 2

    You really think this will happen with the current level of OS dumbing down?

    --
    I am Bennett Haselton! I am Bennett Haselton!
    1. Re:Dumbing Down of The OS by NMBob · · Score: 1

      You're right. I'm not even sure some Apple OS programmers would understand this article.

    2. Re:Dumbing Down of The OS by Anonymous Coward · · Score: 0

      That's because the article is significantly lacking in shiny chrome and other assorted bling. If it did, Apple would just buy the article's company out!

  10. people don't care by Anonymous Coward · · Score: 0

    I've tried educating my users in the past to avoid this very same issue. Those who see computers as purely appliances no different than a refrigerator, don't care about file extensions even when it's enabled. They can't remember that .exe .com .bat .pif can potentially be dangerous, or that it's not part of their job responsibility. If anything, having extensions enabled increased confusion especially when the end-user would rename the file and remove or also change the file extension, rendering it unreadable. This is why file extensions are hidden in the first place. Icons make more sense and they can "get" what type of file it is without having thinking too hard about the extension - ie. Adobe Acrobat icon = PDF.
    People are already used to icons and it's part of the technology lexicon. Just look at Apple and all of their i-devices; and Windows mimicking this. File extension is great for the people in IT and surrounding it, but for everyone else it's redundant or invisible already.

    1. Re:people don't care by BronsCon · · Score: 1

      Adobe Acrobat icon = PDF, or malware executable masquerading as a PDF by co-opting the Acrobat icon.

      Fixed that for you.

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
  11. Not the right problem by Anonymous Coward · · Score: 0

    The real issue is not that file name extensions are hidden, the problem is the operating system does not properly detect and handle the file. The operating system should protect users in three ways:
    1. Accurately detect and indicate what a file is (executable, image, video, document)
    2. Warn if the file is executable and coming from an outside source. Modern versions of Windows do this.
    3. When a new file comes onto the system from e-mail or the web, it should default to read/write access only, no executable permissions. This means the user must at least be savvy enough to change file permissions in order to become infected by an executable binary.

    1. Re:Not the right problem by jedidiah · · Score: 1

      I would add #4 -- detect when someone is trying to trick the end user. Multiple file extensions. The combination of a visible file extension that's harmless with one that's executable. Trap these conditions and treat the file with an extra level of harshness.

      If one of us would see it as an obvious attempt to abuse the Windows file handler, then make it something that the common rube would not be able to execute even if they wanted to.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    2. Re:Not the right problem by Anonymous Coward · · Score: 0

      I had a user that downloaded a filename readme.txt.exe. Windows showed the file as readme.txt because they still had the Windows default to hide file extensions, and when I double-clicked on it, it ran an exe that contained malware that changed their default search engine in all of their browsers to Bing. This is a serious problem with Windows.

    3. Re:Not the right problem by Anonymous Coward · · Score: 0

      #5 switching to right-to-left mode in the middle of a file name (using Unicode), so the real file extension is shown somewhere in the middle of the name.

  12. And why is hiding shit the default in Win server? by swb · · Score: 3, Interesting

    That always baffles me.

    I'm kind-of-sort-of willing to concede to the demands by that fuckstick hipster who works in marketing who thinks that aesthetically filename extensions make the product too technical for other fuckstick hipsters who are also wound up about appearances. I don't agree, but I'm tired of arguing about it, at least when it comes to the consumer desktop OS.

    But WHY IN THE FUCKING FUCK does the server operating system have the same goddamn "hide everything that might be confusing to marketing types and the mentally retarded" settings out of the box? What shithead, or group of shitheads, made that decision and WHY? As far as I'm concerned this is a deeper, more profound and transcendental stupidity than making Win Server use the Win8 start menu.

    I find it particularly ironic given the Microsoft push to capture mindshare from CLI propellerheads with PowerShell Everything.

  13. Re:File extensions? by Qzukk · · Score: 5, Insightful

    The filetype is now contained in the icon

    The icon of an executable is set by the executable. Enjoy your porn.jpg.exe with a thumbnail icon.

    --
    If I have been able to see further than others, it is because I bought a pair of binoculars.
  14. Irrelevant Complaint by Luthair · · Score: 2

    Modern operating systems flag downloads and show warnings before executing. This seems more useful than a file extension which will commonly be truncated from view, even if the OS is set to display them.

    1. Re:Irrelevant Complaint by Anonymous Coward · · Score: 0

      Modern operating systems flag downloads and show warnings before executing

      Is that before or after you chmod +x?

    2. Re:Irrelevant Complaint by Luthair · · Score: 1

      Both OSX and Windows flag downloaded files as having a questionable source.

    3. Re:Irrelevant Complaint by dywolf · · Score: 1

      This is the 2nd thing I disable, immediately after displaying all file extensions and hidden files.
      Bloody annoying is what that feature is.

      --
      The guy who said the election was rigged won the presidency with the second-most votes.
    4. Re:Irrelevant Complaint by Anonymous Coward · · Score: 0

      Linux doesn't. But it also is non executable when downloaded. You have to do a chmod before you can accidentally install "My Linux Registry Cleaner" or whatever other nonsense.

  15. Good luck with that. by pla · · Score: 3, Informative

    it might be time to admit that users need to understand, embrace and responsibly use the only plain-text, obvious indicator of what a file actually is.

    Oh man, good one! You had me going until that line. Beautiful!

    I just responded in another thread where actual programmers argued about whether or not it counts as "confusing" to split a delimited string without actually using the name "split" for the method that does the work.

    And you want to try to get the average end user to understand the difference between ".XLS", ".XLSX", and ".XLSX.EXE"?

    May as well swing for the fences, I suppose.

    1. Re:Good luck with that. by drinkypoo · · Score: 1

      I just responded in another thread where actual programmers argued about whether or not it counts as "confusing" to split a delimited string without actually using the name "split" for the method that does the work.

      Did you? All I saw in that discussion was an argument over whether it was stupid to need seven lines to split a string instead of one. And it is. It's still a stupid argument, because any problem you can solve with a free and common library is not a real problem.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    2. Re:Good luck with that. by pla · · Score: 1

      Did you?

      Why, I did! Thanks for asking!

      "The "mystery" is that nowhere in your code does it mention the word "split".


      It's still a stupid argument, because any problem you can solve with a free and common library is not a real problem.

      Well, I have to agree with the "stupid" part, insofar as if you can't figure out how to parse a simple delimited string without pulling in multi-MB frameworks, you have no place writing code. Beyond that, though, the whole conversation amounts to a holy war. Do you prefer Emacs or Vi? Top or bottom? Allah or Jesus? Pointy end or round end?


      But to get back on topic - Do you prefer extensions or icons? Correct answer: "Why not both?"

    3. Re:Good luck with that. by PhilHibbs · · Score: 1

      ...and the extension doesn't actually say what it is, it says what the operating system will try to do with it. Which is just as important, if not more so, but it's important to get these details right. Sloppy tech journalism.

    4. Re:Good luck with that. by arth1 · · Score: 1

      And you want to try to get the average end user to understand the difference between ".XLS", ".XLSX", and ".XLSX.EXE"?

      Or to trust that no one is ever clever and malicious enough to use one trojan to modifiy the default action for .XLSX to run the files, and then a few months later send people .XLSX files that contains executable content?

      Seeing that it's named .XLSX does not tell you anything about what (a) the file contains, or (b) what the OS will do with it. You trust that no-one would ever be mean enough to put non-spreadsheet info in a file named .XLSX, and trust that nothing has changed the actions taken for that file extension.
      That's too much trust.

    5. Re:Good luck with that. by Anonymous Coward · · Score: 0

      I mean, it could be confusing, it could be fine, it probably depends on what your application is. I don't think you're doing a good job supporting your argument, whatever it is.

  16. Noises from backwardia by Anonymous Coward · · Score: 0

    You can also switch to less retarded software. Well, maybe you can't. Even redmond publicly figured it out somewhere last year, but failed to amend their own defaults. After having been a true believer in hiding extensions for decades right in the face of the damage it caused. And all the users? They see the problem and can't be arsed to hit that "user friendly, intuitive" tick mark?

    The real question then becomes, why even bring this up again? Why even try and bring reason to this thing? We know this. Everybody knows this. The manufacturer knows this. AND NOBODY DOES ANYTHING.

    Me, I won't be doing anything because on my systems extensions have neither been hidden nor are significant to the system. I already made my choice, and I acted on it. Many years ago. All I can say is that apparently the simplest things are hard for you. But I've long ago lost my capability to even pity you.

  17. make the file name too long to see the extension by Anonymous Coward · · Score: 0

    Malware writers anticipated this, and simply use a file name that's so long, the extension part is not visible without scrolling. Combined with a convincing favicon, stuff gets clicked anyway.

  18. You can lead a horse to water. by readin · · Score: 1

    this article argues that it might be time to admit that users need to understand, embrace and responsibly use the only plain-text, obvious indicator of what a file actually is.

    "You can lead a horse to water but you can't make it drink."

    The Microsoft horse already knows where the watering hole is; the problem is getting the horse to drink. They don't want to drink. To them making something appear user friendly is far more important than actually making it user friendly.

    I remember decades ago when email was safe so long as you didn't open the attachments. Email was just plain text that got displayed, not interpreted, so it was pretty hard for email to do harm. Then one day my dad sent me an a lot of his friends an email warning about a new virus that you could get just by opening an email (you didn't have to open the attachment). I emailed him and his friends back telling them that that wasn't how email worked. Just don't open the attachments and you'll be fine, etc. Then I saw on the news that there was in fact such a virus because Microsoft had decided that it would be a great idea to interpret and execute code in email automatically. It still amazes me today that they did such a thing.

    Anyway, yes it is SOP for me to enable showing extensions on any computer I use or have the opportunity to modify. Hiding extensions is like refusing to look at or smell any food you're given before eating it.

    --
    I often don't like the choices people make, but I like the fact that people make choices. That's why I'm a conservative.
  19. Re: File extensions? by hackwrench · · Score: 1

    No, I think that I name my files using something like a 255.3 format, and decrepit Windows gives me grief on having files that are nested too deep when combined with directory names.

  20. Re:File extensions? by Anonymous Coward · · Score: 0

    Yeah but that's the problem. You get a "movie" file that's actually a .exe with a VLC icon or whatever. Not that I've ever downloaded a movie...

  21. Stop talking down to the user by Karmashock · · Score: 3, Insightful

    The tendency to treat the user like a moron is common on all the widely adopted consumer operating systems and it really does need to stop.

    It just leaves otherwise intelligent people utterly baffled when simple things happen because they're kept in a fantasy land by their GUI.

    --
    I've decided to stop wasting my time responding to AC trolls/sockpuppets... so if you want a response from me... login.
    1. Re:Stop talking down to the user by Anonymous Coward · · Score: 0

      End users aren't dumb. They just don't care. When is the last time you cared about your tie color or whether it had a dimple? For most cases it doesn't matter. But if you're dining and wining a potential client, everything counts.
      As far as the end-user is concerned, it is up to IT to make sure the system is secure. After that, they can do whatever they want with the computers, however they want it, even if it means shopping online.

      People aren't dumb. They just have different priorities.

    2. Re:Stop talking down to the user by Karmashock · · Score: 1

      We're not talking about the same thing. Your opinion doesn't touch on my comment and I couldn't comment on your opinion without strawmanning you by making connections you didn't make... or unless I allowed you to randomly take me on whatever tangent you wanted to talk about.

      The only thing that you said that crossed my point was that you think end users are not dumb as well. Here we agree. After that... no connection.

      --
      I've decided to stop wasting my time responding to AC trolls/sockpuppets... so if you want a response from me... login.
    3. Re:Stop talking down to the user by Anonymous Coward · · Score: 0

      You just can't NOT be an ass, can you?

    4. Re:Stop talking down to the user by Karmashock · · Score: 0

      In regards to what, mr AC? Someone made a contextually irrelevant comment to a comment I made. I informed them politely that I had two options...

      1. Strawman them by assuming they had responded to my comment even though nothing in their post indicated that.

      2. Allow them to pull me off on a tangent that was totally unrelated to my argument.

      I chose option 3... I chose not to respond and told them why.

      And then I get YOU, mr AC telling me that I'm an ass without giving me any reason for it.

      I'm going to assume that you're someone I might recognize if you weren't hiding behind the AC title... and that you don't like the way previous discussions went between us? I can only assume since you're going out of your way to tell me nothing... not even your fake name on this forum.

      So how about this, mr AC... Extend your right thumb, place it flatly on your seat and then ease down on to it. When you've done that... we can continue. Otherwise... I really can't see what we have to say to each other.

      --
      I've decided to stop wasting my time responding to AC trolls/sockpuppets... so if you want a response from me... login.
  22. Re:And why is hiding shit the default in Win serve by drinkypoo · · Score: 1

    But WHY IN THE FUCKING FUCK does the server operating system have the same goddamn "hide everything that might be confusing to marketing types and the mentally retarded" settings out of the box?

    The idea is that your receptionist should be able to follow the instructions, install Windows, and set up your small office. "Back in the day" it was ordinary to make the receptionist the sysadmin because they were the person in the building deemed to have time to take on additional duties. I've spent some fun times doing UUCP support with someone who has to have Unix characters (like bang and pipe) explained to them as a result.

    I find it particularly ironic given the Microsoft push to capture mindshare from CLI propellerheads with PowerShell Everything.

    The GUI is still the primary way to do things.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  23. Re:File extensions? by rvw · · Score: 1

    Yeah but that's the problem. You get a "movie" file that's actually a .exe with a VLC icon or whatever. Not that I've ever downloaded a movie...

    Well if that VLC icon isn't a sign that something is wrong, then I don't know what will ever stop you!

  24. Back in the Day... by BCtoo · · Score: 0

    When there were only a few file types capable of carrying an infectious payload, it was considered good design to execute a file based on header information, not file extension.

    Now with so many different file types that are capable of carrying infectious payloads, I prefer an OS that executes files based on extension. Showing tiny little icons doesn't give me enough information. Put me in the camp of "Show me the Extension!" even if it is more than 3 characters.

  25. That's the problem by Anonymous Coward · · Score: 2, Funny

    This seems irrelevant. If you have a jpeg with a TXT extension, Windows at least will treat the file as a text file not an image.

    Exactly. That's idiotic. If I walked up to you and stuck a sticker with ".cat" onto your back, would you meow?

    What a file is, and the portion of the filename after the final dot, if any, should not have anything to do with one another. The assumption that any random file is what it says on the tin may have worked fine when computers were slow and security consisted of a big lock on the door to your office, but it has no place in 2015.

    1. Re:That's the problem by jedidiah · · Score: 2, Insightful

      No. A user should be able to trust the name of the file.

      If the file isn't really what it says it is, then that should be a BIG RED FLAG for the user shell. At that point the OS should know to treat the file as a threat.

      A deceptively named file should immediately go into quarantine.

      Instead, the user (assumed to be an idiot) is just left to fend for themselves.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    2. Re:That's the problem by BasilBrush · · Score: 2

      No. A user should be able to trust the name of the file.

      They can. The user is guaranteed that the name of the file is what the filename is. They can have 100% trust in that.

      You seem to be confusing that with file types. Your name is jedidiah (or at least your alias). But that's not your file type. I assume you're human. Yet we don't call you jedidiah.human.

    3. Re:That's the problem by camperdave · · Score: 1

      I trust the file name implicitly... as the name of the file. Like Shakespeare said: "What's in a name? That which we call a rose, by any other name would smell...". Rose.jpg is an entirely trustworthy name for a batch file; and it should be designated as a batch file by a file type field, not by hacking the filename.

      --
      When our name is on the back of your car, we're behind you all the way!
    4. Re:That's the problem by Anonymous Coward · · Score: 0

      A deceptively named file should immediately go into quarantine.

      What about the practice of deliberately giving files weird extensions? I'm modifying a configuration file, but I want to keep the old one so I call it config.ext.old or config.ext.backup or I have a data analysis file that doesn't seem to be working, but I want to keep in case it contains some important/recoverable data so I call it data.ext.broken. The last thing I want is the system sucking these files into some quarantine pit.

  26. Relying on users is not a security model by Anonymous Coward · · Score: 0

    If your security model relies on users, then it's broken. Why should a user have to know what file extensions are? Make the OS secure and stop blaming users.

  27. Good operating systems don't use extensions by Simon+Brooke · · Score: 1

    If you're trying to determine what the file type of a file is from an extension on the end of its name, you're engaging in industrial archaelology, not computer use. You can rename any file to have any 'extension'; consequently this idea is completely broken. The idea that you deal with this misfeature by hiding it just compounds the error.

    --
    I'm old enough to remember when discussions on Slashdot were well informed.
    1. Re:Good operating systems don't use extensions by camperdave · · Score: 1

      I agree. The file type should not be a function of the filename, but its own field, like the date. Hiding the extension gives the illusion of a separate file type field, but it's a hack. It's a hack masking another hack, and like most other such cruft, we owe its continued existence to Microsoft.

      --
      When our name is on the back of your car, we're behind you all the way!
    2. Re:Good operating systems don't use extensions by Anonymous Coward · · Score: 0

      It still indicates associations. Rename cmd.exe to cmd.whoopie and double click it. Did it run? Odds are that, as fun as they sound, .whoopie files are probably not associated with anything.

  28. file magic - use the content to determine type by grey1 · · Score: 1

    i've never understood why the unix file 'magic' approach wasn't used universally - it determines the type of a file based on the contents, usually the first few characters or lines.

    As ever, wikipedia has an article on the file type detector command.

    It's quick and easy, and usually more robust than relying on an appended file extension or even a declared MIME type.

    --
    "we demand rigidly defined areas of doubt and uncertainty!"
    1. Re:file magic - use the content to determine type by angryargus · · Score: 2

      It's hard to make extensible for newly installed products, and nowadays lots of file formats are a renamed zip file that contains other files.

    2. Re:file magic - use the content to determine type by ledow · · Score: 0

      Because something system-level with access to run the file (presumably) has to apply regexp's to almost it's entire contents to correctly determine the type of it (e.g. is it a ZIP or is it a JAR with the same compression?).

      It'd be trivial to generate a DOS of some kind by just feeding it a malformed file.

    3. Re:file magic - use the content to determine type by JohnFen · · Score: 2

      Because something system-level with access to run the file (presumably) has to apply regexp's to almost it's entire contents to correctly determine the type of it (e.g. is it a ZIP or is it a JAR with the same compression?).

      No, it would only have to examine the first few bytes.

    4. Re:file magic - use the content to determine type by RabidReindeer · · Score: 1

      i've never understood why the unix file 'magic' approach wasn't used universally - it determines the type of a file based on the contents, usually the first few characters or lines.

      Because first you have to open the file. If you have a directory with dozens of files in it, that can really slow things down versus just inferring the type from the extension in the directory.

    5. Re:file magic - use the content to determine type by swb · · Score: 1

      I agree with this. The usual objections are outlined in the other replies to your comment -- can't know about new file types, potential performance/DoS from carefully crafted files, etc.

      I mostly think the objections are bogus and/or apply to ANY file typing scheme, manual or automatic.

      I would think that you could make a file(1) type system reasonably robust enough to avoid most performance issues, such as limiting typing operations to a specific amount of processing time, avoiding typing of excessively large files and/or sensing access time to avoid automatic typing against slow filesystems.

      IIRC, Apple had a way to actually register creator codes and it doesn't seem impossible that Microsoft could do something similar for a file-type functionality's magic database, so it could know about already extant file types you didn't (yet) have the application for and provide a basic means of updating the magic over time to account for new files and even a means of collecting user-submitted magic for obscure files not already registered or enabling a local-only database. It's not like Windows Update couldn't keep this magic database updated.

      Even if it wasn't part of the automated display of file types in Explorer (ie, real-time) it's not hard to see it as a standalone utility that could scan a filesystem looking for broken matches between extensions and magic-identified file types.

    6. Re:file magic - use the content to determine type by godrik · · Score: 1

      I guess that is what is wrong with the magic approach:

      $ file extra.xlsx
      extra.xlsx: Zip archive data, at least v2.0 to extract

      That tells me nothing of value. In particular it does not tell me that it is an excel spreadsheet.

    7. Re:file magic - use the content to determine type by ledow · · Score: 1

      Really?

      To distinguish between a ZIP and a JAR, you'd need to at least get to the ZIP file list. And that's assuming it's a vaild ZIP file at all that you're regexp'ing over and not just something "similar".

    8. Re:file magic - use the content to determine type by Pentium100 · · Score: 1

      That fails if the file is stored on tape or a similar archive. Let's say that there is a big file server with tape storage attached to it and the server automatically moves files that were not used in some time to the tape to save on disk space. This is transparent to the user, so he sees all files and if he tries to access one, it either comes from disk or tape (with some delay).

      But if the operating system tries to access all files every time the directory is listed just to determine the file type you get a problem. Or what if the user is connected to the file server with a very slow link (dial-up, GPRS).

    9. Re:file magic - use the content to determine type by tepples · · Score: 1

      The "first few bytes" of any Zip container are the same, no matter whether the insides are what you'd expect from SMZIP (StepMania package), WSZ (Winamp package), JAR (Java package), ODT (LibreOffice document), DOCX (Microsoft Word document), or whatever else.

    10. Re:file magic - use the content to determine type by JohnFen · · Score: 1

      Perhaps you're misunderstanding. The idea is that the first x bytes of every file (usually 4) contains a code saying what the file type is. It's the same concept as a file extension, but in the file itself rather than in the filename. In this scheme, there is never a need to read more than the first few bytes to determine what the file actually is.

    11. Re:file magic - use the content to determine type by countach · · Score: 1

      The bad thing about it is, firstly you have to open the file to find out what it is, and that's very inefficient if you have to do a lot of them. Secondly, not all files are easy to identify that way.

    12. Re:file magic - use the content to determine type by ledow · · Score: 1

      Worldwide, complete change to every filetype and/or basically putting mimetype metadata into a file when you could just attach it as a mimetype attribute instead.

      Poor idea to have to examine the FILE at all. Mimetypes should be a separate, changeable attribute.

    13. Re:file magic - use the content to determine type by bingoUV · · Score: 1

      The context is that OS components need to distinguish between an image and a perl script. The only difference between them that is significant in this context is in the content of the file. So it is a poor idea to examine anything else other than the file itself.

      File name, extension, mimetypes, separate changeable attributes are all poor ideas when the file itself is available for examination.

      --
      Bingo Dictionary - Pragmatist, n. A myopic idealist.
    14. Re:file magic - use the content to determine type by bingoUV · · Score: 1

      Exactly the same is wrong with extension approach too. Double clicking on a .emacs file in windows comes with error "Windows can't open this file".

      Both are issues of the database not being updated, not fundamental problems in the approaches. But looking at content to decide about the content at least makes half a sense. Looking at an independent variable - last few characters of the file name makes zero sense and is a fundamental problem in the approach.

      --
      Bingo Dictionary - Pragmatist, n. A myopic idealist.
    15. Re:file magic - use the content to determine type by ledow · · Score: 1

      And encoding the filetype into the file means that you have to examine (and potentially interpret) the file to work out what to open it in. That's fine for certain things (e.g. executables all start with MZ) but not for others (e.g. JAR files are indistinguishable from ZIP until you interpret the ZIP file contents and act upon that interpretation).

      As soon as the contents could be malicious, and you're running even a regexp of any complexity on it, it's a risk.

      Encoding it into the filename itself is shoving metadata into other metadata. There's even a metadata separator involved here, the period in between! As such, they should be two separate and independently changeable pieces of information. Parsing the filename to work how to interpret the data inside is a nonsense, when you could just store "filename" (without the extension) and "filetype" separately. This also allows .jpg and .jpeg to be seen as the same thing (which they are!) and not require two separate and confusing entries!

      Adding any in-data identifiers to existing files also means modifying the file, potentially modifying hashes and security on them. Changing the way they are interpreted on one machine will affect every machine they are visible on and require write-access to the file.

      The filetype thus needs to be a separate attribute from the data (exactly why mimetypes exist and are broadcast as separate attributes!), which can be separately modified and interpreted by a user to their own preference.

      Of course, given a random unknown file from a source that doesn't keep mimetype attributes means falling back on a) filename extension and b) internal file type, but that's only to "seed" the initial data - the type itself is not reliant or dependent on that and merely renaming can break things (an innocent activity is for a user to accidentally rename and strip the extension without realising, thus ending up with an "unopenable" file).

      Also, you don't want to be reading any portion of a multi-gigabyte file just to see what it could be interpreted as. In the same way as you don't modify ANY file data to change the filename, filename extension, hidden atttributes, ownership etc.

      Some things about a file are metadata. Some are data. But file type is metadata - it's data about the data, and how it should be accessed or interpreted. As such it does not belong in the filename (which is itself a piece of metadata) or the data. What we're doing at the moment is stuffing two bits of separate (and important) information into one and then wondering why we have to hide one of those from users half the time.

      There's a reason that the entire web and email runs on things that force you to associate a filename extension with a separate piece of metadata - the mime type.

    16. Re:file magic - use the content to determine type by bingoUV · · Score: 1

      And encoding the filetype into the file means that you have to examine (and potentially interpret) the file to work out what to open it in.

      Yes, wherever some information is, it has to be read and processed. ANY information.

      That's fine for certain things (e.g. executables all start with MZ) but not for others (e.g. JAR files are indistinguishable from ZIP until you interpret the ZIP file contents and act upon that interpretation).

      Many applications can be used to process jar files as well as zip files. In as much as they use the same container, they ARE the same type of files. In as much as the purpose is different, there should be another data to be read somewhere. Remember you could change the "separate" metadata from application/zip to application/jar - so ALL the confusion that results from decisions taken by examining file content are all possible in decisions taken by examining the separate metadata.

      But in this separate metadata, not only the OS might attempt running a zip application on a jar file, it could also run photoshop on an excel sheet. Which is a much more varied possibility, testing against is many orders of magnitude more difficult than testing security of zip applications opening jar files, and hence much much more risky.

      As soon as the contents could be malicious, and you're running even a regexp of any complexity on it, it's a risk.

      Yes, so rather than execute a regexp of "any complexity", just run a multi-megabyte application on it because that is not a risk.

      Encoding it into the filename itself is shoving metadata into other metadata. There's even a metadata separator involved here, the period in between! As such, they should be two separate and independently changeable pieces of information. Parsing the filename to work how to interpret the data inside is a nonsense, when you could just store "filename" (without the extension) and "filetype" separately. This also allows .jpg and .jpeg to be seen as the same thing (which they are!) and not require two separate and confusing entries!

      Irrelevant.

      Adding any in-data identifiers to existing files also means modifying the file, potentially modifying hashes and security on them.

      Which is a good thing. A perl script IS different from an image, even though an image can be made to look like a perl script by relatively minimal change. Actual security scenario around the file has changed by that change in "in-data identifiers".

      Changing the way they are interpreted on one machine will affect every machine they are visible on and require write-access to the file.

      Which is again a good thing. A file triggering notepad by default being converted into a file triggering photoshop by default IS a modification to the file's most common behaviour. Why should it not require a write access?

      I think either you don't know what you are talking about, or you haven't understood the thread subject at all. I repeat my example - "The context is that OS components need to distinguish between an image and a perl script."

      --
      Bingo Dictionary - Pragmatist, n. A myopic idealist.
    17. Re:file magic - use the content to determine type by ledow · · Score: 1

      We're talking at cross-purposes.

      My view is that we shouldn't be identifying files manually AT ALL. They should be part of the meta-data, as already is whenever you download a file. Just because it ends in .docx doesn't mean it's sent to you as application/microsoftworddocument (or whatever it is) by your browser. In fact, you can break stuff easily that way if you don't populate your webserver with proper mimetypes.

      The OS shouldn't be encoding the type into the filename.
      The OS shouldn't be encoding the type into the file itself.
      The OS should be encoding the type as a file attribute.

      How that file attribute is initially determined (a one-off process for all "legacy" files without such metadata) is inconsequential. How that file attribute is then handled and facilitated by the OS and browsers and other transport mechanisms - that's not as difficult as anyone makes out.

      The transition to file types being metadata is quite simple, but no OS supports that. They ALL rely on string-parsing of the filename to determine attributes (dot-hidden files on Linux, filename extensions on Windows, etc.). That's not sensible, even if it is how it's "always been done".

      To get to the better situation means that we probably WOULD have to trust the extension for the initial conversion but then, after the mime-type is determined from that, we can discard it. For unknown/un-extensioned files, we could do regexp matching etc. to set the additional mimetype attribute.

      But from that point on, we don't NEED to ever identify a file again. If the OS has the facility to transfer that information as a file attribute to remote servers (e.g. web mime-types) already, and could just encode the mimetype as a file attribute for other kinds of transfers (just putting it in the filesystem structure should be more than enough) then we can properly keep it separated from non-related data forever more.

      And if we then WANT to interpret a JAR as a ZIP for whatever purpose we can by changing what we interpret it as, leaving the file data intact, and allowing the user to keep filename separate from the program they wish to open that type with. For instance, take log files. They are plain/text. But some people might want to open them in a logviewer. It's trivial to imagine a system that generates logs with no extension (Linux, /var/log/messages for example), logs with ".txt" or plaintext logs with other extensions. But if you could associate the file with a mime-type of plain/text it doesn't matter what the program NEEDS it to be called. You've separated the name from the contents and it's easily customisable per-user, per-file, or per-type.

      As it is, we have a mess of having to rename or forcibly open such files where it's not necessary.

      What we need is an OS that demands you provide a mime-type (even if its just application/binary for unknown/custom types at first) when you write a file. Then it doesn't matter what you call it, or what user opens it, or what kind of backwards compatible filename you were trying to emulate, you can open it in an appropriate program.

      Half-arsing the type into the extension, or trying to guess it from the file content isn't a long-term solution to this stuff. Sure, a one-off transition, but not a long-term solution.

      The solution is an OS and applications that know what type of data they are handling and encode it as a separate attribute entirely.

    18. Re:file magic - use the content to determine type by ledow · · Score: 1

      application/octet-stream, I mean, not application/binary obviously.

    19. Re:file magic - use the content to determine type by bingoUV · · Score: 1

      We're talking at cross-purposes.

      Possible, but I see you are factually wrong.

      My view is that we shouldn't be identifying files manually AT ALL.

      No one in the whole thread is advising identifying files manually. Different people are proposing file names, extensions, content etc. all non-manually / automatically / programmatically / transparently to the end user.

      They should be part of the meta-data, as already is whenever you download a file. Just because it ends in .docx doesn't mean it's sent to you as application/microsoftworddocument (or whatever it is) by your browser. In fact, you can break stuff easily that way if you don't populate your webserver with proper mimetypes

      And I never said putting this information in file name is a good strategy, so why you litter your post with such irrelevant content is beyond me. This is why I read but am not addressing more than half of this post of yours too.

      In fact, you can break stuff easily that way if you don't populate your webserver with proper mimetypes.

      I got it. You are among the proponents of evil bit. I agree information security is trivial once we get all the evil people to set this evil bit. Real life is not so simple - web servers areone of the least trustworthy elements in a typical user's computing life.

      But from that point on, we don't NEED to ever identify a file again

      In RFC 3514 world, yes. In real life, this "metadata" will need to be edited, or distrusted. So we do need to identify a file. In the face of this imperfect world, there are certain difficulties. Whether it is a perl script or a jpeg image can best be figured out from looking at file content.

      NOT from file name.
      NOT from metadata set by untrustworthy people.

      --
      Bingo Dictionary - Pragmatist, n. A myopic idealist.
  29. Leave Mac OS out of this. by HnT · · Score: 1

    Leave Mac out of this discussion. The idea of using the file extension for anything is a more recent development on the Mac and one that was mainly driven by exchanging files with (mostly) the Windows world. On old Mac OS you had "type-codes", in OS X you still have "Uniform Type Identifiers". You cannot magically hide executes the same way you can on Windows.

    On top of that "even" (or rather especially) in the most recent OS X version(s), by default you could not run anything unless the program was actually signed, approved and the certificate and app hadn't been revoked.

    --
    "Only one thing is impossible for God: To find any sense in any copyright law on the planet." - Mark Twain
    1. Re:Leave Mac OS out of this. by mlts · · Score: 1

      The nice thing about OS X is that you -can- run unsigned binaries... but you explicitly have to allow them via hitting control when double-clicking on them. .kext files are a different story altogether... but you can disable signing by putting kext-dev-mode=1 in the NVRAM, but it is an all or nothing endeavor.

      As for extensions, I sort of miss the old way Macs handled file typing, although the four level type and creator field is archaic these days. The way it was done, a simple rename would not change a file's type. It took going into ResEdit or another utility to actually change a file to an APPL (application).

    2. Re:Leave Mac OS out of this. by Jahoda · · Score: 1

      When you consider that OS/X (the official for-consumer release) turns 14 years old this month, we are quickly approaching the point that Macs have used file extensions for longer than they haven't (strange to think, I agree).

  30. Re:File extensions? by Anonymous Coward · · Score: 0

    Many people think porn is the dangerous thing to surf for.

    I've removed malware from many a relative's PC. Only to have them go "but I never go to porn sites, how does this happen?"

    It's terms like "free", "mp3", "wallpaper" and "download" that are dangerous, porn is actually relatively safe.

    http://arstechnica.com/information-technology/2013/06/download-me-saying-yes-to-the-webs-most-dangerous-search-terms

  31. It's Not About Saving by Kunedog · · Score: 1

    The problem isn't not looking at file name extension. It's trusting them. File name extensions are just a convention, and are not prescriptive except on very immature operating systems. There is nothing that prevents a JPEG file from being saved with a .txt name extension.

    I don't care how a file is saved so much as how it's "opened" (e.g. when it's double-clicked), particularly if "opened" == executed. Program files forced to display an "exe" extension to declare their capabilities (no matter their actual contents) can be treated with caution, but extension hiding by the OS ruins this safeguard.

    1. Re:It's Not About Saving by CastrTroy · · Score: 1

      It's not really that good of a safeguard when you can use the right to left override character to make a file name look like jpg or something similarly safe even when the file extension is shown. Just looking at what appears to be the extension doesn't help you in every case.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    2. Re:It's Not About Saving by BasilBrush · · Score: 1

      Expecting users to notice the filetype and act cautiously is not much of a security technique. Security should be imposed by the system, and the system can see all of the filename and all other metadata and contents too.

    3. Re:It's Not About Saving by countach · · Score: 1

      Yeah, and on Unix anything, even with no file extension can be executable if that bit is set. So file extensions won't necessarily save you from anything malicious.

  32. Re:And why is hiding shit the default in Win serve by Anonymous Coward · · Score: 0

    Gui is not the primary way to do things in many cases the GUI is only a front end for the powershell that actually configures the product.

  33. Missing the point by aepervius · · Score: 2

    This is not about how your own application react to a file. this is how the operating system *does*. There is a convention in the operating system, particularly windows, that a .gif will be tried to be displayed as a picture and a .html as a web page. Your application may *chose* to interpret it as music for all we care, but the operating system will react by default as described.

    This is why displaying and showing this is an executable is important. Although nowadays the windows operating system should warn you you are about to run an executable.

    --
    C. Sagan : A demon haunted world:
    http://www.amazon.com/gp/product/0345409469/
    visit randi.org
    1. Re:Missing the point by arth1 · · Score: 1

      This is not about how your own application react to a file. this is how the operating system *does*. There is a convention in the operating system, particularly windows, that a .gif will be tried to be displayed as a picture and a .html as a web page. Your application may *chose* to interpret it as music for all we care, but the operating system will react by default as described.

      But the defaults are mutable, and not to be trusted to stay consistent.
      There is nothing that prevents an application from changing the default for .gif from opening in [gif viewer of choice] to executing them. If someone then sends you an executable with a .gif extension, and you double-click it, it will execute the executable.
      Trusting that a .gif file is always a GIF picture is folly. It's the default, but it is very changeable, and a couple of trojans do indeed change the file name extension associations.

    2. Re:Missing the point by BronsCon · · Score: 1

      But the defaults are mutable, and not to be trusted to stay consistent.

      Your point? The defaults would still be mutable even if we used magic numbers, or some other system, instead of extensions.

      There is nothing that prevents an application from changing the default for .gif from opening in [gif viewer of choice] to executing them. If someone then sends you an executable with a .gif extension, and you double-click it, it will execute the executable.

      You have a point. However, there is nothing that prevents an executable from using an icon that looks like an image thumbnail (after all, that's all an icon really is). Trusting that an icon properly identifies a file is folly.

      Unix(-like) systems have this pretty well handled on the command line, since you can see right there, in the directory listing, whether the executable bit is set. If a GUI is more your speed, what is actually needed is for the GUI to apply some type of overlay to the icon displayed for each file, to indicate what it will attempt to do when that file is opened. That only works if you're displaying icons and, then, if the icons are big enough to be useful (in list views, they usually aren't), though, so some color-coding of file names should be done, as well.

      Or, common sense, look at the file header before opening it if you don't trust the source; and you should *never* trust the source.

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
  34. Re:Yes, I agree, but no shortage of stupid GUI by gewalker · · Score: 4, Insightful

    No shortage of stupid user interface choices. Some of the ones I've hated the most.

    * Hiding menu options, aka personalized menus
    * Wholesale rearranging and renaming of user interfaces between versions, esp. for infrequently used options
    * Super secret hidden files.
    * Windows 8

  35. Extensions by The+MAZZTer · · Score: 2

    I think the idea, at least for Windows, is that extensions are a legacy thing, and are still supported because they are the basis for determining file type. BUT, the reasoning is likely that they can be hidden from the user and only show the user the actual file type. Which is fine in theory, except that now you are training the user to recognize file type solely by icon, making it trivial to give a dynamic-icon type (like EXE, or the old SCR which users are unlikely to recognize) the same icon as a text file and subvert the user's expectations and make them think the file is safe. If you are not in Details mode or not grouping by File Type it is IMPOSSIBLE to reliably determine the type of a file without the extension!

    Of course MS has added the whole Zone Identifier scheme and displays a nasty warning when trying to run dangerous files from the internet. I think this is a good measure to prevent this type of trickery, unfortunately people tend to click past such dialogs.

    1. Re:Extensions by JohnFen · · Score: 1

      I think the idea, at least for Windows, is that extensions are a legacy thing, and are still supported because they are the basis for determining file type. BUT, the reasoning is likely that they can be hidden from the user and only show the user the actual file type.

      And that reasoning is completely wrong. As an example of how broken the idea is, there are numerous installation packages that include both an "installme.exe" and an "installme.msi", where the .exe is what you run to install. Without showing file extensions, both of these files look like exectuables and it's completely opaque which one you need to run. Admittedly, this is a result of a terrible installer design -- but the OS shouldn't make things worse by hiding critical information.

    2. Re:Extensions by Anonymous Coward · · Score: 0

      When did extensions become "a legacy thing", exactly? They've been hiding them by default for 20 years now.

      And if they're "legacy", then how come Windows still associates applications with them? And uses those applications, when you double-click on an icon representing that file?

    3. Re:Extensions by toddestan · · Score: 1

      Microsoft's been acting like they are legacy since Windows 95 introduced long file names. However, until Microsoft can address the usability and security issues that come when file extensions are hidden, there's no way they can truly become a legacy thing.

    4. Re:Extensions by Anonymous Coward · · Score: 0

      Every time I have clicked a .msi, it still ran identically to the .exe. Move back 10 yards and punt again!

  36. A '70s idea whose time is long past by david.emery · · Score: 1

    The idea of using file name extensions as a means to denote content/application association dates to the 1970s (or even earlier). It's an idea that deserves to die, along with Disco music.

    Mac OS 9 and earlier got the OS/file system mechanisms right, with two file attributes. One denoted the contents of the file, and the other denoted the default (usually creating) application.

    The challenge for OS designers is how to present this information to the user in some meaningful way. Cryptic text strings at the end of file names aint' it! And the ease by which these can be changed (particularly by malicious programs) are a bug, not a feature. If there's a way to prevent these attributes from being mis-applied/forged, that would be a real accomplishment.

    1. Re:A '70s idea whose time is long past by BCtoo · · Score: 0

      I disagree. Because I want to know the what program will be executed *before* I execute a file, not depend on the OS to just execute it what it thinks is the correct program. It's a matter of giving more control to the user.

    2. Re:A '70s idea whose time is long past by Anonymous Coward · · Score: 0

      I disagree. Because I want to know the what program will be executed *before* I execute a file, not depend on the OS to just execute it what it thinks is the correct program. It's a matter of giving more control to the user.

      That's the problem. You may have a dozen different programs on your computer that can all open JPEG files. Windows has one as the global default, and you're stuck with it. You can (deliberately or accidentally) change that global default, but you have no control beyond that.

      In a proper world, you'd be able to open Properties on each JPEG and say, this one always opens in Photoshop, this one always opens in ACDSee, this one always opens in Picture Viewer, and the OS would keep track of that and not decide for you.

    3. Re:A '70s idea whose time is long past by Camel+Pilot · · Score: 1

      And why can't malicious programs mess with the hidden file type attribute?

      The file extension is soooo simple and descriptitive... why would one want to add a hidden file attribute that requires a special application to change or set it.

    4. Re:A '70s idea whose time is long past by david.emery · · Score: 1

      An OS could choose to make these attributes protected, i.e requires 'sufficient privilege' (e.g. root) to change.

      The file extension is not "simple and descriptive" for a file type you've never seen before. Hence the existence of sites that translate those TLAs into a description, often overloaded, of what they might mean.

      The other problem is that the file extension conflates content and implicit creator/handler. A text file is a text file, there's nothing special about NotePad, SimpleText, EMACS or (shudder) vi as the creator/handler for text files.

    5. Re:A '70s idea whose time is long past by Camel+Pilot · · Score: 1

      To implement this would require a change to the OS, file system, system utilities (ie ls, find, etc) and every content creation application out there.

      And then how would one do simple things like find all $filetype within the file system. It would invariably involve a shorted acronym for the file type that is provided to system utility such as find.

    6. Re:A '70s idea whose time is long past by david.emery · · Score: 1

      Who said adding security and utility to current OS would be "free"?

    7. Re:A '70s idea whose time is long past by Anonymous Coward · · Score: 0

      You're obviously very fixed in the Unixy way of doing things.

      In Mac OS X, you can select "File > Find" in the Finder, then pick the kind of file you want to search for. Defaults include Application, Archive, Document, Executable, Folder, Image, Movie, Music, PDF, Presentation, Text, and Other.

      Choose Other, and you can enter just about any type of file you want to find.

      Or, you can choose another attribute to search for instead of "Kind"-- including attributes like Genre, Composer, or Audio bit rate for music, Pixel Height & WIdth , Exposure time, F stop or Color space for images, whether it's a mail attachment or came from a URL, etc.

      It's a very powerful system and none of it could be done with filename extensions.

  37. why? by Anonymous Coward · · Score: 0

    I'll take the contrary point: why? What has changed? How is this any different than for the last couple of decades? I refused to use that OS until NT4, as the first useful version, but you could make exactly the same arguments (and we tried then too). Even though it was meant as a server OS for technically savvy users, it still talked down to you: you still had to go in to fix the defaults.

  38. Wrong approach by dskoll · · Score: 1

    The right approach would be to stop encoding metadata such as "executableness" in filenames (that are under the control of an attacker.)

    Good luck with that.

  39. Displaying doesn't mean understanding by Kjella · · Score: 1

    Windows users still need to activate extension visibility manually - even though email-transmitted viruses depend most on less savvy users who will never do this.

    ...and wouldn't understand even if they did. The only people who enable file extensions are those who understand file extensions, that's a pretty big bias right there. Sure, you can show the rest a file extension but it'll fly right past them just like all the dialogs they don't read but click "OK" on. Like when I accidentally made a rar instead of a zip file and my friend couldn't figure out how to open it. Nice guy, but he doesn't use Google. He wouldn't install 7z or WinRAR unless you pointed him to it and said download this. And I'm pretty sure he'd run absolutely anything I pointed him to.

    --
    Live today, because you never know what tomorrow brings
    1. Re:Displaying doesn't mean understanding by goose-incarnated · · Score: 1

      I can never understand why people still insist on using rar over zip. Can you perhaps explain the reasoning behind using an unpopular tool that requires the user to download an unsigned executable to their machine from dodgy websites, over a common and readily available and trusted tool that comes with their machine? (I'm not being facetious, I'd really rather like to know why the benefit justifies the risk)

      --
      I'm a minority race. Save your vitriol for white people.
    2. Re:Displaying doesn't mean understanding by amxcoder · · Score: 1

      And what you describe is the REAL problem, not the fact that the extensions determine what type of file it is. This was never a problem until computers became so ubiquitous that every one had them. I'm on the side, that if you own a tool and want to use a tool, you need to at least know some basics of that tool, and put forth a little effort in learning how to use it. And I don't think that it's unreasonable to expect that if a person has been using a tool everyday at work for 10 years, that they have learned a little more about how to use it better in that 10 years. This would hold true for any tool used by people, whether it be hammers, drills, CNC machines or a FRICKIN COMPUTER!

      The REAL problem, is there are so many people that not only don't know a dang thing about how to use a computer, or understand what they are doing AND don't want to take any initiative to learn it. For a beginner to not understand is acceptable, but someone who uses a computer in the job, or who want their daily tasks to benefit from using a computer, I don't believe it is unreasonable to expect them to learn to be somewhat proficient at it to do basic tasks. But many users have taken the stance, that they deserve the benefits of using a computer, but refuse to learn how to use it, and complain loudly when they are required to know the basics of how to use it.

      It is a dis-service to all the people who do take the initiative to learn, to be hindered and tied down to an OS that caters to the lowest common denominator of ignorance. That is unacceptable! No matter how idiot proof an OS is made, there will always be bigger idiots and lazy people who still don't 'get it'. I'm not advocating that an OS should cater only to the top 10% of computer guru's here, but certainly don't think it should cater to the lowest 10% either. Some skill, learning and initiative needs to be taken by users to learn the basics of the systems they use, and if they can't or are too lazy too, then they get no sympathy and have no place complaining about how confusing computers are.

  40. but my mom by Anonymous Coward · · Score: 0

    wouldn't know a file extension if it hit her in the face
    I mean, aren't all the people who care already doing something ?

    aren't computers supposed to make life easier ?

    the answer IS NOT more human intervention; the answer is automated in the background defense software

    I mean, if we go back to pen and paper, don't all the virus issues go away ?
    how about clay tables; the cost of transport will reduce spam

  41. If I create the image... by spywhere · · Score: 3, Interesting

    When I did Windows XP images for clients, I always set the Default User profile to display extensions.
    I did this without asking, without any discussion beforehand, and only had to defend the decision once near the end of the design project... my defense was, "This is the right way to do it, so that's what we're doing." End of discussion.

  42. That's not the problem. by Anonymous Coward · · Score: 0

    The problem is that the OS is basing decisions on the file name extension, rather than some inherent property of the file. A property harder to change than just renaming the file.

    (Granted, even *nix systems applications can make bonehead assumptions about files based on their extension (try passing a C code file that ends in something other than ".c" to gcc, for example*), but the OS won't try to execute something that doesn't have the right execute bit set.)

    *(Oh, wait. gcc isn't a *nix program, it's a GNU program, and GNU's not Unix.)

  43. Re:And why is hiding shit the default in Win serve by Aqualung812 · · Score: 1

    The GUI is still the primary way to do things.

    Not if you're running a core install, which is happening more.

    --
    Grammer Nazis - I mod you "troll" unless you actually add something on-topic. Yes, I know I have mispellings in my sig.
  44. Clearly mark what is executable by Anonymous Coward · · Score: 0

    Filename extensions aren't as important as content type when it comes to GUIs.

  45. Re:And why is hiding shit the default in Win serve by QuietLagoon · · Score: 2

    ...I'm kind-of-sort-of willing to concede to the demands by that fuckstick hipster who works in marketing who thinks that aesthetically filename extensions make the product too technical for other fuckstick hipsters who are also wound up about appearances....

    Hiding filename extensions predates the hipsters by decades. Don't blame the hipsters for everything you don't like...

  46. Typical Microsoft human factors fail by gestalt_n_pepper · · Score: 1

    Hiding the extensions, is quite frankly, a slow motion disaster. Thousands and thousands of people clicking on the wrong file, staring in bafflement as to why they have multiple duplicate filenames. It cost, I'm sure, millions of hours of lost productivity worldwide over the years, all because some 20-something C++ programmer had a brainwave. That guy should have been fired the day after the release.

    Moral of the story? STOP HIDING STUFF! I need to know where my folder is. I need to know what the filenames are. I need to know if they're read-write, read-only and what the permissions are. I need the IMPORTANT stuff easily available. What I don't need to know about are the friggin' media extensions, the color, font, size or any other trivial fact about the file.

    --
    Please do not read this sig. Thank you.
  47. Treat people like chimps by Anonymous Coward · · Score: 0

    And they'll fling poo everywhere. Hint: 1/2 the people out there are below average, and you can't fix that by dumbing down something that takes a small sliver of brains to handle.

  48. When people aren't used to seeing extensions by Spacelem · · Score: 4, Interesting

    Whenever I see a Windows desktop with file extensions disabled, I always try to explain to the person that they should be switched back on, and most people are quite happy to do so (they only had them off because that was the default).

    However I was quite dismayed when I looked at my mother's laptop (which I had installed Linux Mint on for her), and she had no file extensions either. It turned out that she thought they looked untidy, and had gone through and manually removed the extensions from every single file in her home directory!

    Fortunately the file and mmv commands made short work of fixing this, but I was surprised to say the least.

  49. Re:And why is hiding shit the default in Win serve by Anonymous Coward · · Score: 0

    But WHY IN THE FUCKING FUCK does the server operating system have the same goddamn "hide everything that might be confusing to marketing types and the mentally retarded" settings out of the box?

    But you repeat yourself.

  50. OS X? by pahles · · Score: 2

    What does this have to do with OS X? On Windows the extension determines how the file is treated/opened when double clicked. In OS X this is done differently.

    --
    Sig?
  51. Re:And why is hiding shit the default in Win serve by PPH · · Score: 4, Funny

    doing UUCP support with someone who has to have Unix characters (like bang and pipe)

    Odd. I found most receptionists understood what I meant by bang and pipe perfectly well.

    --
    Have gnu, will travel.
  52. Anna Kournikova by Anonymous Coward · · Score: 0

    The other reason is that Anna Kournikova exploded on the male world 14 years ago. At first she wasn't hyped, she was a top-ranked female tennis player and guys suddenly found themselves spending 10 minutes or more watching a woman's tennis match on TV.

    Now, she's old hat. Back then was different.

  53. Re:File extensions? by TheRaven64 · · Score: 2

    There are two problems. The first is that the OS allows you to run porn.jpg.exe having downloaded it from some random place on the 'net. I don't think that either OS X or Windows do: they'll both pop up a thing saying 'You are trying to run a program downloaded from the Internet, do you really want to?', which isn't normally something that happens when people try to open a file so ought to trigger them to avoid it (if it doesn't, then seeing the .exe extension probably won't either).

    The second is that the OS allows programs and other file types to set icons at all before their first run. This also leads to confused deputy-like attacks where you think you're opening a file with one program but are actually opening it with something that will interpret it as code. The solution to this is probably to have programs keep their generic program icon until after their first run. If you double click on something that has a generic program icon, then you probably intend to run it...

    --
    I am TheRaven on Soylent News
  54. Two fields are too few by Thanshin · · Score: 1

    Name + extension is not enough. Files should have a name, a type, and a subtype.

    The types shouldn't be optional, but restricted to a list common to all OSs.
    The subtype could be the "write whatever you want, and put as many exes as possible because exes are like painting things red so they go faster" crap that extensions are right now.

  55. Amongst many other annoyances by Anonymous Coward · · Score: 0

    They ought also to stop lying about the actual filesystem layout in explorer by projecting somewhat too virtual (fake, buggy) namespaces.

  56. Re:File extensions? by Anonymous Coward · · Score: 1

    Enjoy your porn.jpg.exe with a thumbnail icon

    What makes you think I'd be stupid enough to click on an icon resembling the tip of a person's thumb?

  57. Re: File extensions? by Anonymous Coward · · Score: 0

    .exe files don't run on my Mac but thanks tho. Enjoy your winbloze box.

  58. Group Policy to the rescue! by acoustix · · Score: 1

    We force the setting to show the file extensions to all users.

    But I agree, it should be enabled by default.

    --
    "A plan fiendishly clever in its intricacies"- Homer Simpson
    1. Re:Group Policy to the rescue! by camperdave · · Score: 1

      Enabled? Disabled? No. It shouldn't exist at all. The file type should be a separate field, not mingled into the file name.

      --
      When our name is on the back of your car, we're behind you all the way!
  59. Re:File extensions? by Anonymous Coward · · Score: 0

    Are you autistic? Serious question.

  60. Re:And why is hiding shit the default in Win serve by Anonymous Coward · · Score: 0

    It's the same indication of the Open Door Mentality in regards to Security that MS devs have. Most of them were born in a fucking barn that was on fire and all of the new ones they've hired now live in the same fucking burning barn.

    Good example is the fight I had with a recent Skype install. Skype Wifi was included and activated by default on a fucking desktop w/o any wifi. Don't know about you but Skype charge folks to use Skype Wifi and it's not for my fucking benefit if I've got a bandwidth cap as they're not paying me for using my bandwidth. It's the same thinking in regards to the Click to Call feature. Have to fight to disable it. My phone service is a flat fee per month for unlimited within the country so why in hell would I use Skype to call someone when it's basically free for me anyhow?

  61. Re:File extensions? by cheesybagel · · Score: 1

    Icons change. Text doesn't.

  62. No, extensions are bad and evil by devent · · Score: 1

    No, the problem is with extensions, and we should get rid of extensions once and for all. Those are an artifact of 1980s DOS times, and should not be used at all by modern systems. Maybe they are convenient for the user to see what kind of type the user should expect, but nothing more and the "hide extension" "feature" just shows the _problem_ of file extensions.

    Modern systems should recognize file types based on the content of the file, not on some stupid extension. For example, a .jar, .ooxml and .odf file is just a zip file with special content. The system should recognize the content and open it as a Jar executable, or in your office app. That way, the system can ensure that the file type matches the file name, and activate anti-virus scans on any executable, be it .com, .exe or .jar or the silly nakedpic.jpg.exe.

    --
    http://www.mueller-public.de - My site http://www.anr-institute.com/ - Advanced Natural Research Institute
    1. Re:No, extensions are bad and evil by ledow · · Score: 1

      Which involves some system-level process opening every zip-compressed file, peeking into its contents and performing the equivalent of "file" regexp searches throughout its content to tell you that it is, in fact, an OOXML or JAR file rather than just a ZIP of the same.

      The processing overhead and security requirements of the basic OS file-managing processes just went up an order of magnitude.

    2. Re:No, extensions are bad and evil by JohnFen · · Score: 1

      Those are an artifact of 1980s DOS times

      They're actually an artifact of CP/M (remember, DOS is half CP/M, half Unix).

    3. Re:No, extensions are bad and evil by Anonymous Coward · · Score: 0

      Filename extensions predate CP/M by a long way.
      I first came upon them in 1974. I was using DEC DOS V8 on a PDP-11/40.
      RSX-11/D/M/S from 1975 used them.

      But these are predated by OS/8 for the DEC PDP-8

      https://en.wikipedia.org/?title=OS/8#The_OS.2F8_Filesystem

      That shows the use of extensions.

      There were compters before the IBM-PC you know.

    4. Re:No, extensions are bad and evil by DutchUncle · · Score: 1

      The problem with "recognize based on content" is that the system has to *open* the file to read a *standardized* *header* to do this. Good luck getting people to standardize on a header for everything; there are multiple conflicting standards for pictures, and audio, and various other "containers" already. And does opening the file just to check content type count as a reference, or as a use? Or is system activity magically exempt from being counted? Extensions date back well before DOS, because they're simple and obvious and straightforward - not clever, not the best, not complete, but simple.

    5. Re:No, extensions are bad and evil by devent · · Score: 1

      There is already a check of the file type, by the application and by the shell (for native executables). So, I don't see any problems. Why shouldn't the system being exempt from counting a file type look-up as a use? The Linux file utility and the libmagic library can already detect thousands of different file types, and servers already make the check for the MIME type of a file for security reasons. The focus should be on security not on simplicity.

      http://en.wikipedia.org/wiki/F...
      https://github.com/threatstack...
      http://www.iana.org/assignment...

      --
      http://www.mueller-public.de - My site http://www.anr-institute.com/ - Advanced Natural Research Institute
    6. Re:No, extensions are bad and evil by tepples · · Score: 1

      From your second link:

      src/fsmagic.c - first set of tests the program runs, based on filesystem info

      In other words, it still looks at the effing extension. And in any case, not every file type I've worked with is already registered with IANA.

    7. Re:No, extensions are bad and evil by amxcoder · · Score: 1

      And how do you expect the OS to know if the text based file is really a "readme.txt" type file, or an .xml file, or a .html file, or a .css file? Since all those file types are basically text based files with different extensions that are treated drastically different, both from what are for, to how they are opened. The OS can't know what every file is just by what it see's inside.

      Same with a lot of custom filetype I see daily, which are .zip files that are named something else. In my case, they are compiled embedded programs that have a custom extension, which are really just .zip files that contain all the files neccessary to upload/transfer to an embedded platform to make it run. How the heck is the OS supposed to know what the heck that file is?

  63. Re:And why is hiding shit the default in Win serve by Anonymous Coward · · Score: 0

    nudge nudge, wink wink

  64. Hiding it and always was a bad idea by gurps_npc · · Score: 1
    We gave them extensions for a reason - to let people easily tell what kind of code it was.

    Then we build verification code into software so that when a program needed X file, it would only load it if it had the right extension.

    Then things got a lot more complicated. We started building verification code into the first bytes of the data and added icon to tell humans what it was.

    So someone decided that 'hey, we don't need this older, more primitive system of file extensions, lets' deprecate it by defaulting to hide it."

    But the problem is the extension system is STILL useful and always has been useful. People like it because it lets them type into a search what kind of file to look for.

    On top of that, icons are not in any way related to the system that the computer uses - the first few bytes of a data file. More importantly, we have found OTHER, BETTER uses for icons than to signify what kind of data it is - specifically the concept of displaying a short bit of the data - a micro photo of the photo, or a micro photo of a still shot from a movie.

    As such, that leaves us NO simple way for a human to tell what kind of file the photo is.

    File extensions have multiple real purposes. The attempt to deprecate and eliminate it was a stupid idea and needs to end. We need to tell the difference between a jpeg and a tiff, an mpg and wav.

    The file extension in the main way a human can easily do that. We need file extensions and anyone that doesn't think that is a fool

    --
    excitingthingstodo.blogspot.com
    1. Re:Hiding it and always was a bad idea by camperdave · · Score: 1

      I disagree. We don't need extensions. We need an entirely separate file-type field. We don't store the creation date in the name, or the security bits in the name, or the archive bit in the name, so why store the file type in the name? Extensions are a hack that should have been dealt with decades ago.

      --
      When our name is on the back of your car, we're behind you all the way!
    2. Re:Hiding it and always was a bad idea by stooo · · Score: 1

      >> Then things got a lot more complicated. We started building verification code into the first bytes of the data and added icon to tell humans what it was.

      This fails. OS still largely use extensions for identification.
      Identification and verification are both broken because there is no standard file header for that.
      Extensions still give an easy method. Not reliable (coz users/spoofers mess with it), but easy to use and cross platform and cross format.

      The big advantage of using extensions is that it is backwards compatible. Header identification would require rewriting every single file format, as well as all software using it. That will not happen.

      see some examples of identification/verification abuse :

      http://media.ccc.de/browse/con...

      --
      aaaaaaa
    3. Re:Hiding it and always was a bad idea by stooo · · Score: 1

      Does not work.

      1) the file attributes are kind of standardized by posix, but the usual suspect vendors do not respect that standard.
      2) email, HTTP, ..... do not transmit attributes. Attributes are mostly local.

      A file type you lose by sending it through mail ? no thanks.

      --
      aaaaaaa
    4. Re:Hiding it and always was a bad idea by LDAPMAN · · Score: 1

      There is no reason the OS can't show you the metadata associated with the file when you do a file listing. Also, if they are really that necessary then why can I name a Linux executable anything I want...no extension necessary. Part of the point here is that you can't trust file extensions.

      Good discussion of the issues are at http://archive.arstechnica.com... and http://arstechnica.com/staff/2...

    5. Re:Hiding it and always was a bad idea by camperdave · · Score: 1

      Obviously the file type would need to be embedded within the file itself.

      --
      When our name is on the back of your car, we're behind you all the way!
    6. Re:Hiding it and always was a bad idea by Anonymous Coward · · Score: 0

      > A file type you lose by sending it through mail ? no thanks.

      Indeed. If only there were some standard type of extension that you could use for multiple purposes, when sending attachments through Internet mail.

      Some sort of "Multi-Purpose Internet Mail Extensions" would be useful.

    7. Re:Hiding it and always was a bad idea by amxcoder · · Score: 1

      Exactly this! It already bugs me when someone sends me a file over email, that when I save it, the original date/time of the file is now the date/time that I saved it on my machine, rather than the original date/time the file was modified by the person who sent it to me.

      This happens when you download files from website as well, and can be a real problem. I have firmware files for lots of hardware gear stored on my PC for gear I deal with everyday, and the problem I see is that the file date/time is related to when I downloaded it from the manufacturer's website, and not when the file was compiled/released. This means I have to remember the LOOONG firmware revision number and not just that the firmware they released in April of this year is stable and hasn't caused issued (what was that version? It was something like v1.123.3321.22.000? boy it would be nice if I could just tell by the file dates!!!)

    8. Re:Hiding it and always was a bad idea by stooo · · Score: 1

      Yep. These standards exist. they just don't work in many cases. A built in standard header would indeed be better, and more coherent.

      --
      aaaaaaa
  65. Re:And why is hiding shit the default in Win serve by BenJeremy · · Score: 1

    Meanwhile, trying to use the browser on a Windows Server is an exercise in futility as everything has to be white-listed.

  66. Even worse - extensions == "chmod +x" ?!? by ron_ivi · · Score: 2

    What seems even more stupid is that some OS's seem to think the last 4 characters of a filename convey some magical meanings -- like if it should be executable; or what application is should magically launch when clicked.

    1. Re:Even worse - extensions == "chmod +x" ?!? by jellomizer · · Score: 4, Insightful

      The extension vs file system property is a trade off case. If I see a .EXE file I expect it to be a binary file. if I see a file which a 755 mod to it. How would I know if it is a binary file vs. a script without looking into it. Renaming a .bat file to a .exe will prevent it from running. A file that is chmod 755 will try to run. So the file extension is actually a good way to know what type of file it is.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    2. Re:Even worse - extensions == "chmod +x" ?!? by hawkinspeter · · Score: 1

      Why would you care if it was a binary or a script as long as it did what you wanted (assuming you know/expect what it's going to do)? When you use chmod +x, you're expecting the file to be executable and both binary files and scripts can be executable.

      I don't like hidden file extensions as it hides from the user useful information about what type of file it is. If the OS is going to base decisions on what to do with files based on part of the filename, then the OS should show the extensions.

      --
      You're a temporary arrangement of matter sliding towards oblivion in a cold, uncaring universe
    3. Re:Even worse - extensions == "chmod +x" ?!? by AntiSol · · Score: 4, Informative

      How would I know if it is a binary file vs. a script without looking into it.

      type 'file /path/to/file'.

      e.g:

      user@host:~ $ file /bin/bash
      /bin/bash: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=bla, stripped

      or:

      user@host:~ $ file a_script.rb
      a_script.rb: a ruby1.9.1 script, ASCII text executable

    4. Re:Even worse - extensions == "chmod +x" ?!? by BasilBrush · · Score: 4, Insightful

      So the file extension is actually a good way to know what type of file it is.

      No, it's brain dead. The filename is a name. The filetype should be another piece of metadata. (and not just an executable flag either - a complete file type.)

      If the file type needs to be seen by the user, then that's a UI design issue, not a reason to have brain dead mixed purpose metadata fields.

    5. Re:Even worse - extensions == "chmod +x" ?!? by mattventura · · Score: 1

      Well, it doesn't really matter whether it's a script or a compiled executable. You run the file, and it executes. If you really need to know, you use file, but the truth is you can simply treat it as a black box executable file in all but a couple corner cases.

    6. Re:Even worse - extensions == "chmod +x" ?!? by hitmark · · Score: 1

      I guess there is always file...

      --
      comment first, facts later. http://chem.tufts.edu/AnswersInScience/RelativityofWrong.htm
    7. Re:Even worse - extensions == "chmod +x" ?!? by Anonymous Coward · · Score: 0


      user@host:~ $ file a_script.rb
      a_script.rb: a ruby1.9.1 script, ASCII text executable

      Except, if you do a little reading, you will discover that 'file' isn't all that reliable either. It uses mimetypes, and they are not that reliable.

    8. Re:Even worse - extensions == "chmod +x" ?!? by tepples · · Score: 1

      The filetype should be another piece of metadata.

      With whom would values of the file type field be registered? IANA?

    9. Re:Even worse - extensions == "chmod +x" ?!? by Anonymous Coward · · Score: 0

      Including something in the name is also a UI choice; it's one that has some merit in that it's typically consistent across applications and platforms (unlike most other UI indicators), and it's one that is "honest" in that the actual content is only effective if it really is that type (or the user explicitly and manually intervenes).

      Sure, it's not perfect - but what's better? Most other alternatives are much less consistent across apps/platforms, and many can be faked (e.g. custom icons that can be misleading).

    10. Re:Even worse - extensions == "chmod +x" ?!? by Anonymous Coward · · Score: 0

      The filetype should be another piece of metadata.

      With whom would values of the file type field be registered? IANA?

      And that's just the beginning of the problems. We kind of already have that with MIME and existing de-facto standard filename extensions.

      In principle file type(s) would be separate metadata, but in practice using a file name extension works out much better. I can take some pictures on my android device, which saves them to a FAT-formatted SD card, then FTP them it to my windows box, collect them in a .zip then attach that as an email, extract them in OS/X, and it still knows they are jpegs. That's only possible because the type is part of the name. Otherwise FAT would have lost it, FTP would have lost it, the zip program would have lost it, and the email program would have lost it again. Ironically, sometimes I don't even care about the names themselves (e.g. DC001049.jpg, DC001050.jpg, ...), but I always care about the type.

      In a perfect world, there would be a set of standards for preserving metadata as files move through file systems and networks. But in reality the only common denominator piece of metadata for files is its name and even that differs in length, forbidden characters, case, encoding, etc.

      I was already way too late to be so idealistic when Apple decided to have separate metadata for file type in MacOS. They held out for a long time but it was finally abandoned in OS/X because it doesn't play well with anything non-Mac. Just copying files to a non-mac formatted partition or sending files through a non-mac-aware program or protocol would lose the file type, making the file unusable without manually adding the missing type metadata (assuming you could deduce it from the contents or context). DOS at least had a concept of file type (it was part of the name but that was an implementation detail -- the 8.3 naming convention was conceptually two pieces of metadata). But traditional Unix file systems didn't have even that, so it would still be better to just tack the file type onto the name in order to interoperate better with Unix (where all the internet stuff came first.)

      Today every mainstream OS has to deal with filename extensions. We've known about these problems for years but there still are no widely adopted standards for preserving metadata. Even if some day there are standards and they are widely adopted (not happening any time soon), it'll still be necessary to deal with it for backward compatibility.

      Having said that, extensions should have never been hidden by default. Windows did that to be more like Mac, then Mac abandoned that (to be more like everything).

    11. Re:Even worse - extensions == "chmod +x" ?!? by Anonymous Coward · · Score: 0

      If the file type needs to be seen by the user, then that's a UI design issue

      Yeah, gotta make it easy for them to run that "Britney spears nude photos" executable that's had its icon set to whatever the dominant OS's JPEG icon is....

    12. Re:Even worse - extensions == "chmod +x" ?!? by Anonymous Coward · · Score: 0

      In principle file type(s) would be separate metadata, but in practice using a file name extension works out much better. I can take some pictures on my android device, which saves them to a FAT-formatted SD card, then FTP them it to my windows box, collect them in a .zip then attach that as an email, extract them in OS/X, and it still knows they are jpegs. That's only possible because the type is part of the name.

      The fact that this kludge is necessary is testament to the flaws in the filesystems and protocols that can't be bothered to preserve metadata.

      In other words, it works in practice because a handful of programmers found it to be "too much work" to bother doing it right. :-P

    13. Re:Even worse - extensions == "chmod +x" ?!? by X0563511 · · Score: 1

      Keep in mind a file with 755 will be examined and run based on the magic number at the front of the file.

      Even shell scripts. #! is actually a 16-bit magic number, that also happens to be a comment in almost every scripting language.

      Go ahead - chmod +x a random non-executable file and try to run it. You'll probably get something enligthening: "invalid file (bad magic number): Exec format error"

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    14. Re:Even worse - extensions == "chmod +x" ?!? by Anonymous Coward · · Score: 0

      And with linux you do ./program.exe and it work, even if its a perl-script.

    15. Re:Even worse - extensions == "chmod +x" ?!? by BasilBrush · · Score: 1

      With whom would values of the file type field be registered? IANA?

      First of all whatever you do can't be worse than file extensions because they are a free for all, and clashes, especially of 3 letter types are common.

      Secondly, it's a solved problem. MIME types have both standard types defined, plus a defined process for vendor extensions. Yes, via IANA.

      Thirdly file types which have no additional requirements for registration, yet unambiguous are easy, by simply prefixing them with an already registered domain (usually reversed). e.g. com.google.whateverthefuckgooglewanttocalltheirnewfiletype.

    16. Re:Even worse - extensions == "chmod +x" ?!? by BasilBrush · · Score: 1

      In principle file type(s) would be separate metadata, but in practice using a file name extension works out much better. I can take some pictures on my android device, which saves them to a FAT-formatted SD card, then FTP them it to my windows box, collect them in a .zip then attach that as an email, extract them in OS/X, and it still knows they are jpegs. That's only possible because the type is part of the name. Otherwise FAT would have lost it, FTP would have lost it, the zip program would have lost it, and the email program would have lost it again.

      That simply means that these other systems share the same brokenness of not having a filetype as one of their metadata fields. Again it doesn't make confusing name and type in a single field a good thing.

      And BTW if you're assigning responsibility, DOS just copied CP/M's naming convention of 8.3.

    17. Re:Even worse - extensions == "chmod +x" ?!? by BasilBrush · · Score: 1

      What's better is dong it right. Like HTML requests or Email Messages, file systems should allow arbitrary metadata fields on files. Some standardized for specific purposes, such as file type. Others available for whatever the file format, program, or user wants.

      For example, MP3's ID3 tags shouldn't have to be stuck into the content. They are metadata and should be represented as such.

      The BeOS file system had this right. It just didn't have enough market presence to make a difference.

    18. Re:Even worse - extensions == "chmod +x" ?!? by shutdown+-p+now · · Score: 1

      Alternatively, you can say that file exension is metadata distinct from the name; it just so happens that the conventional name to record this metadata is as a dot-suffix to the name.

      And yes, it is a crappy way to do it, but it's the one that became the de facto standard. Changing it now is very costly, and cannot be done unilaterally.

    19. Re:Even worse - extensions == "chmod +x" ?!? by BasilBrush · · Score: 1

      Alternatively, you can say that file exension is metadata distinct from the name

      No you can't. They are set and read together in both the primary APIs, and virtually every UI.

      And yes, it is a crappy way to do it, but it's the one that became the de facto standard. Changing it now is very costly, and cannot be done unilaterally.

      Oh it'll certainly change. It's just a matter of when. The precursors are already there. UIs hiding the file extensions from users. Internet protocols using mime types rather than file extensions.

      It'd certainly be perfectly possible to have an OS and file system right now that did it and interoperated perfectly well with the rest of the world. It's just a matter of defaulting to file extensions when communicating with something dumb.

    20. Re:Even worse - extensions == "chmod +x" ?!? by sydbarrett74 · · Score: 1

      Why does it have to be either-or? Simply leverage MIME somehow (or another global repository of filetype metadata) and have a filename extension that specifies the filetype, for backwards compatibility for OS's and file systems that don't support a global filetype metadata infrastructure. The metadata solution, of course, would be the canonical and more trusted of the two.

      --
      'He who has to break a thing to find out what it is, has left the path of wisdom.' -- Gandalf to Saruman
  67. Re:File extensions? by Anonymous Coward · · Score: 0

    Many people think porn is the dangerous thing to surf for.

    I've removed malware from many a relative's PC. Only to have them go "but I never go to porn sites, how does this happen?"

    It's terms like "free", "mp3", "wallpaper" and "download" that are dangerous, porn is actually relatively safe.

    http://arstechnica.com/information-technology/2013/06/download-me-saying-yes-to-the-webs-most-dangerous-search-terms

    Yes, "free", but that's still a porn (though not porn specific) issue. I couldn't count the number of times I've seen porn sites that require you to download and run some executable in order to get access.

  68. Still using extensions? by John+Bayko · · Score: 1

    Are there any filesystems still in regular use that use extensions to file names? Or is everyone just talking about suffixes - that is, any characters that people append to the end of a filename to make a new filename?

    Fiel name extensions were something subtly different than that.

  69. Filetypes by ledow · · Score: 1

    Because it's a stupid idea.

    If the extension determines something that the user should be aware of (what program will open it), then it needs to be shown, and modifiable to correct mis-identified files.

    If the extension is merely a nice name, then the user need not care about seeing it or knowing it and should be able to change it at will.

    Sadly, in Windows, the extension determines what program is associated and therefore opens a file (and, in part, whether it's executable!). It's encoding a file attribute into the name itself, which is a "layering" violation as far as I'm concerned.

    Ideally, the mimetype would be associated with the file metadata and be as easily changeable as the name (e.g. drop-down box to "change" the file type it's interpreted as whatever the extension), but that's a nightmare that no sensible OS seems to have tackled. It wouldn't be that hard to "default" the mimetype to whatever the "file" utility detects it at on introduction of a new file, but nobody seems to want to do that.

    Similarly,the "dot-hidden" files of Linux suffer the same fate. Just the name determines a kind of file attribute, which is silly and potentially dangerous or confusing ("I renamed it .jpg and it disappeared!").

    While we're still using OS that trust and encode the filetype into the filename itself, we need the facility to change the detected filetype, and the facility to view the detected filetype. Hiding extensions only achieves the later (with a separate file type column, "Adobe Reader Document", etc.). Any cleverness with showing the extension on rename where it wasn't showing before will mean the user will strip out the file attribute when they rename over the top, and not showing the extension makes it more difficult to change what it opens in.

    We created this problem back in the 8.3 filename days and NEVER properly solved it. Encoding metadata into the filename is the cause. Removing it is the solution. But without the infrastructure for that in place in every app, it's pointless to attempt it on a commercial world-wide OS.

  70. Yes! Please change the default by yakumo.unr · · Score: 1

    YES, yes please.
    Aside from the security issue it's such a waste of time and so confusing for people.

    It is utter ridiculous that we still have to take ages to try to explain to people that they can't see the file we're talking about because they don't have any concept of what is because they've never seen the extension, even if they have any idea of what extensions are.

    Then they'll try make their new file, only it won't work because notepad will save it out to 'config.cfg.txt' except of course they don't see the .txt, so you have to talk them through turning off 'show hidden file extensions', more time wasted.

    I'm still shocked they left this unfriendly waste of time in windows 7, let alone 8 and 8.1.

    Until windows uses a system similar to OSX for determining file type and exec status which is probably never going to happen, it is just a real hassle for a huge number of people to try and just hide it away and make out it's the same thing.

  71. Re: File extensions? by CaptainDork · · Score: 1

    The computer's demeanor is, "It's my way or the highway and all the roads are closed."

    Your professors will cover this later.

    --
    It little behooves the best of us to comment on the rest of us.
  72. "Hiding Things" by Sir_Eptishous · · Score: 4, Insightful

    I hear the faint and cryptic laughter of Steve Jobs echoing in the distance...

    Hiding Things?
    Well of course, because modern UI design is all about obfuscating control over your device and interface.
    Microsoft and the rest(this includes Linux desktops) don't want a "cluttered" user experience. UI designers seem to forget that people to need to modify and control their device and interface.

    UI designers are too quick to "googlify" interfaces to such a degree that vast uncounted eons of time are wasted simply trying to modify simple things because UI designers have mandated a "spartan" and oh so Sprockets-like look and feel.
    Users are tricked into thinking they shouldn't see the nuts and bolts.
    Users are treated like idiots, and then become idiots.

    --
    We play the game with the bravery of being out of range
    1. Re:"Hiding Things" by cwsumner · · Score: 1

      It's quite possible to make a clean, simple interface for a computer. They are called Application programs. The OS manufacturers don't know anything about them and should not be applying theory from them to the OS, which is different. i.e, A little knowledge is a dangerous thing, and the OS manufacturers have little or no knowledge of Applications interfaces. (Thats why I have a job, to make up the lack.) 8-)

  73. Re:File extensions? by Anonymous Coward · · Score: 0

    Dont forget "recovery", try to find a legit file recovery software on the internet, i dare you!

  74. Completely agree. by JustNiz · · Score: 1

    Completely agree. The fact that file extensions are hidden by default is, for me one of the most retarded and annoying things about Windows. Its literally the first thing I set after I renstall windows or get given a new windows PC at work, or even fix a friends PC.
    Of course I always ask and explain first when I do it on someone elses PC.
    Its surprises me how most people do actually prefer to see the extensions but never acutally enable it for themselves.

  75. Re:And why is hiding shit the default in Win serve by swb · · Score: 1

    "Hipster" is just the nom de jure for a general type of douchebag we've had for years.

    Usually associated with marketing, advertising and other sundry jobs which allow them to indulge their facile obsession with appearances and promote a bought-and-paid-for sense of aesthetic superiority and pseudo artistic sensibility.

  76. Amen by tgrigsby · · Score: 1

    I just got done cleaning up a client's system because they downloaded what they thought were MP3s from a site call MP3Boo or something like that, but one of the files wasn't an MP3. It injected his system will all kinds of malware, and it took a while to get all the crap scraped out of his file system.

    I'm certainly not saying it's a panacea, but had he been able to see that the "song" was actually an executable, he *might* not have proceeded.

    --
    *** *** You're just jealous 'cause the voices talk to me... ***
    1. Re:Amen by ledow · · Score: 1

      Tell them to use a half-decent browser that won't let you run executable-named files from the browser anyway. Or at least put up horrible click-through warnings when you do.

  77. Re:File extensions? by Anonymous Coward · · Score: 0

    Actually, yes. And now I once again feel dumb when I realized what I did. :) Yeah, yeah, he meant the mini image and not an actual human thumbnail. Facepalm for me.

  78. why do we even need filename extensions? by Anonymous Coward · · Score: 0

    why do we even need filename extensions?

  79. Annoying extensions from the MS-DOS era by ArcadeMan · · Score: 1

    If you are working at Apple, Google, Adobe, etc... PLEASE stop using the godamn ".jpg" extension and recognize my ".jpeg" files as being fucking JPEG files.

    1. Re:Annoying extensions from the MS-DOS era by Anonymous Coward · · Score: 0

      "If you are working at Apple, Google, Adobe, etc... PLEASE stop using the godamn ".jpg" extension and recognize my ".jpeg" files as being fucking JPEG files."

      Yeah -- because a 4-letter acronym is so much more recognizable than a 3-letter acronym.

    2. Re:Annoying extensions from the MS-DOS era by ArcadeMan · · Score: 1

      The name of the graphic format is JPEG, not JPG. Why would you still be limiting yourself to three characters for the file extension? For backward compatibility with MS-DOS systems?

    3. Re:Annoying extensions from the MS-DOS era by sound+vision · · Score: 1

      It's easier to type, and convention. It's like "why are you limiting yourself to /usr when you could have /user?"

    4. Re:Annoying extensions from the MS-DOS era by Anonymous Coward · · Score: 0

      > Yeah -- because a 4-letter acronym is so much more recognizable than a 3-letter acronym.

      It is. 33.3333...% more recognizable, in fact!

  80. Why not check MIME vs extension and warn? by Anonymous Coward · · Score: 0

    So why in 2015 can't the operating system look at the extension, compare it to the MIME type (yes, you can detect the MIME type of the file) and warn you if they don't match?

    You click on reports.from.sue.2015.05.txt.pdf.txt.xls.txt.exe and it says:

    "The file you're opening says it's a .TXT file, but it's really an executable. Do you really want to run it and trash your system?"

  81. Re:File extensions? by jbengt · · Score: 1

    The filetype is now contained in the icon.

    Wrong.
    The executable assigned to open the file is "contained" in the icon.
    Even that is not always true: the wrong icon can be used intentionally by malware, and in the past I've had MS Windows mess up icon assignments.

  82. It is required to rename files in File Explorer by short · · Score: 1

    I was once told by a MS-Windows user that he would be fine (or even welcome) showing the extensions but he can't set it that way. As then when you click a filename in File Explorer for renaming and write the new name (sure without typing the dot-and-extension) the file loses its extension.

    1. Re:It is required to rename files in File Explorer by Anonymous Coward · · Score: 0

      Since either Vista or 7 (I don't remember exactly where it changed) the behaviour of the UI was modified.

      File -> Rename under XP and earlier would select the entire filename, suffix and all.
      File -> Rename under 7, possibly Vista, and definitely 8 selects everything up to the trailing suffix.

      It's one of the few things that's happened in Windows in recent memory I actually approve of.

  83. Re:And why is hiding shit the default in Win serve by x_t0ken_407 · · Score: 1

    This post...is so awesome.

  84. File extension verses metadata rant? by Anonymous Coward · · Score: 0

    They are hidden because they shouldn't exist. What you choose to name a file has nothing to do with what format it is in. Being able to rename myfile.jpg to myfile.txt would never make any sense as it wouldn't actually change the format of the file. We need to drop the file extensions entirely and go back to metadata. This hiding business is just to hide confusion for average users.

    Furthermore, The format of the file has nothing to do with what application it should be opened in. Just because a school essay, a c++ source file, and a bash script could all technically be of the same text file format doesn't mean your OS should open your essay in a script editor, or open your c++ file in Microsoft Word. Meanwhile developers were creating .txf files which were identical to .txt files just to get them to open in the correct application forcing a user to change the file extension to .txt, if they wanted to open it in a different editor that didn't know what a .txf file was.

    Yes, I admit I'm from the Classic MacOS camp which used metadata (type/creator codes). Then the file extensions crept in so that our friends' windows computers could know how to open our jpg or text files we emailed them. then file extensions crept in and became default in OSX and windows. Then I started see other platforms admitting the deficiency of file extension. I saw windows started to support metadata, I see linux using #! at the top of text files.

  85. Candidate For Shooting by Toad-san · · Score: 0

    The dumbass at Microsoft who first came up with the idea of dropping the file extension. 'Oh, well, our users are really much too naive and unsophisticated to ever understand what file types are. It will just confuse them!"

    Yeah, right. And by default? Godz .. that exceeds stupid and starts to move into criminal.

  86. Re:File extensions? by kilfarsnar · · Score: 1

    What the fuck year is this? Do you still name your files using the 8.3 format? The filetype is now contained in the icon. With long file names that are abbreviated it's not like I can see what the extension is anyway. When I need to know the extension I'll right click thanks.

    What? The icon is arbitrary. I can give a file any icon I want. If I change the extension of a file, it affects how the file is handled by the OS. The icon, no so much.

    --
    "What the American public doesn't know is what makes them the American public." -Ray Zalinsky (Tommy Boy)
  87. Re:And why is hiding shit the default in Win serve by Anonymous Coward · · Score: 0

    pseudo artistic sensibility

    My understanding is that this sensibility included a respect for what might be considered vintage or old school. I'd think file-name extensions would definitely be old school.

  88. Re:File extensions? by Anonymous Coward · · Score: 0

    I thought it was pretty funny. I'm glad I'm not alone in being overly literal at times :D

  89. I never understood why by JohnFen · · Score: 1

    I never understood why Windows hides file extensions by default. Doing so makes Windows much more difficult to use. Changing that setting is literally the first thing I do with Windows. Hiding file extensions was one of the worst decisions made for Windows.

    1. Re:I never understood why by hawguy · · Score: 1

      I never understood why Windows hides file extensions by default. Doing so makes Windows much more difficult to use. Changing that setting is literally the first thing I do with Windows. Hiding file extensions was one of the worst decisions made for Windows.

      The people that find visible file extensions to be useful are the same people that know how to change the default setting to show them -- for the rest of the world, file extensions are meaningless, they'd rather see the MS Excel icon on Excel Docs than have to remember what file extensions will open into an Excel doc.

    2. Re:I never understood why by JohnFen · · Score: 1

      for the rest of the world, file extensions are meaningless, they'd rather see the MS Excel icon on Excel Docs than have to remember what file extensions will open into an Excel doc.

      Judging by the countless times that I've had to do tech support for people who get into trouble because they can't see the extension, and the expressions of surprise and joy that I hear when I set their machine to show them, I think that file extensions are far from meaningless for the ordinary user.

  90. Show it all by AndyKron · · Score: 1

    I always show the file extensions. I use detail view, too. Fuck icons, fuck folders, and as always fuck Apple.

  91. Meatdata by Greyfox · · Score: 1

    Filename extensions are embedding file metadata in the file name, which is never a good idea. It's a kludgy solution to a problem we had when computers were significantly less capable than they are now. The fact that we haven't already eliminated them is yet another indication of the sad state of original thinking in the current generation of software engineers. And yes I know that the original MacOS let you put metadata in the resource fork of the file three decades ago.

    --

    I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

  92. Re:And why is hiding shit the default in Win serve by bspus · · Score: 1

    I don't know but I guess it's for the same reason that windows server 2012 (and r2) have the modern UI

    What you wanna tell me that that windows 2012 datacenter edition is not running on a tablet???

  93. and... by robmv · · Score: 1

    and stop embedding and showing icons inside executable files and stop deciding what is an executable or not based on the file name (that is manipulable by the sender)

    1. Re:and... by stooo · · Score: 1

      how, then to recognize executables in a fashion not manipulable by the sender ??

      --
      aaaaaaa
  94. Re:File extensions? by Fatalis · · Score: 1

    pop up a thing saying 'You are trying to run a program downloaded from the Internet, do you really want to?', which isn't normally something that happens when people try to open a file so ought to trigger them to avoid it (if it doesn't, then seeing the .exe extension probably won't either).

    In most situations that downloaded file confirmation dialog is just a nagging thing you need to click through, so its usefulness in preventing users from executing disguised .exe files is limited, especially because you need to understand the significance of the dialog in the first place, which most users probably don't. The users might as well just think that it's a glitch that the image viewer is suddenly displaying a confirmation dialog. Showing the file extension would help about as much as having this confirmation dialog, if not more, but the real solution would be not making the files executable by default in the first place. You should have to right click and click 'Run' or something along those lines to run downloaded executable files.

    --
    Deus est fatalis
  95. Re:File extensions? by Anonymous Coward · · Score: 0

    Hey man, no kinkshaming.

  96. A double click should not p0wn a computer by iamacat · · Score: 1

    Extensions do nothing for non-developers besides lulling them into false sense of security. An average user is not going to know that .cpl is an executable. And what could be safer than .doc? Well, Word has a turing complete macro language that has been exploited countless times. Extensions will not even help you because you just have to fat finger an icon once to have persistent malware on your computer for years.

    Nope, the real answer is system level protection to ensure that an app can not do any more damage than a text file. Application sandboxing works pretty well on mobile. Yes, there is always cat and mouse game with malware, but infected phones/tablets are much less common than desktops or laptops. Most "infections" are free games that run on background and open ads in your browser rather than credit card number keylogging. I think this should be default experience on a consumer device. Freedom of tinkering and development is also very important, but should involve explicit steps and visual reminders to make sure no software or person can gain unrestricted access to your device without your knowledge and understanding.

    1. Re:A double click should not p0wn a computer by Blaskowicz · · Score: 1

      We do have a method for delivering universal sandboxed apps to the desktop and laptop, it's called the "java browser plug-in".

    2. Re:A double click should not p0wn a computer by iamacat · · Score: 1

      Besides not being able to support real native apps and not being properly sandboxed due to neglect by companies more interested in servers... sure. Java plugin, flash, silverlight and HTML5 are all intended to serve the same needs. It's mindshare that matters.

  97. History lesson for you non-technicals. by Medievalist · · Score: 1

    File extensions were originally something that humans put on files to tell each other what they were. Around 1974, for example, I might have a file called "phlist.txt" on an PDP-11 and my cow-orkers would know that was a phone list in raw ASCII format. The OS did not care, labels were for humans. If you wanted to tell the OS to execute a program, you typed "run filename" and if it wasn't an executable you'd get an error message.

    Then unix and friends came along, and put an "executable bit" in the metadata for each file, so that you didn't have to type "run" any more. If you typed the name of a file, and it had the executable bit set, the system treated that as if you'd run it. Saved some ink on the teletype, don't you know.

    Well, 8-bit micro computers running CP/M and DOS came along, and they sort of half-assed the concept. They still didn't have very much metadata on files, but the extensions .exe and... hmmm... something else I forget right now... were designated as "special". If you typed a word that the system did not recognize, it would look for a file with that name followed by .exe, and try to execute it.

    But then Apple came along and built resource forks into their file system metadata, so they were able to associate information about what applications and/or utilities were used to create a file, and give some recommendations on what should be done if a user simply clicked the file. A really significant advance for filesystems, at least in theory.

    Now, Microsoft wanted to make people believe that their OS and file system were as capable as the early Apple Macintoshes (pre-OSX) so they faked up a sort of back-alley version of the resource fork using file extensions. They were already checking for that .exe extension anyway, so most of the infrastructure to do this was already in place, they just jammed some hacks in to generalize the mechanism for all file extensions. And then they hid the extensions, so that to a clueless end-user it looked exactly like an Apple mac - you clicked on a file named "phone list" and the phone list application opened up.

    This hare-brained scheme doesn't really work like Apple's, of course, because instead of including extra information about the file in the file metadata, instead they have built a separate list of file "types", designated by extension, and actions to associate with those types. In terms of the required slashdot car analogy, this is the difference between having the name of your state or country blazoned on your license plate, or having a giant book where you can look up the number of a car's license and see what state the car was registered in. Obviously the latter is inefficient and scales poorly as well as being fundamentally less capable and having no consistency across individual machines. Using the Apple method, if someone gives me a file with a resource fork, I get the resource metadata with the file. Using the Microsoft method, somebody gives me a file and maybe - if I'm lucky, and have the same applications installed - I will have the same resources associated with the file extension that the person giving me the file had on their machine.

    But people who grew up after all this was invented can rarely see how stupid this all is, and always has been. It's like the idiocy of having the label of the volume MFD being the same as the subfolder separator character - nearly all of you young folks think that actually makes sense, in the same way that people brought up in the Westboro Baptist Church think raving bigotry makes sense. You've been conditioned to accept it.

    This is only one of several giant steps backwards in computer technology. We used to have automatic file versioning but now programmers are so thoroughly conditioned they don't even seem capable of understanding why that was so awesome.

    Now get off my damn lawn, you whippersnappers!

    1. Re:History lesson for you non-technicals. by not-my-real-name · · Score: 1

      It probably depended on your PDP-11 operating system. On RSTS/E, the extension determined which run-time system was used to run an executable. Off the top of my head, there was BAC for BASIC-PLUS, SAV for RT-11, TEC for TECO, and I can't remember the RSX one. The systems administrator could install other run-time systems and assign extensions to them.

      However, at this time, extensions were closer to being actual meta-data since they were stored separately from the filename. Again, for RSTS/E there were six characters for the file name and three for the extension. I suspect that many other operating systems of a similar vintage did things similarly, except for Unix which just had 14 bytes. Even early Unix though had things like .c for C source code and .o for object files.

      --
      un-ALTERED reproduction and dissimination of this IMPORTANT information is ENCOURAGED
    2. Re:History lesson for you non-technicals. by LDAPMAN · · Score: 1

      And then Apple went backwards because they had to live in Windows world. Sharing files with Windows users required extensions so they gave in and went stupid.

  98. Re:And why is hiding shit the default in Win serve by PPH · · Score: 1

    You forgot the obligatory reference.

    --
    Have gnu, will travel.
  99. Who in their right mind does hide them? by gweihir · · Score: 1

    Isn't one of the first steps after the base install is done to fix that brain-dead default? Seriously, there is zero need for discussion here, there are just people with a minimum of understanding and clueless morons. The clueless morons are beyond help anyways.

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  100. Why trust users to do it? by hawguy · · Score: 3, Insightful

    Why trust users to know what file extensions are "safe" and which are not? Surely the same computer that shows "ImportantFile.doc" to the user when it's really "ImportantFile.doc.exe" can be smart enough to pop up a message when someone clicks on it: "Hey, this filename *looks* like a document, but it's really an executable so instead of opening a document, I'm going to run it. It's probably a terrible idea to run it, so I'm not going to do it, you'll have to rename it to something less ambiguous if you really want to run it. But you should't do that. Really. I'm not kidding."

    1. Re:Why trust users to do it? by Anonymous Coward · · Score: 0

      As long as we're imagining our computers are smart, why can't we imagine that they can run any random code from the internet without giving that code permission to do anything and everything that the user themselves is allowed to do on the computer? Perhaps when that code wants to open a file, there's no open() function in the traditional sense, just a function that pops up a file open dialogue and so the program has no access to anything until it is explicitly given that access by the user.

      Just imagine, your kids could download anything from the internet, and upon running it, your computer would pop up a box that says "what kind of program is this?" Then they click "it's a game" and then the malware is rendered harmless because all the OS will allow it to do is accept keyboard input when its window is in focus and display graphics and sound while that window is open.

      It's kind of silly that everyone is debating file name extensions as if the problem is that users don't realize that they're running programs. In far too many cases they do know that they're running programs. They bought a computer so that they could run software. Their computer should be able to run software safely.

  101. I miss Mac OS by jasenj1 · · Score: 1

    The old Mac OS - pre 10 - had a separate resource fork in the file that carried around what app created the file and the file type. I really can't believe that we're still using file extensions. The name of a file should be completely separate from the type.

    1. Re:I miss Mac OS by Anonymous Coward · · Score: 0

      Except everything was based on FourCC's and those are even worse than MIME types for "registering" one for use. And they're far more limited to top it all off. (Example: My app is called "Pushup". Adobe already registered "Photoshop" as "PSHP", so I'm screwed out of the most obvious FourCC for my app's file format. At least a MIME type can be longer than 4 characters.)

      Personally, I'd favor a hybrid approach between a cached value (MIME in an alternative file stream, perhaps), and a file-inspection system. This would best work by having a system-wide repository of supported file format plugins, which could include facilities for inspection, parsing, lexing, validation, conversion, etc. Then that inspection task could be run any time the file was modified to update the metadata in the alternative file stream. Think about Java's 0xCAFEBABE class file signature, and then apply that idea to everything in the entire system. Anything that couldn't be validated would be either a generic text file (and execution refused by the OS) or a generic data file (also refused execution). And none of this precludes an app from simply opening a generic data file, looking for its own signature, and manipulating the file anyway. So one-off, internal-use-only, or otherwise proprietary and obfuscated programs and their file formats can stay obfuscated if they want to.

      Hey, I can wish, can't I?

    2. Re:I miss Mac OS by jasenj1 · · Score: 1

      I didn't mean to imply that Mac OS's implementation was the best choice, only that it is/was a better choice than three letter extensions on the file name. MIME types are a more modern approach.

      A post above suggested prepending MIME information on ALL files. That doesn't seem like a bad choice other than it breaks backward compatibility.

      But I think we can agree that the current approach is seriously antiquated and problematic.

  102. And this works for which OS ... by OneSmartFellow · · Score: 1

    Like

    echo "sudo rm -rf /*" > fubar.txt
    chmod 777 fubar.txt

    Yep, can't be harmful, it's a text file.

  103. natura defecta by Anonymous Coward · · Score: 0

    A filename is the key to access a file. A part of this key is not enough to identify the file. If the operatiing system displays only part of the name it is broken and defect. To hide some parts of the filename (extension is never used in the file system accessing the data on the disk) is a badly broken idea. It is like you have only part of the key to your flat or car and the car is guessing the other part.

  104. First thing... by SuperDre · · Score: 1

    It's always the first thing I do when I install a new version of windows... Why people even want to work without the extentions is a mystery to me..
    But then again, I always like to know what a file exactly is.. I also never understood why it's off by default...

  105. Obfuscation of the systems from the users. by Thatto · · Score: 1

    I have noticed this trend in OSs, Windows/OSX hide file extensions. Windows hides filesystem structure in "Libraries" (Complete Bullshit by the way. I went through and removed them from the registry, only to have them reappear after an update). Windows hides system files. Web browsers hide the protocol info. HTTP:\\ or FTP:\\ I do not like it.

    1. Re:Obfuscation of the systems from the users. by Blaskowicz · · Score: 1

      Linux/Unix hides filesystem structure (it's always /home/username, rather than C:/home/username on some systems and D:/username on others)

  106. Re:File extensions? by wierd_w · · Score: 1

    Testdisk.

    I find adding "FOSS" to the search term instead of "Free" makes a huge difference.

  107. even older by John_Sauter · · Score: 1

    The idea of using file name extensions as a means to denote content/application association dates to the 1970s (or even earlier).

    I first encountered filename extensions in 1966, on a DEC PDP-6. We had 36 bits (six characters) for the file name, and 18 bits (three characters) for the extension. Early extensions were .FOR (for Fortran) and .REL (for relocatable binary). The .EXE extension on executable programs was invented in the late 1960s for the Execute command, which would compile and link your program if your sources were newer than your executable.

  108. Should not have extensions by Anonymous Coward · · Score: 0

    There should not even be extensions on files. A fork (metadata) containing the MIME type with appropriate icon or tooltip is sufficient. But all these OSes wish to be maintain legacy compatibilty with a convention that has been obsolete since the early days of the Amiga and Macintosh.

    I somewhat prefer the model of Xerox Star (or was it Alto?) in that there were not applications, but views/handlers for different types of documents.

  109. Re:And why is hiding shit the default in Win serve by Anonymous Coward · · Score: 0

    Then give me the option to use a better UI.

  110. Extensions are irrelevant by Anonymous Coward · · Score: 0

    It doen't matter how smart a user is. Extensions are a part of a filename and under control of the user. Just do:

    mv foo.exe foo.jpg

    Now a user who sees the extension happily clicks it and *boom*.

    libmagic does a fantastic job identifying file types. Why does not even one OS use it to display the right thing?

    1. Re:Extensions are irrelevant by AaronW · · Score: 1

      It is much slower to do it this way. It means that instead of just parsing the directory entries it needs to open every file and read the header to figure out the file type.

      --
      This post is encrypted twice with ROT-13. Documenting or attempting to crack this encryption is illegal.
  111. originally file extensions were never hidden by John_Sauter · · Score: 1

    We gave them extensions for a reason - to let people easily tell what kind of code it was.

    Historically, that isn't correct. File extensions were invented in the 1960s to distrnguish files for the same program but with a different purpose. For example, I might have a program named FOONLY. It is written in Fortran, so its source file is FOONLY.FOR. When I compile FOONLY.FOR the output of the Fortran compiler is FOONLY.REL. When I link FOONLY.REL the output of the linker is FOONLY.EXE.

    In a system like this, hiding the file extensions would be counter-productive.

  112. Re:Yes, I agree, but no shortage of stupid GUI by mattventura · · Score: 1

    The main thing for me is the default taskbar layout. Why does it use unnecessarily huge icons by default (even before Win8 and it's touchscreen stuff)? Why does it group all the windows of one application into one button, making it take longer to switch to specific windows? Why doesn't it display names of the open windows by default even if there's plenty of space on the taskbar?

    Microsoft seems to have a fetish for hiding as many words and buttons as possible from the user. That seems to be their definition of "user friendly".

  113. I disagree by AntiSol · · Score: 1

    I disagree, hiding file extensions is an excellent idea which helps buy countless cars and houses for microsoft certified people every year. Just think of all those poor struggling technicians who spend all their time re-imaging systems!

  114. Primitive Operating Systems use extensions by DanielOom · · Score: 1

    The use of file name extensions to indicate file types is a feature of some Digital Operating Systems like VMS that has been aped by CP/M and MS-DOS. The MacIntosh System uses a separate file type indicator and Unix uses magic (4) bits even though they sometimes use suffixes for C source files.

  115. Enable Your Extensions! by mschwanke97402 · · Score: 1

    Every single computer on which I work, or set up new, in my shop has file extensions enabled straight away!

  116. Re:File extensions? by Anonymous Coward · · Score: 0

    they think they're trying to open a data file. so they don't think what they're clicking on is a program downloaded from the internet.

    you want to thumbnail pictures as their icons and you want to let programs choose an icon. the only way to make sure files that look like data aren't run as programs with the user's permissions is to show which files will be opened as programs. ls shows files with x permission in green, and only files with x permission can be run directly. and you don't just type the name of a file to get it to open, anyway.

    in a visual environment, need some unmistakable, unforgable flag for things that will be run when doubleclicked.

  117. Re:Yes, I agree, but no shortage of stupid GUI by Sigma+7 · · Score: 1

    Why does it group all the windows of one application into one button

    This is why.

    Of course, part of the problem ifs that I'm using an "everything" computer. Then having to do some other task or wait on an existing one since it's nowhere near complete and has to be done later. Then these windows build up.

    If they weren't group, I'd be hunting through 82 buttons, which has the same effect as having to click twice.

  118. Re: File extensions? by BronsCon · · Score: 2

    Huh, they run just fine on mine. Must be all the Wine.

    --
    APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
  119. Re:Yes, I agree, but no shortage of stupid GUI by Barefoot+Monkey · · Score: 1

    As far as I'm aware most people find the grouping on the taskbar useful. Fortunately Microsoft did the right thing here and not only made a helpful feature but also remembered to make it optional. I wish they'd do that more often.

    To disable it and have a separate button on your taskbar for each window, right-click on your taskbar and click "Properties". Look for a combo box labelled "Taskbar buttons"; it should have a value of "Always combine, hide labels" by default. Change it to one of the other values and press "OK" - no more button-grouping on your taskbar.

  120. I know why they hid the extensions by clovis · · Score: 1

    I used to support an office of several hundred clerks starting from the Windows 3 days.
    When the extensions are exposed, some people would change the extensions for some reason known only to the non-verbal half of their brain or perhaps just typing clumsiness.
    Now they can't open the spreadsheet by just clicking on it, and worse yet, they seem to most often do that in the shared departmental folders.

    One typical thing that happened was when gradualy transitioning the office newer versions of MS Word, so some people could open .docx documents and some could not.
    The solution? Just rename .docx to .doc. Yay! that should work.

    Anyway, a long time ago it became obvious that making it difficult for users to change file extensions would reduce support calls, and so here we are now.
    As many other posters above me pointed out, the real problem is that the extension is used to determine the file-type association.

    1. Re:I know why they hid the extensions by spitzak · · Score: 1

      You don't have to hide the extensions in order to make the GUI not change them. Just prevent the user from editing that part of the filename.

    2. Re:I know why they hid the extensions by clovis · · Score: 1

      You don't have to hide the extensions in order to make the GUI not change them. Just prevent the user from editing that part of the filename.

      That would be a good solution, especially if it were controllable through group policy.
      Lock it down in the office; do what you want at home.

  121. Re:Yes, I agree, but no shortage of stupid GUI by mattventura · · Score: 1

    So why not have it group only when the taskbar is full? IIRC that used to be the default, but now it groups even if there's plenty of room.

  122. 8.3 by Anonymous Coward · · Score: 0

    focusesm.ind
    savespa.ce
    makesyou.mad

  123. Re:And why is hiding shit the default in Win serve by Blaskowicz · · Score: 1

    "du jour" is what you're after : "of the day" while de jure means "by law"

  124. Re:And why is hiding shit the default in Win serve by Blaskowicz · · Score: 1

    Windows Server is in fact a desktop operating system too. What was called Citrix, then TSE, then RDS is a facility to push the Windows Server's desktop onto plain Jane office users and possibly your marketing execs. Though these days, it is possible to push a single app (I'd do that in a heartbeat if it was free as beer)

  125. Too late by Anonymous Coward · · Score: 0

    Extensions are hidden because they instruct the operating system what program should be used to open a file. Without it the file will be useless. Everyday users won't be careful enough to not mess up the file extension when they create a new file or rename a file.

  126. FUD? by dbrossard · · Score: 1

    The Anna Kournikova virus did not "wreak worldwide havoc". In fact all it did was generate additional spam of itself.

  127. Where's this execute checkbox in Windows? by tepples · · Score: 1

    Let me guess why people don't change the executable permissions in Windows more often. One is that it's not as clearly visible as the "Allow this file to run as a program" checkbox in Nautilus or Thunar or other X11/Linux file managers. The other is that permissions other than "write" don't stick on most removable media, which is formatted FAT32 or exFAT.

    1. Re: Where's this execute checkbox in Windows? by KingMotley · · Score: 1

      Well do the permissions stick in Linux when using FAT as your removable media format?

    2. Re: Where's this execute checkbox in Windows? by KingMotley · · Score: 1

      Sorry, it's located under file properties, security.

    3. Re:Where's this execute checkbox in Windows? by Anonymous Coward · · Score: 0

      Better guess: On Windows, the default is yes, so you why bother... On *nix, the default is no, so you NEED to add the executable bit before it will run.

    4. Re: Where's this execute checkbox in Windows? by Anonymous Coward · · Score: 0

      No, they just stay non-executable no matter how many times you try to add it.

      Unless you set the umask in /etc/fstab.

      (And now I expect someone to tell me that $DISTRO or a certain manager of everything sets up the insecure umask as default).

  128. Damn good idea.... by TiggertheMad · · Score: 1

    perhaps the solution is not to automatically display a file extension, but rather show the file/object that it will be launched with when clicked on. You don't see 'trip photo.png' but instead, 'trip photo (Photoshop)'. This makes naming files things like 'readme.txt.vbs' less useful of an attack vector.

    --

    HA! I just wasted some of your bandwidth with a frivolous sig!
    1. Re:Damn good idea.... by xxxJonBoyxxx · · Score: 1

      Google "Word macro virus"...

  129. Composed vs. purchased by tepples · · Score: 1

    It's not clear if the music folder is for own composed music or purchased music.

    I assume that Microsoft assumed that "own composed music" is such a small edge case that music industry professionals would be able to handle it with their own in-house best practices. Evidence is that Microsoft includes the "Xbox Music" (formerly Zune) app in Windows but doesn't include even the simplest sequencer. Or has Microsoft added one to Windows 10?

  130. Re:Yes, I agree, but no shortage of stupid GUI by BevanFindlay · · Score: 0

    You forgot one: the Ribbon. Not only is it the only user interface change I have ever seen that caused multiple experienced power users of a product be unable to find basic functionality, even now that I have been forced to get used to it, I find it slows me down considerably, because most things take an extra click or two (usually at near-opposite ends of the ribbon, adding all the seek time as well) and (unlike a toolbar) there's no guarantee that a common button is going to be where you expect it. Yes, there are keyboard shortcut alternatives, but because they're not advertised until you hit the ALT key (and they're unlike anything from previous versions or other programs) I find I don't learn them. It's like someone read research on UI design and thought "how many of these things can we get away with ruining?", though I realise the more likely scenario is that some suit thought "hey, I personally don't like our current toolbar+menus layout, and this Ribbon is a pretty design, let's use it everywhere!" without actually reading any UI design research or checking with real users.

    Also, Clippy. ;-)

  131. even more brain dead trick by Anonymous Coward · · Score: 0

    After Windows defaults to showing file extensions again, could they please stop chaning to reight-to-left mode in the middle of a file name (using Unicode) ?
    Whith this trick, the file extension is displayed somewhere in the middle of the filename, and some midle 3 characters are displayed as the file extension.

  132. ROFL by Anonymous Coward · · Score: 0

    "the only plain-text, obvious indicator of what a file actually is"

    Yeah, because when i switch the "hot" and "cold" labels on my shower, that also changes the water temperatures? You realize that's what you are saying here, right? WOW

    And people are talking about idiot users...what about idiot posters!

  133. Re:Yes, I agree, but no shortage of stupid GUI by Skulthur · · Score: 1

    Well this is one of the things I do everytime I log on a new Windows (like unhiding those damn extensions!) but it's not working very well since all instance of the same app are still grouped, just with separate entries.

    i.e. if I have 2 or whatever instance of whatever app I use, I can't just put one at the top of my taskbar, and the other on the bottom or wherever I want it - they always stay together but with 2 entries in the taskbar instead of one.

    Oh well, guess it could be worse - they could have forced the default options and I would be stuck with both grouped taskbar entries and have it icon-only (just can't find myself with those meaningless icons. Text please! I have the screen space, thank you. No my taskbar is not at the bottom, stop assuming everyone use the same settings).

  134. libmagic or MIMEtype by Anonymous Coward · · Score: 0

    Other than libmagic, the only other library I have seen with this capability is https://github.com/technosaurus/MIMEtype ... the extension based MIME guessing is more extensive than libmagic while the magic matching is considerably less extensive (mostly image types IIRC). If you are working with known files, MIMEtype's extension-only matching is up to 100x faster because it doesn't need to open any files and only does a single binary search vs. libmagic's exhaustive linear search against a large dataset.

  135. Re:Yes, I agree, but no shortage of stupid GUI by TapeCutter · · Score: 1

    My biggest beef is they changed how default file search operates in explorer on win7, old search just looked at filenames, new one looks inside files. Complete pain in the arse, I'm the gate keeper for a large cvs repository, I don't want a list of 5000 .c files when I'm searching for a particular .h file, I want a list with just the .h file in it. If they must try and compete with grep then a simple "look inside files" checkbox on the old dialog would have been better. Or better still put the search feature from Visual Studio into explorer as a separate "search in files" right click option.

    Personally I think MS's tendency to kill useful stable features and move the carcass to a different UI location is a 'plot' to sell more MS training courses for non-technical staff.

    --
    And did you exchange a walk on part in the war for a lead role in a cage? - Pink Floyd.
  136. Set up depending on user type by Anonymous Coward · · Score: 0

    When first run, an Windows should present the user with choices for setup.

    1. I am an advanced user.
    2. I am an average user.
    3. I am a complete moron.

    Then set it up with all settings easily available for 1. For 2, it should have a little more hand holding. And for 3, it should just shut down, possibly with the message "Get a Mac."

  137. Operating systems idiocy by Trogre · · Score: 1

    I'm curious:

    Is there anyone here who does not, upon sitting at another person's computer, immediately un-hide file extensions if they are hidden?

    Further, has anyone here ever had a user object to having their file extensions un-hidden?

    I suspect the answer to both is "no".

    --
    "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
  138. showing extensions is not enough - there's worse by Anonymous Coward · · Score: 0

    even the original thread starter seems to have forgotten about certain control codes and their uses inside a filename?! ...read on:
    unfortunately we are already way *past* the point where not hiding the filename extension (alone) anymore would do any good even to the more experienced users - meaning the ones who actually *could* give you a more comprehensive list of which file extensions actually are considered an executable... ...and we have the same morons to thank for that fact, yep: microsoft

    am i really the only one who some time in the past came across certain files that suddenly listed different filenames (including different file extensions!) with some nonprintable crap when copied to a samba file server and viewed from the linux directory listing ?

    reason: some idiot at microsoft decided some malware authors needed an even better helping hand than just hiding file extensions. ...or does *anyone* think there really is a *need* for the following functionality *outside* malware ?
    there are control codes to reverse the writing direction -- yes, some languages are written left-to-right, some others right-to-left.
    a modern multi-language capable OS needs to deal with that -- *but* WTF *inside* one and the same filename ?
    (why not restricted at least to directory level, like "all files in here are in language xy, so list accordingly", even if i really would prefer it to not be part of any file system / control code at all, but rather a trigger for the directory viewer a.k.a. explorer: menu entry like "view using language configured : a b c" that is only there if configured for multi-language, for obvious security reasons).

    the following example hopefully makes my point clear:
    the way it is now you can construct a file like "some-title_ripped_by_some-nickname-ending-with-exe.mp3" looking like a non-executable mp3 that when listed on any OS that does *not* honor those control code crap convention, like any linux for example....
    there it suddenly looks this way: "some-title_ripped_by_some-nickname-ending-with-#3pm.exe" where "#" is showing as undecipherable graphics crap -- the above mentioned control code to reverse the filename printing direction to "from-right-to-left"... inside the very same filename !

    this is no fool's joke i have actually seen malware disguised using this technique "in the wild" for example on usenet...

    so the minimum requirement must be to equip the user with a kill-switch for that stupid functionality -- i do not know of any, as of now in my windows7 professional that is configured to only use one single language -- in addition to not hiding the filename extension

  139. Re:File extensions? by tepples · · Score: 1

    Windows do: they'll both pop up a thing saying 'You are trying to run a program downloaded from the Internet, do you really want to?', which isn't normally something that happens when people try to open a file

    I beg to differ. Occasionally on Windows 8.1, I've opened a text file and still seen an alert to the effect "You are opening a text file downloaded from the Internet; are you sure?".

  140. Re:And why is hiding shit the default in Win serve by Anonymous Coward · · Score: 0

    Brogrammers.

    captcha: repulse

  141. The problem isn't filenames by Anonymous Coward · · Score: 0

    How could you possibly blame this on filename visibility?

    The user is given a single interface which does one of two things:

    A) view a file's contents

    B) perform arbitrary actions to whatever it wants on your computer

    There are various problems here (not the least of which is that "arbitrary" part, due to horribly broken security models, which think that the least-protected files should be the ones which are not automatically verifiable or automatically replaceable), but the most obvious, and easiest to correct, is the part that calls "execute" and "view" from the same button.

  142. They just hide the extension anyway by DarkStarSword · · Score: 1

    These days it's all the rage to abuse unicode control characters to hide the extension, for example a file that appears to be called "big_narcs.jpg" might actually be "big_nagpj.scr". If the extension is shown it just looks like a relatively harmless jpeg image, but in reality it is a malicious windows executable with a .scr extension. Executables can of course define their own custom icon so they can still be made to look like an image file as well.

    Anyone with a large item inventory on Steam and public comments enabled on their profile over the last few months has almost certainly been hit with numerous attempts to infect them with malware using this trick with the line "here's a screenshot of my trade offer".

  143. Re:File extensions? by Qzukk · · Score: 1

    Pretty much. The user double clicks the icon and answers "No" and doesn't get to see jiggly bits. So the user double clicks the icon again and says "Yes" this time.

    --
    If I have been able to see further than others, it is because I bought a pair of binoculars.
  144. Two part problem by sjames · · Score: 1

    It's a problem in two parts, but what it really comes down to is that when you double click, you don't actually know if data will be viewed or a program will execute. Is it REALLY a surprise to anyone that that's a gamble you will lose sooner or later?

    Fundamentally, having the same action mean more than one thing is asking for trouble. There needs to be one action to open and another to execute.

    Next, the icons themselves should indicate an executable even if it does not end in .EXE. Some sort of emblem should take care of it.

  145. Re:And why is hiding shit the default in Win serve by Anonymous Coward · · Score: 0

    Yeah, they were called "Trendsetters" back then. Blame the fucking trendsetters!

  146. Re:File extensions? by TheRaven64 · · Score: 1

    Ugh, trust MS to fuck up a reasonable UI choice. On OS X, by default, it only happens for programs and requires you to close the dialog and then bring up the context menu for the program while holding a modifier key. You don't know how to do it unless you've actually read all of the way to the end of the dialog, so it generally protects people.

    There are some interesting corner cases though, such as shell scripts. The file manager doesn't know if the thing that you tell it to open a shell script with is a text editor or a script interpreter, so may warn spuriously.

    --
    I am TheRaven on Soylent News
  147. Show file extensions is one of the first tasks by rhyous · · Score: 1

    Whenever I create a new install, physical or vm, setting the option to show file extensions is one of the first tasks. If a VM, it is a task to run before the first snapshot.

  148. Also by gzuckier · · Score: 1

    I always bugs me when hair extensions are obvious.

    --
    Star Trek transporters are just 3d printers.
  149. Expert review of new Internet Media Types by tepples · · Score: 1

    MIME types have both standard types defined, plus a defined process for vendor extensions. Yes, via IANA.

    The RFCs specifying what is needed before an IANA "designated expert" will accept a new Internet Media Type are a lot of documentation for a new programmer to read and understand, and my attempts to search the web for easier-to-digest introductory information from third parties weren't very fruitful. There's also a week's turnaround for this designated expert to make a decision. And if, say, the development of a new video game produces 20 different internal asset data formats used by the game and by its modding tools, would the designated expert appreciate having to review the registration of each of these formats as an Internet Media Type? I think I'm misunderstanding something very fundamental, and I know there's much I don't know.

    Thirdly file types which have no additional requirements for registration, yet unambiguous are easy, by simply prefixing them with an already registered domain (usually reversed). e.g. com.google.whateverthefuckgooglewanttocalltheirnewfiletype.

    Or io.github.some_username.some_projectname.some_type, right? I can get behind that in theory. But it'll take a lot of reengineering of container formats such as file systems and archives. Does FAT32, the default file system for removable storage media 32 GB or smaller such as USB flash drives and SDHC cards, support attributes such as content type? Wikipedia says FAT32 does not support extended attributes. Does exFAT, the default file system for larger removable storage media such as SDXC cards? Wikipedia does not say one way or the other. And Zip, a very common archive format, currently doesn't fully support extended attributes either and won't until Info-ZIP Zip 3.1 comes out.

  150. Still don't get it by Anonymous Coward · · Score: 0

    You don't get it. It's not "right". The problem people find stupid is simply the name. You could just call "My Documents" Documents and be done with it. It's the "My" part that we find condescending, patronizing, and just awkward to say. It ends being a Who's on First type discussion.

  151. peanut butter and jealous son! by Anonymous Coward · · Score: 0

    Wrong again, AC! You get your work done because you get left alone in your basement cube to rot since no one can stand interacting with your Oh So Bubbly(tm) attitude. Since everyone wants to hang out with me, I don't get hardly anything done, yet the boss still loves me. You sound jelly, bro.

  152. Oh yeah. Great idea! by Anonymous Coward · · Score: 0

    Give users a visual identifier that lets them know clicking this file will lead to this action.

    Oh you mean like a short set of letters attached to the end of the file? Genius!

  153. I'm disappointed by Anonymous Coward · · Score: 0

    It's 2015 and the title of this article isn't "Why We Should Stop USING Filename Extensions".

  154. File introspection by Anonymous Coward · · Score: 0

    It's worse these days, because Windows got smarter and more "helpful". You can have a file called image.png and if it's actually an executable, it will be identified as an executable and run. I think in particular IE is very prone to this, because it tries to guess what a file really is and execute the associated action. So if you are downloading image.png that's a Office doc, it will open in Office instead of showing a broken image.

  155. Re:File extensions? by Agripa · · Score: 1

    The icon of an executable is set by the executable. Enjoy your porn.jpg.exe with a thumbnail icon.

    Even worse, the file can also mask the .exe part in Windows Explorer so it just displays porn.jpg yet somehow Windows Explorer does show the file type as an application.

  156. Display file type based on magic number! by MoarSauce123 · · Score: 1

    Displaying file extensions is just good measure and turning them off by default is one of the biggest flaws in Windows. Still, changing the file extension is easy. Anyone can turn a .exe file into a .txt file or if malicious into something that is likely getting sent to an application that will attempt to execute the file as in run the instructions in it. The real fix here is to make use of the magic number in the file header that truly tells what kind of file it is. Additionally, any app accepting file submissions has to check for that magic number and not just rely on flaky browse box extension filters that are easy to override or dumb checks on extension alone. As often, this comes down to properly testing applications, something that is just dropped in our new Agile world where delivering features as quickly as possible always trumps quality.