Slashdot Mirror


iTunes 2.0 Installer Deletes Hard Drives

Cheviot writes: "It seems Apple's new iTunes 2 installer deletes the contents of users' hard drives if the drives have been partitioned. I personally lost more than 100gb of data. More information is available at Apples Discussions board. (registration required). Apple has pulled the installer, but for hundreds, if not thousands, the damage is already done." The iTunes download page has a nice warning about the problem. Ouch.

511 comments

  1. How the hell does this happen? by dimator · · Score: 4, Funny

    Well, here's the pseudo-code:


    if(installDrive->hasEnoughSpace()){
    return startInstall(instalDrive);
    } else {
    installDrive->formatRecklessly();
    return startInstall(installDrive);
    }


    Hard-to-spot bug, actually.

    --
    python -c "x='python -c %sx=%s; print x%%(chr(34),repr(x),chr(34))%s'; print x%(chr(34),repr(x),chr(34))"
    1. Re:How the hell does this happen? by RiffRafff · · Score: 1

      Doesn't anyone test their code anymore??? I mean, how hard can this be?

      --
      "I might have made a tactical error in not going to a physician for 20 years." -- Warren Zevon
    2. Re:How the hell does this happen? by Jace+of+Fuse! · · Score: 3, Flamebait

      No.

      Sorry.

      Extensive testing went out of style around the mid 90's.

      Oh -- and actually writting REALLY good code, that's been out of style since at LEAST the 80's.

      I blame colleges for letting so many graduates think that they are instantly coders.

      Real coders are born, not made.

      And anybody who got into computers for the money, and not the thrill of writing code -- well -- they're worse than lame. And they probably use AOL.

      --

      "Everything you know is wrong. (And stupid.)"

      Moderation Totals: Wrong=2, Stupid=3, Total=5.
    3. Re:How the hell does this happen? by Anonymous Coward · · Score: 0

      It happens because Apple uses the .pax archive format inside of its "pkg" files. This format is known to be a risky choice because it can do very "destructive" updates if not used very, very, very carefully as seen in this case.....

    4. Re:How the hell does this happen? by Apotsy · · Score: 2, Informative
      It happens because Apple uses the .pax archive format inside of its "pkg" files. This format is known to be a risky choice because it can do very "destructive" updates if not used very, very, very carefully as seen in this case.....

      Yes, pax is a complete piece of crap. The good folks over Stepwise warned about problems with it a long time ago (scroll down to the heading "Installer.app"). Apple blithely went on using pax anyway.

      Perhaps after this disaster, Apple will finally realize they should maybe start using something more robust for their packaging system on X.

      It is worth noting that the Mac OS 9 version of the iTunes 2.0 installer (yes, they are still updating the Mac OS 9 version of iTunes) did not exhibit the problem, as it doesn't use pax. It uses Apple's old "tome" installer archive format instead.

    5. Re:How the hell does this happen? by Apotsy · · Score: 1
      Eh, I take that back. I see now that it wasn't a pax thing after all. It's something else.

      But pax still sucks. :-)

    6. Re:How the hell does this happen? by cshotton · · Score: 5, Insightful
      Apple has had a greatly diminished QA organization over the years. I think this is due in large part to the serious turnover the company experienced in late '97 - early '98. Nearly every engineer that worked on the original Mac OS left during this time. The Developer Technical Support organization was gutted, and quality assurance became an exercise in million monkey button pounding.

      Having been the author of a 3rd party product bundled and shipped on Apple hardware, I can tell you that the extent of their QA process doesn't go much beyond making sure the software installs and runs on an out of the box system, followed by some mediocre mashing of buttons and menus. They really don't understand or implement the concept of actually testing on live, deployed, end user (like) systems. They have racks of off the shelf machines with standard software loads. If they install and run and stay up over the weekend, it's shippable.

      We would get reams and reams of complaints about how dialog boxes weren't formatted just so, etc., but their QA department never caught a single defect that most would consider a bug in the code. And there were certainly bugs to catch.

      This is a chronic problem that most commercial software houses have. They tend to put junior people with little product experience in the QA organizations and assume that by acting like reasonably competent users, they will somehow uncover logic flaws, data errors, and other engineering foibles. The only time I ever saw QA done right was on a NASA project with life critical software systems. The project was staffed with the very most senior engineers running the QA department and all of the junior engineers were slinging code.

      It was up to the gray beards to make sure the junior guys wrote code that was to spec, integrated properly, handled all of the possible input scenarios, and actually performed in a live environment. These senior guys were also the architects of the system, so they knew what the software was supposed to do, how it was supposed to be constructed, and what it should take to break it. I doubt that 1 in 100 commercial shops today have an engineer working in the QA department that actually understands the code they are testing down to the module level. When was the las time you saw a QA guy in a design session, learning about how the system he's going to test is going to be architected?

      This is so far from the current practice in commercial industry today as to almost have the flavor of a fairy tale. Apple's no different than any number of other companies who are rushing to ship software on a too short schedule. They pay lip service to QA and rely on their early adopter users to find any lingering problems. In this case, they totally dicked over their customers by not doing their job. However, they're only partially to blame since I think the development of iTunes is still done by Casady and Greene under contract to Apple. I'd be surprised if they weren't ultimately responsible for creating everything, including the installer. Regardless, Apple should have tested this before sticking it on-line on a Saturday night.

      --

      Shut up and eat your vegetables!!!
    7. Re:How the hell does this happen? by Anonymous Coward · · Score: 2, Interesting

      You raise some interesting points about testing in industry.

      I would like to offer some comments as a tester, myself.

      Yes, testing is not generally done correctly or particularly rigorously. There have been some common factors in my experience:
      1) Code not developed to Specification. This is by far the most common. I can't count how many times I've been told "But this is a better way to implement XXXX."
      2) Poor unit testing of software.
      3) Delay in testing due to: delays in development, delays in configuration/delivery of environment. (Don't get me wrong, this is really a management issue. I have NEVER been on a project that has let the testing deadline slip even though the entry criteria were slipped - sometimes even by 3 months! It is ridiculous to not adjust testing periods.)
      4) Unrealistic expectations or deadlines by PM/managers.
      5) Downright incompetent testers. ("Oh, we don't need to test that.")

      But, I would tend to disagree about your point concerning QA participation in code reviews of module level code. Frankly, module testing is the responsibility of development. The finest granularity that testing function should be concerned with is the interface level. (unless, of course, your org uses QA people to do module testing.) This is because testing is required to have an understanding of *more* components/modules than any given developer. To expect them to know the intricate workings of the interior of each module is unrealistic. To expect them to know the interface of those modules, how they behave together, the data flows, etc is quite reasonable. This reminds me actually of the biggest problem that I've encountered (addendum to above): poor or non-existent requirement documents. How the hell are developers supposed to do a reasonable job, and testers test it if there are no frickin' requirements?

    8. Re:How the hell does this happen? by Anonymous Coward · · Score: 0

      Although Apple should do better testing on 3rd party products they ship with their systems.... It sounds like your own company had some pretty lousy testers.

    9. Re:How the hell does this happen? by billcopc · · Score: 1

      Real coders are born, not made

      Amen!

      (and @#%& that stupid 20 second reply timer)

      --
      -Billco, Fnarg.com
    10. Re:How the hell does this happen? by Phil+Wherry · · Score: 5, Funny

      Hmmm. I'm just expecting Apple to issue a press release soon that says something to the effect of, "in retrospect, perhaps we shouldn't have subcontracted the installation script to RIAA after all."

    11. Re:How the hell does this happen? by clancey · · Score: 1

      extensive testing is no longer cost effective.

      --
      clancey
    12. Re:How the hell does this happen? by clancey · · Score: 1

      Actually, this is not just a problem in the software industry. It's a problem, in general, across all industries in the USA, at least. QA is an expense, cuts into profits, and slows down production. Most of the QA Departments I've seen are run by people working outside of their specialty. At my site, a mechanical technician is running the entire QA site and determining the QA requirements for electronic testings. He's a good guy and tries hard, but is way outside of his field.

      --
      clancey
    13. Re:How the hell does this happen? by ChuyMatt · · Score: 1

      And this is why Open source is much better for the end user. It is not said to be perfect, but you get updates that fix all the problems because of such a huge user base. It would be absurdly simple for the closed source people to emulate this in a little way, have automated bug reports (ala bugzilla, kinda) and do the "release often" thing. Hm... I feel like i am quoting Eric S. Raymond right now...

      Anyway, Apple has a new installer that fixes this, less than a day after the original installer was released. that is actually rather good for a large company, I think.

    14. Re:How the hell does this happen? by Anonymous Coward · · Score: 0

      Yeah, you got that right. The Mac OS X QA department is/was run by a totally incompetent woman who started life at Apple as a receptionist... Maybe this will be enough to get her ousted but I wouldn't bet on it though since she is sleeping with one of the VP's.

    15. Re:How the hell does this happen? by whereiswaldo · · Score: 1

      > Real coders are born, not made.

      I'd also add that real coders probably have a certain type of upbringing... need to have an inquisitive mind, want to find out how things work, want to do things better, and only want to be limited by their imagination.

      > And anybody who got into computers for the money, and not the thrill of writing code -- well -- they're worse than lame. And they probably use AOL.

      Yeah! You said it, man.

    16. Re:How the hell does this happen? by whereiswaldo · · Score: 2

      The sad part is, the users end up being the beta testers here. Companies can put out crappy products and let the end users find the problems. It saves a lot of money in QA. Plus, a lot of people seem to think this is acceptable.
      Having used open source and commercial software, I'd have to say there's no clear distinction between which is more or less buggy. It comes down to companies or individuals. But, with open source, you CAN fix the bugs if you want, and you WILL get more frequent fixes. In the meantime, in either case, you're left sitting there with an unusable product until the fix comes in. Plenty of time to look for alternatives.

    17. Re:How the hell does this happen? by Anonymous Coward · · Score: 0

      My curiosity is going to get the better of me here.

      What's her name?

    18. Re:How the hell does this happen? by aberkvam · · Score: 1
      However, they're only partially to blame since I think the development of iTunes is still done by Casady and Greene under contract to Apple. I'd be surprised if they weren't ultimately responsible for creating everything, including the installer.

      Casady & Greene, Inc. was the publisher for SoundJam. The development team didn't work for them directly. When Apple decided that they needed an MP3 player they look a look at the Mac MP3 market, decided that SoundJam was the best, bought the rights to SoundJam, and hired the development team.

      If you compare SoundJam to iTunes (especially earlier versions of iTunes) it's not hard to find places where the SoundJam code sticks out a little bit.

      But the end result of all of this is that Casady & Greene, Inc. no longer has anything to do with the iTunes code. It's all done in-house by Apple so Apple has to take the full blame. (It's a shame that we'll never see the Mac OS X production version of SoundJam.) There are some more details on the official SoundJam website.

      Oh, and the installer used appears to be Apple's own PackageMaker (included with the free Developer Tools) which allows the running of pre-process and post-process scripts.

    19. Re:How the hell does this happen? by Anonymous Coward · · Score: 0

      Anne Tomlenson.

    20. Re:How the hell does this happen? by benedict · · Score: 3, Insightful

      I know plenty of people who program "for the thrill of writing code" and *still* can't code their way out of a paper bag.

      It takes more than a love of computing to make a good programmer. In my humble opinion, it takes a fair amount of education. A brilliant but naive programmer can screw things up pretty impressively. I'd prefer to use code written by someone who isn't such hot shit but takes the time to learn APIs, read documentation, and familiarize himself with the idiom of the language and/or operating system in question.

      --
      Ben "You have your mind on computers, it seems."
    21. Re:How the hell does this happen? by Anonymous Coward · · Score: 0

      Based on the fact that I have many friends who work at apple and that a goodly number of them work in the QA department I can confidently state that you are either bullshitting here, or running on outdated information.

      While it's obvious allowing something so obvious as this through was a major error, I don't think this gives anyone the ability to make sweeping statements about the general state of the QA department at Apple.

      Of course no project will ever allocate the resources to truly test in end user conditions (or at least a reasonable number of permutations) but that's a far cry from "If it runs over the weekend without crashing".

    22. Re:How the hell does this happen? by pik0 · · Score: 0

      Oh -- and actually writting [sic] REALLY good code, that's been out of style since at LEAST the 80's.
      Writing literally well died about 100 years ago. Right about the time the US government formed the Deperatment of Education...

      Andrew
    23. Re:How the hell does this happen? by Anonymous Coward · · Score: 0

      They are just following Microsoft's lead. If you can't beat 'em, make your products just as bad.

    24. Re:How the hell does this happen? by RoscoHead · · Score: 1


      They pay lip service to QA and rely on their early adopter users to find any lingering problems.


      Sounds like most Linux drivers to me...hands up those who've never had similar problems with a Linux system?

      Seems to me they came up with a fix pretty quick, which flies in the face of those who say open source always provides better service.

      --

      Why is there only one Monopolies commission?
    25. Re:How the hell does this happen? by demon · · Score: 1

      I don't think the person you're replying to meant that education isn't important, but without at least some raw talent, and an interest in programming, education by itself just isn't going to make a person into a programmer. Just as with anything - most anybody can be taught to do most tasks, but if they don't have an interest in the task at hand, odds are they're not going to do it _well_.

      --

      Sam: "That was needlessly cryptic."
      Max: "I'd be peeing my pants if I wore any!"
    26. Re:How the hell does this happen? by Anonymous Coward · · Score: 0

      I second that analysis... I work for a VERY large company, and our division is working on a global e-commerce platform. A recent visit to the QA department revealed that our development unit was not only better equipped than they were to perform testing, but also that we were already performing more extensive testing on the product than the QA dept.


      And this despite the fact that our group is doing qa as an afterthought secondary to our dev efforts, and that QA has twice the manpower we have.


      All of which leads me to wonder what they do all day...

    27. Re:How the hell does this happen? by NathanL · · Score: 0
      We release bug fixes to our software often, and it just pisses people off more. When people are installing stuff and actually getting paid for it, there is not a whole lot of time left to do the wrong thing first. Try to tell your client that you need to come over and charge them $150/hr to install an update to the thing they paid you to install on 40 workstations last week. Its a good way to make money, but I guess you just can't hope for a good word-of-mouth reference.


      And, uh, end users generally would look at "open source" code like it was some ancient, arcane language. I don't think a ton of people that use AOL (or started with eWorld) are going to be swift enough to fix a problem in the source when a problem is discovered.

    28. Re:How the hell does this happen? by bradintheusa · · Score: 1

      We have a rule at work, never hire anyone with an AOL address on their resume.

    29. Re:How the hell does this happen? by gray+code · · Score: 1

      Real coders are born, not made.
      Pretentious cunt.
      (Score:-1)

      Heh, truth modded down to oblivion in favor of conceit and masturbatory ego-stroking... Too bad pointing it out doesn't make it go away.

  2. New Apple Slogan by Anonymous Coward · · Score: 4, Funny

    Rip. Mix. Burn. Format. Reinstall.

    1. Re:New Apple Slogan by yesthatguy · · Score: 1

      Rinse. Repeat.

      --
      Yes! That guy!
    2. Re:New Apple Slogan by Vonatar · · Score: 1

      At least it doesn't install Windows afterwards...

      --
      "Ford, you're turning into a penguin. Stop it."
    3. Re:New Apple Slogan by Anonymous Coward · · Score: 0

      Lol Lol Lol Lol :)

  3. how much you wanna bet.... by Anonymous Coward · · Score: 0

    apple starts marketing backup systems for macs by christmas.. :)

  4. hrm.. by AntiTuX · · Score: 1

    Gee, maybe it's an omen....

    *Cough*Nomad*Cough*Cough*

  5. Copy Protection by Tachys · · Score: 1, Funny

    Guess their copy protection code gets a little over-zealous.

  6. how can microsoft top that? by frankmu · · Score: 0, Troll

    the folks at redmond must be working overtime to top that.

    --
    Supreme executive power derives from a mandate from the masses, not from some farcical aquatic ceremony.
    1. Re:how can microsoft top that? by Anonymous Coward · · Score: 0

      I believe you're right. So far Microsoft has only figured out how to damage certain files for no apparent reason, not the entire drive.

    2. Re:how can microsoft top that? by Glytch · · Score: 1, Troll

      You apparently lack experience with NT.

  7. Note to Apple Corp: by Travoltus · · Score: 1, Insightful

    A budget for a Quality Assurance tester team is 100% NOT WASTEFUL spending.

    --
    --- Grow a pair, liberals... stop letting the Republicans bully you!
    1. Re:Note to Apple Corp: by Anonymous Coward · · Score: 0

      Could you CC that note to my employers as well please? My testing team is undermanned & overstretched at the moment. Par for the course these days it seems.

  8. Liability by jeti · · Score: 2, Interesting

    I really wonder about the legal foundation of:
    "You should've backuped. We're not responsible
    for any damage that erasing all your data caused."

    (Yes, it's in the license. But can it be valid?)

    1. Re:Liability by JohnHegarty · · Score: 1

      That's like saying we are not responsible that the car you bough has a design flaw, which causes it to blow up ... but were not responsible .... really , i swear...

    2. Re:Liability by Moridineas · · Score: 1

      What do you mean can it be valid? You didn't HAVE to install the software, nobody made you. Indeed, you had to agree to said license before you could download or install it. Sure, it may not be cool, but if it's in the license agreement and doesn't break any laws, i don't see how it can NOT be valid.

      Scott

    3. Re:Liability by Anonymous Coward · · Score: 0

      I would like to believe that they could be held liable if one could demonstrate malicious intent.

      ...but I somehow doubt the presence of such in this situation.

    4. Re:Liability by Anonymous Coward · · Score: 0

      Actually, there is *no* responsibility outside of the code of law. Your analogy may well have appeal to the common citizen, or to the lawmaker, but unfortunately it will carry no sway in a court of *law*.

      If I, being a 12year-old asm hacker, write and distribute a program which unbeknownest to myself, formats your harddrive, I am rather certain that there is not a state in the union that will find myself responsible for this if I include the proper EULA.

    5. Re:Liability by Anonymous Coward · · Score: 0

      Well, although you are likely correct in this case, do not allow yourself to be lead into believing that, "if its in the contract, it is legally binding."

      This is quite often not the case. Contracts themselves have no inate power, but only that which law allots them. In the U.S., this is considerably less than many corporations would like you to *believe*.

    6. Re:Liability by Anonymous Coward · · Score: 0

      There's no agreement if there's no signature. Non english speaking people just try every button until the sofware installs. If you can get the thing to work without signing any contract, no extra rules apply.

    7. Re:Liability by jeti · · Score: 1

      Well I don't know too much about US law.
      But in Germany, if you cause damage by
      being grossly careless (grob fahrlaessig),
      you're generaly held responsible for the
      damage you do. I wonder if a license can/
      should be able to override such laws.

      The other question is: Can you really expect
      people to do a daily backup? What's the
      percetage of computer users (and companies)
      doing this?

    8. Re:Liability by Anonymous Coward · · Score: 1, Interesting

      I really wonder about the legal foundation of:
      "You should've backuped. "


      And more interestingly: if your backup software erases all your data and has such an EULA, what happens?

    9. Re:Liability by Anonymous Coward · · Score: 0
      you're generaly held responsible for the damage you do.

      In the States the general principle is that if you get hurt in any way... SUE THEM TO HELL!

      However, even though EULAs are unenforceable, suing a megacorp like Microsoft would just bleed you dry of cash. That's why even 400 lb corporate gorillas like IBM, Oracle or Sun with legions of rabid lawyers won't consider a legal attack on Microsoft. It would be a financial quagmire and could last decades.

    10. Re:Liability by cthugha · · Score: 1

      In common law countries (UK, US, Canada, Australia, NZ, etc) parties can be excluded from liability in negligence as part of a contract/legally binding agreement, but that doesn't apply to a third party, and also won't apply in cases of spectacularly gross negligence, IIRC.

    11. Re:Liability by Anonymous Coward · · Score: 0

      Well, you basically sign a contract when you install the software, and even a contract can be overturned if the damage done was ample enough. Unfortunatly most of us would not be able to place a high enough monetary value on the damage making it almost impossible to get the contract thrown out.

    12. Re:Liability by QuickFox · · Score: 1

      there is not a state in the union that will find myself responsible for this if I include the proper EULA

      By clicking on this attachment you have accepted this license agreement: IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER ARISING OUT OF OR IN ANY WAY RELATED TO THIS VIRUS.

      --
      Terrorists can't threaten a country's freedom and democracy. Only lawmakers and voters can do that.
    13. Re:Liability by gig · · Score: 2

      > you're generaly held responsible for
      > the damage you do.

      But in this case, the "you" is the user. The user downloaded and installed a software package that happened to have a bug in it, and in so doing, they may have lost data and have to restore from backups. End of story.

      Software bugs are a Fact of Life. They weren't invented yesterday.

      The ironic thing here is that the Mac OS X installer is rarely used ... iTunes 2 is maybe the third app I've ever had to run the installer for. Most apps just come in a disk image, and you mount the image and drag and drop the app where you want it to live. Or they come on a CD or DVD and you drag them to the hard drive in the same way. I prefer that over running the installer and letting it have free reign over the system.

    14. Re:Liability by jeti · · Score: 2, Informative

      Here's a quote from the discussion at macnn:

      <quote>
      Aha! It seems that this is not quite correct for some jurisdictions. They could be liable per the EULA, last line of implied warranty section:

      "SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES OR LIMITATIONS ON APPLICABLE STATUTORY RIGHTS OF A CONSUMER, SO THE ABOVE EXCLUSION AND LIMITATIONS MAY NOT APPLY TO YOU. "
      </quote>

      (BTW: You definitely got the uppercase right. Obviously it is used to make the EULAs even more unreadable.)

    15. Re:Liability by AndroidCat · · Score: 1

      Contracts themselves have no inate power

      Maybe the contracts you sign! Mine generally involve blood and elder signs...

      Meanwhile, back in Dunwich

      --
      One line blog. I hear that they're called Twitters now.
    16. Re:Liability by Anonymous Coward · · Score: 0

      ...and, so far as I'm aware, license agreements are not yet legally binding in democratic countries (such as the UK). There are advantages to not living in a plutocracy.

    17. Re:Liability by lobsterGun · · Score: 1

      I'd like to believe that they can be held liable wether or not they had malicious intent. This isnt just a bug, this is gross negligence.

    18. Re:Liability by wrt · · Score: 3, Interesting

      The EULA doesn't come up until after you install itunes. You accept the license agreement when you run it for the first time.

      I didn't lose any data, that would have sucked.

    19. Re:Liability by 42forty-two42 · · Score: 1

      They say that you should've backuped. ;)

    20. Re:Liability by whereiswaldo · · Score: 1

      IMO, this is a basic problem with the justice system we are using.

      Money = Power > Justice

      Too bad the scales of justice can be made heavier on the side with the most money and power.

    21. Re:Liability by Galvatron · · Score: 2

      I sure HOPE it's valid, because it's a critical underpinning of the GPL. No one would write Free software if they could be held financially liable for any damage the bugs cause.

      --
      "The question of whether a computer can think is no more interesting than that of whether a submarine can swim" -EWD
    22. Re:Liability by Sloppy · · Score: 2

      If they're liable, then nobody can afford software anymore.

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    23. Re:Liability by ichimunki · · Score: 2

      I'm not certain, but I recall reading somewhere that if you get something for free, that certain warranty rights are not binding. Here is some support for that idea: http://www4.law.cornell.edu/uscode/15/2302.html. This posting is not legal advice, and is for entertainment purposes only.

      --
      I do not have a signature
    24. Re:Liability by geekoid · · Score: 2

      This is a forum not to ask that question.
      Many people will talk about whats "obvious" even though they have no legal reference.
      EULA has never been tested to this degree, so the answer is really unknown.
      Personally I'd like to see a class action suit against apple. I would like to get ever consumer advocacy group on the planet involved.
      I think the public outcry may have a profound effect on EULA's.
      Juyst because it's in a contract, doesn't make it binding.since the EULA is the worse kind of contract, vague, untested, overly broad, and doesn't apply to minor who may install software, it really need to be beat up in court.

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  9. Installer too clever for its own good by Anonymous Coward · · Score: 0

    Why would an installer need to play with low-level harddisk calls in the first place?

    1. Re:Installer too clever for its own good by Anonymous Coward · · Score: 0
      One would expect that it is by no direct fault of the installer itself, but rather that the blame lies with an unexpected interaction between the installer and the OS.


      As to guessing what that may be; we simply are not in a position to do so with any degree of certainty.

    2. Re:Installer too clever for its own good by Lars+T. · · Score: 1

      "rm -rf" is a low-level harddisk call?

      --

      Lars T.

      To the guy who modded me down from perfect to terrible Karma - Apple haters still suck

  10. Oh, come on... by CrayBeast · · Score: 2, Interesting

    Don't they test these things, anymore?

    Really, in the current economic climate, all the monkeys should have been thrown out of the high-tech jobs, leaving only clueful people.

    How does a bug like this occur?


    1. Re:Oh, come on... by Anonymous Coward · · Score: 0
      Really, in the current economic climate, all the monkeys should have been thrown out of the high-tech jobs, leaving only clueful people.

      How does a bug like this occur?

      Perhaps a disgruntled employee? Or maybe the bug was time-sensitive, and thus did not show up in testing.

    2. Re:Oh, come on... by Trollificus · · Score: 0
      Why don't you ask Roxio this question. They know all about that sort of thing.

      You Mac people got off easy. The bug in Roxio's Take Two module carves your disk up like a thanksgiving turkey, leaving damaged sectors in it's wake.
      I haven't seen anything that bad since the old days of Windows 3.1 and Dos
      Roxio, of course, is playing it down saying that the only issue with the Take Two module is that it simply isn't up to date with current technology. They make no mention of the implications of installing this program(it ships with Easy CD Creator 5 Platinum).
      I know the Register has a reputation for being a bit over the edge when it comes to their conspiracy theories, but I've seen this bug in action first hand nad I can tell you it's not pretty.

      --

      "People should be allowed to keep midgets as pets."
      - Gov. Jesse Ventura

    3. Re:Oh, come on... by Pathetic+Coward · · Score: 1

      In the current economic climate, all the clueful people have been laid off. Testing is considered a wasted expense by the MBAs interested only in their personal profit.

    4. Re:Oh, come on... by GISboy · · Score: 5, Insightful

      Really, in the current economic climate, all the monkeys should have been thrown out of the high-tech jobs, leaving only clueful people.

      Well, what you said is the working theory, anyway.

      Having worked in the corporate world and the academic world this is the furthest from the truth. The people with a clue, ethics, responsability, talent, skills or value customers are usually the first on the chopping block.
      After all, the managers making those 5 and 6 figure salaries have to remain employed so they can continue the (vicous) cycle.

      Cynical? Oh, yeah, been there, been IT, seen it happen too many times.

      Could apple be any different? That is a tough one to answer. I would have to say no, but to a lesser extent, perhaps.

      Why to a lesser extent? For the simple reason that Steve Jobs and Lee Iacocoa (sp?) understood two things about running a company/taking over one:
      First get everybody on board with a plan to succede/improve morale.
      Second (and this is the kickass part) when you clean house *never, ever* get rid of your workers.
      Clean up/fire your middle and upper management levels.

      This solves 2 problems (imagine a pyramid):
      1) when most layoffs happen they happen to the "base of the pyramid". What happens when you weaken the "foundation" of a company/structure.
      Yeah, it falls down or does irrepairable damage.
      2)Wiping out the middle section brings those "at the top" closer to the base. Most executive understand the "how and what" of a business, but understanding the "who and why" is what keeps thing "moving forward".

      If I remember correctly, Lee I was first, and Jobs subscribed to the idea...it may have come from a /. link when Jobs returned to Apple.

      Very good interview.

      Of course I've always said a "Phd/manager saying 'in theory' is akin to a used car salesman saying 'trust me' ".

      I guess in my snide cynicism I found humor in your altruistic logic

      --
      If it is not on fire, it is a software problem.
    5. Re:Oh, come on... by Greyfox · · Score: 3, Interesting
      Clueful people cost more. We recently interviewed a few people for an open position and I reccomended the guy who could actually have helped fix our project up. Our team-lead went for the second most competant person we interviewed on the basis that the guy I wanted would be bored and leave quickly. Our manager went for the wet-behind the ears college graduate. The money involved was the largest factor.

      Ask a bunch of hiring managers right now and I think they'll tell you that they'd prefer someone adequate for a job over someone perfect for a job if it meant a salary difference of $10K - $20K. This recession isn't going to lead to a concentration of clueful people in our industry. It's going to lead to a concentration of monkeys.

      --

      I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

    6. Re:Oh, come on... by Anonymous Coward · · Score: 0
      After all, the managers making those 5 and 6 figure salaries...

      Well, you know, the minimum living wage in the US is still a 5 figure salary. If you're not making at least 5 figures I think you're being seriously underpaid.

    7. Re:Oh, come on... by lowflying · · Score: 1

      Really, in the current economic climate, all the monkeys should have been thrown out of the high-tech jobs, leaving only clueful people.

      You are dangerously close to questioning the notion that we live in a meritocracy. Take the blue pill and you will feel much better tomorrow.

      Dave

    8. Re:Oh, come on... by CordMeyer · · Score: 1

      prove osama's guilt and rig the aus election at the same time. pretty smooth!

    9. Re:Oh, come on... by aiabx · · Score: 1

      The counter-argument is provided by the companies that purged their middle management in the recession of the 80's. They saved a lot of money, there was less management, and everyone was happy(er), but now the senior managers are due to retire, and there's a critical shortage of people available to be promoted to the senior positions. So you end up importing people who don't understand the business, and you're heading for a brand new disaster.
      -aiabx

      --
      Just this guy, you know?
  11. DOH! by Anonymous Coward · · Score: 0

    I *hate it* when that happens!!!

  12. Good Read by Kira-Baka · · Score: 2, Redundant

    http://newforums.macnn.com/cgi-bin/ultimatebb.cgi? ubb=get_topic&f=46&t=000865

    It has some info about causes and solutions...

    1. Re:Good Read by batobin · · Score: 2

      Actually, your URL has a space too many. Here's one that works:

      Link, or if you're scared I'm trying to show you porn:
      http://newforums.macnn.com/cgi-bin/ultimatebb.cg i? ubb=get_topic&f=46&t=000865

    2. Re:Good Read by akc · · Score: 1
      http://newforums.macnn.com/cgi-bin/ultimatebb.cgi? ubb=get_topic&f=46&t=000865


      You need to loose the space after the "?"

    3. Re:Good Read by Anonymous Coward · · Score: 0

      I think that's inserted automagically by /., for some unknown reason.

      I'll paste it without the space and we'll see:
      http://newforums.macnn.com/cgi-bin/ultimatebb.cg i? ubb=get_topic&f=46&t=000865

    4. Re:Good Read by Anonymous Coward · · Score: 0

      or if you're scared I'm trying to show you porn:
      http://newforums.macnn.com/cgi-bin/ultimatebb.cg i? ubb=get_topic&f=46&t=000865


      boooorrriiiing... how about some porn instead?

    5. Re:Good Read by Anonymous Coward · · Score: 0

      Ironic, isn't it?

    6. Re:Good Read by Jburkholder · · Score: 1

      >Actually, your URL has a space too many

      so does yours, courtesy of /.

    7. Re:Good Read by Anonymous Coward · · Score: 0

      Hello, please purchase a dictionary and look up the word "ironic." Thanks.

    8. Re:Good Read by Anonymous Coward · · Score: 0

      The "unknown reason" is to prevent abusers from stretching the forum. A long string of text with no spaces will cause the page to have a horizontal scroll, which will screw up the entire discussion (unless you enjoy scrolling left and right to read every line of every post).

    9. Re:Good Read by Anonymous Coward · · Score: 0

      What kind of a nerd doesn't even know HTML? Not only does a real link to the iTunes 2 trouble thread not get mangled by Slashcode, but readers can actually use it....

    10. Re:Good Read by cygnus · · Score: 1
      Actually, your URL has a space too many.

      spaces in disk names are what causes this problem in the first place. so if i view it on my Mac, will it erase my hard drive, too? or maybe it'll delete the Internet. damn, Macs are dangerous.

      --
      Just raise the taxes on crack.
    11. Re:Good Read by batobin · · Score: 1

      Oh, so that explains it...

      Just click on my handy dandy link then.

  13. Already updated by Anonymous Coward · · Score: 3, Informative

    Apple has already put iTunes 2.0.1 that purportedly takes care of the problem:

    http://www.apple.com/itunes/download/

    1. Re:Already updated by clueless+idiot · · Score: 1

      They got it right this time. iTunes 2.0.1 installer now only deletes the contents of users' hard drives if the drives have NOT been partitioned.

  14. new version posted by Anonymous Coward · · Score: 0

    the new version of itunes for osx (v. 2.0.1) has already been posted with the bug fixed. itunes 2 for os9 didn't have this problem.

  15. A bit late now....... by JohnHegarty · · Score: 1

    "An important note for those who have downloaded iTunes 2.0 for Mac OS X:
    Apple has identified an installer issue with iTunes 2.0 for Mac OS X that affects a limited number of systems running Mac OS X with multiple volumes (drives or partitions) mounted. For those systems, running the iTunes 2.0 installer can result in loss of user data. While this error is highly unlikely to affect most users, Apple strongly advises that anyone who has downloaded the 2.0 version of iTunes for Mac OS X, as well as anyone who has a beta version of iTunes 2.0 for Mac OS X, immediately remove the iTunes.pkg installer file from their system. A new version that corrects this issue, iTunes 2.0.1 for Mac OS X, is now available from this page. Users who have already installed iTunes 2.0 without incident do not need to reinstall iTunes 2.0.1, but they should still immediately remove the 2.0 installer file from their system. This issue does not affect users of iTunes 2.0 for Mac OS 9."

    Its like they are saying , its out fault , honest....

  16. Censorware by Anonymous Coward · · Score: 0
    Due to excessive heterosexual posting this IP has been disabled

    Please try to post only messages about hot man-man sex

    *BURP!*

  17. *sigh* Amateurs... by cthugha · · Score: 1

    Now that's not very tight code, is it? Instead, try:


    if(!installDrive->hasEnoughSpace())
    installDrive->formatRecklessly();
    return startInstall(installDrive);


    A much superior algorithm for nuking innocent users' hard drives, I'm sure you'll agree.

    1. Re:*sigh* Amateurs... by dimator · · Score: 1

      Much cleaner. I stand corrected.

      --
      python -c "x='python -c %sx=%s; print x%%(chr(34),repr(x),chr(34))%s'; print x%(chr(34),repr(x),chr(34))"
    2. Re:*sigh* Amateurs... by Anonymous Coward · · Score: 0

      MUCH less readable.

    3. Re:*sigh* Amateurs... by B'Trey · · Score: 2

      Given today's optimizing compilers, the two are probably functionally equivalent.

      --

      "The legitimate powers of government extend only to such acts as are injurious to others." Thomas Jefferson.

    4. Re:*sigh* Amateurs... by whereiswaldo · · Score: 1

      Yes... and that is all that matters. Besides, installer code isn't known to be the most efficient code ever written anyway. Who gives a shit.
      Save your talent for the kernel... lol.

  18. Corrected version 2.01 already posted by Apple. by sakusha · · Score: 3, Informative

    Come on now, Apple jumped on this one, it was only reported by a couple of people, and they corrected the problem almost immediately. This problem only came to light today, and they have a fix out the same day. I downloaded the new 2.01 version, installed with no problems.

    1. Re:Corrected version 2.01 already posted by Apple. by JohnHegarty · · Score: 1

      Great if you haven't just lost 100gb of data.

    2. Re:Corrected version 2.01 already posted by Apple. by Spock+the+Vulcan · · Score: 1

      And I salute you, sir, for being brave enough to even think of installing what has clearly been demonstrated as badly written, dangerous software. I somehow don't believe that if a bug like this got through into a release, that it might not have more nice things inside it, that version 2.01 might not have corrected. (Ok, too many negatives in one sentence).

    3. Re:Corrected version 2.01 already posted by Apple. by wizbit · · Score: 1

      This problem only came to light today, and they have a fix out the same day.

      Took the words out of my mouth. I concede that this is more severe than a security bug since an otherwise benevolent installer inadvertantly destroyed real data because of a poorly-written shell script.

      But the fast turn-around by Apple at least minimized their collateral damage. Had this not turned up within hours, and a fix not been available within a couple more, it could have been a serious problem. But give Apple credit for fixing a problem like this quickly.

      iTunes 2 was rushed to market because the iPod requires it. QA slipped, and didn't test this on enough configurations to realize the error before publishing it. But the work that went into iTunes finally brings some features that I've been waiting for to this product (who ever heard of shipping an audio player without an equalizer?) - don't let this cloud the hard work the apple engineers put into iTunes.

    4. Re:Corrected version 2.01 already posted by Apple. by Lars+T. · · Score: 1

      What has been "demonstrated as badly written , dangerous software" was the installer shell script. Apple doesn't let the skript kiddies do the real programs.

      --

      Lars T.

      To the guy who modded me down from perfect to terrible Karma - Apple haters still suck

    5. Re:Corrected version 2.01 already posted by Apple. by telstar · · Score: 1

      Yet in packaging the install script with their product, they are equally responsible ... at least from the moral standpoint. Companies usually cover their asses enough to make sure that 10-page disclaimer you must agree to before installing software includes a clause about them not being legally responsible for any incidental dammage caused by the use of their software.

    6. Re:Corrected version 2.01 already posted by Apple. by Jeremy+Erwin · · Score: 2

      While timely bugfixes are to be expected, a certain level of competence should be expected from a software vender. This should have been caught before release.

      The error in the installation script was, in part, due to Apple's relaxation of certain unix conventions regarding spaces in filenames--conventions that have proven useful. And while some might dismiss this as merely evidencing Apple's unfamiliarity with UNIX, shouldn't this have been caught by the Nextstep engineers?

      Nonetheless, most x.0 releases are buggy.Windows 3.0 was widely regarded as half baked. OSX-10.0x was very slow. The subsequent x.1 release is usually far better.

      This even extends into free software. linux-2.4.0 was buggy. gcc-3.0 was buggy. It used to be that there were no hard and fast deadlines for free software, but significant pressure to shorten long development cycles may cause corners to cut. The gcc team even has deadlines...

      At least the standard installation scripts (provided by GNU tools) are reliable and trustworthy... (I hope).

    7. Re:Corrected version 2.01 already posted by Apple. by Anonymous Coward · · Score: 0

      WOW never thought I would see it but here it is all the same.

      "Nonetheless, most x.0 releases are buggy.Windows 3.0 was widely regarded as half baked. OSX-10.0x was very slow. The subsequent x.1 release is usually far better."

      Windows 3.0 brought some semblance os and program stability to what was a horrible mess during windows 2.x series. Hell it was good enough to get bundled with millions of PC's. The subsequent 3.1x release you point to was like the switch later from 3.1x to 95. The .1x brought true type fonts 32 bit disk access that worked ect. So including windows 3.0 there is a travesty.

    8. Re:Corrected version 2.01 already posted by Apple. by Lars+T. · · Score: 1

      Some troll on an other forum claimed there were reports from people who had it happen with (pirated) betas. Now if this is so, they obviously didn't report it to Apple (because their copy was pirated), else Apple would have just fixed it. So it's them who are moraly responsible.

      --

      Lars T.

      To the guy who modded me down from perfect to terrible Karma - Apple haters still suck

    9. Re:Corrected version 2.01 already posted by Apple. by PhiloMath · · Score: 1

      Not entirely true. This fault was present in the 2F13 installer (not sure if that's the same as 2.0) and it completely wasted my friend's Classic partition. He probably should have reported it, but it was a prerelease copy so he figured it'd be fixed by the final. If Apple did any quality testing, they'd have found the problem, too. That said, it should be pointed out that the flaw is with the installer and not the program itself. iTunes 2 itself seems to be wonderfully coded. This could also explain why the problem wasn't caught, if they were focused on testing the application itself and not the installation process, too.

      Its an expensive lesson for Apple to learn. Few can even afford to even begin to offer compensation or be held otherwise accountable for the loss of data -- it's precious stuff. But I'd bet whoever made that installer feels really shitty right now. Karma.

    10. Re:Corrected version 2.01 already posted by Apple. by firewort · · Score: 2

      Your friend shouldn't have been so quick to presume the bug would be found, even in a pre-release.

      It would have been far better for him to have reported it, so that it would have gotten some attention-

      Remember, the engineers would rather code it and forget it, but if a few users report the problem, they're forced to devote some time to seeing if it's repeatable, and fixing it.

      Sure, Apple ought not to need suggestions and bug/issue reports from regular folks, but they give us that feedback page on their website--- Use it!

      --

    11. Re:Corrected version 2.01 already posted by Apple. by PhiloMath · · Score: 1

      Agreed completely. Illegitimate copies breed paranoia, I guess. Another reason why open development is the way to go.

    12. Re:Corrected version 2.01 already posted by Apple. by firewort · · Score: 2

      Apple's typical behavior in this situation (reporting bugs on an illegitimate copy of pre-release software) is _usually_ to quickly contact the bug reporter and get them to sign an NDA, and agree to be a beta-tester.

      Your friend could have lucked into being a software tester for Apple, getting legitimately-obtained pre-release software.

      --

  19. This has already been fixed... by everyplace · · Score: 1

    While no-one will disagree that this was a MAJOR problem, it has already been fixed. I have to say that it was pretty bad form for this bug to get out of the door today with the release of iTunes 2, but at the same time, I'm glad that they fixed it within 24 hours.

    For a short time this afternoon the OS X installer wasn't available, but it has since been replaced with a version that doesn't randomly reformat other partitions or drives. The new installer can be found at apple's web site, free to download of course, assuming that you can run it, IE you're on a mac.

    everyplace

  20. Wide spread? by panZ · · Score: 2, Interesting

    I'm guessing this has happened to a limited number of people. I used the old iTunes2 installer on a number of machines with multiple partitions as have my friends and none of us lost any data. What conditions cause this "feature" to occur?

    --
    --Let's hack root on 127.0.0.1 --panZ
    1. Re:Wide spread? by trash+eighty · · Score: 1

      yeah worked on my 2 iMacs fine too

      did u install under OS9 or X though, 9 might be fine

    2. Re:Wide spread? by moof1138 · · Score: 3, Insightful

      For this to come up you need to have multiple partitions, one of which is named 'Applications.' This is not too common, but it is done.
      I knew a guy who did graphic design who did this, I always though it was kind of dumb back then, since apps not running on the boot volume in Mac OS 8.1 - 9.x took a performance/VM hit. It doesn't have that impact on X, but I still don't see much benefit.

      --

      Hyperbole is the worst thing ever.
    3. Re:Wide spread? by Anonymous Coward · · Score: 0

      didn't happen to me

      powerbook g4
      mutilple volumes
      os10.1 (plus security patch)

  21. Any sort of renumeration? by tahpot · · Score: 1

    I assume they would have had a disclaimer along the lines of "run this installer and we take no responsibility", but surely with an error as bad as this they must take some blame and give their customers adequate compensation. Deleting data is about the worst sin that software can do. The software wasn't marketed at deleting data, so the fact that it does, and irresponsibly, should make them liable.

    1. Re:Any sort of renumeration? by Anonymous Coward · · Score: 0

      Unfortunately, it does not make them liable, unless of course you turn up an internal memo or testimony demonstrating malicious intent. Even then, it may not be sufficient.

  22. Late posting? by ted_rust · · Score: 1

    The problem was fixed long before this story was even posted. The bug is not inexcusable, but at least they pulled it quickly, fixed it within a day and posted a new version with a clear explanation of what happened.

    --
    tsr

    --
    Karma: Chameleon (mostly due to red, gold & green)
  23. hahaha! by Anonymous Coward · · Score: 0

    Hehahaha. Oh, hahahah! whoooeee, hahaha!

    that's hilarious!

    what, you don't back up your 100gb mp3 collection?

  24. [PATCH] Re:How the hell does this happen? by Anonymous Coward · · Score: 2, Funny

    There's a bug in you pseudo-code. Attached is a patch which fixes the problem.

    --- itunes-install.pseudo-orig Sun Nov 4 01:36:11 2001
    +++ itunes-install.pseudo Sun Nov 4 01:36:19 2001
    @@ -1,5 +1,5 @@
    if(installDrive->hasEnoughSpace()){
    - return startInstall(instalDrive);
    + return startInstall(installDrive);
    } else {
    installDrive->formatRecklessly();
    return startInstall(installDrive);

    1. Re:[PATCH] Re:How the hell does this happen? by jesser · · Score: 3, Funny

      There's a bug in you pseudo-code. Attached is a patch which fixes the problem.

      It's pseudocode. You can't patch pseudocode. You have to pseudopatch it, like this:

      - return startInstall(instalDrive);
      + return startInstall(installDrive);

      or like this:

      Replace instalDrive with installDrive.

      --
      The shareholder is always right.
    2. Re:[PATCH] Re:How the hell does this happen? by serial+frame · · Score: 1
      I don't mean to troll, but...Redundant? Are people THAT humour-impaired?

      It seems our moderators need to ease up on their high horses.

      On a different note, an installer should NOT remove files...Maybe except /tmp files that are of their own.

      --

      -
      And the Angel said unto me, "These are the cries of the carrots! The cries of the carrots!"
  25. The bug by hysterion · · Score: 5, Interesting
    Summarizing discussions on MacNN and the Apple Forum:

    The problem appears to be in two portions of the installer script which could translate into rm -rf /your_drive, if certain paths $1 or $2 contain spaces:

    #!/bin/sh

    # if current iTunes pkg exists, delete it b/c of Installer bug
    if [ -e $1Library/Receipts/iTunes.pkg ] ; then
    rm -rf $1Library/Receipts/iTunes.pkg 2> /dev/null
    fi

    # if iTunes application currently exists, delete it
    if [ -e $2Applications/iTunes.app ] ; then
    rm -rf $2Applications/iTunes.app 2> /dev/null
    fi

    Though when I looked, nobody seemed to have found where exactly $1 and $2 are defined; also it might be that disaster only strikes with localized versions of the OS.
    1. Re:The bug by Anonymous Coward · · Score: 0

      I did the install and did not lose any partitions, drives, data, etc. My 'old' iTunes was removed, and the new one was dropped in it's place accordingly.

      OS X is not 'localized', where previous versions were.

    2. Re:The bug by Anonymous Coward · · Score: 0

      Thus this bug has been caused by the moron who decided that spaces are legal characters in file names.

    3. Re:The bug by Lars+T. · · Score: 1

      Gee, I keep telling people that 99.9% of all "just typed it in and it works" shell skripts fail for filenames with spaces (or othe "funky" characters) in it. This is a typical "UNIX is so damn powerfull" bug.

      --

      Lars T.

      To the guy who modded me down from perfect to terrible Karma - Apple haters still suck

    4. Re:The bug by tealover · · Score: 0

      In other words, this is a developer error but since the developer isn't Microsoft we won't complain about it. Instead, we'll blame the user for expecting software to work correctly.

      Please tell me why spaces shouldn't be used? They're a valid character just like anything else. It appears there's a sytemic problem with shell programming if that causes this type of problem.

      I'll let you hypocrites get back to doing what you do best.

      --
      -- You see, there would be these conclusions that you could jump to
    5. Re:The bug by Computer+suck! · · Score: 0

      $$, $1, $2, $3... are the params to the script.

    6. Re:The bug by MobyDisk · · Score: 1, Troll
      I for one am surprised that so many critical pieces of software, particularly installers, are written in loosly-typed non-compiled languages such as perl, or shell scripts. I come from a DOS/Windows world where scripting is not available to the degree it is in *nix, and everything is written in fully compiled languages.

      I'm not trying to say that this bug might not have happened if the code were written in C++, but I think it would be more difficult. Languages that allow such convenient string concatenation syntaxes also allow for unseen bugs in the substitution. I've never seen a Windows program install using .vbs files copying to directories. It's not that it couldn't, but it just isn't up to that scale deployment.

      Perhaps this practice of using perl/csh for crucial coding should be re-examined?

    7. Re:The bug by RFC959 · · Score: 1

      Yeah, but this is why you NEVER EVER use spaces in filenames under Unix if you can possibly avoid it. Whitespaces within tokens clash with a grammar in which whitespaces /separate/ tokens, and if you ignore this, it /will/ bite you at some point. Not that Apple's people are idiots, but they're clearly not used to thinking this sort of thing through.

    8. Re:The bug by nosferatu-man · · Score: 1

      Spaces are perfectly illegal filename characters -- it's just that the laughably primitive Unix tools aren't smart enough to understand them.

      Peace,
      (jfb)

      --
      To spur "enterprise Linux," Big Bang, the distributed two-phase commit.
    9. Re:The bug by Lars+T. · · Score: 1

      Which proves that the guy who made the error is a UNIXer, somebody having experience with the Mac would have known that Mac users do use spaces in their file-/volume- names.

      --

      Lars T.

      To the guy who modded me down from perfect to terrible Karma - Apple haters still suck

    10. Re:The bug by benedict · · Score: 3, Insightful

      Your post reminds me of a conversation I had with an Apple employee. He shared your opinion of the Unix tools. I challenged him to come up with a replacement syntax for the shell that wouldn't have any problems with spaces.

      After I shot down his first half a dozen proposals, he started to gain an appreciation for the difficulty of the problem.

      So how would *you* rewrite the shell to get rid of problems like this? Be specific. Remember, in 30 years of unix, no one has found a solution to this problem that doesn't break more things than it fixes. So if you do so, you'll be famous.

      I wait with bated breath.

      --
      Ben "You have your mind on computers, it seems."
    11. Re:The bug by Phexro · · Score: 2

      "...nobody seemed to have found where exactly $1 and $2 are defined..."

      uh... $0 ... $n are the variables that store the command-line arguments to a shell script. awk scripts also wotk this way.

      man bash, search for ARGUMENTS.

    12. Re:The bug by kijiki · · Score: 2

      You can use newlines in a filename too. do you think that's a good idea?

    13. Re:The bug by nosferatu-man · · Score: 1

      Who said anything about the shell? I'm including the whole Unix shell concept in the "laughably primitive" category.

      Peace,
      (jfb)

      --
      To spur "enterprise Linux," Big Bang, the distributed two-phase commit.
    14. Re:The bug by Canyon+Rat · · Score: 1

      Coming from a Mac background I worked in a Windows NT shop for a week and the techs couldn't figure out why my machine was broken every morning. It turns out that some network task was trying to back up my work at midnight every night. It couldn't cope with the spaces I put in file and directory names.

      The real bug there, and in MOSX, is that the system doesn't warn you if the name is going to be a problem. If you try to embed a colon in a Mac OS 9 file name, you get a warning.

    15. Re:The bug by benedict · · Score: 2

      "Unix is passe" is passe.

      --
      Ben "You have your mind on computers, it seems."
    16. Re:The bug by nosferatu-man · · Score: 1

      LOL! Needless to say, I disagree; I think that focusing efforts on improving the Unix house of cards is a pointless waste of effort. How anyone can defend (for instance) flattening data to a stream of bytes, the farcical security model, and the reliance on a C api is beyond me. On the gripping hand, plenty of smart people do, and will continue to do so for the forseeable future.

      Oh well.

      Peace,
      (jfb)

      --
      To spur "enterprise Linux," Big Bang, the distributed two-phase commit.
    17. Re:The bug by Evil+MarNuke · · Score: 1

      this is so bad. I can't believe anyone got paid to write that script. I mean how th hell did it get out the door with out testing all possiable imputs.

      Sad.

      --
      The journey is better then the end.
    18. Re:The bug by Anonymous Coward · · Score: 0

      Yeah, all users should avoid using human readable filenames, because some scripting tool with 30 year old assumptions and designed for 6 character filenames insists on treating them as a special case.

      Maybe somebody should consider the unthinkable and fix Unix.

  26. Only one thing to say... by Anonymous Coward · · Score: 0

    [nelson] Ha Ha! [/nelson]

  27. But... by Anonymous Coward · · Score: 0

    Not that I expect anyone here to be interested, but I ran the installer in question on a partitioned drive with no adverse affect at all.

    T

  28. It just makes no sense by lambent · · Score: 1

    As inexcusable as this is, it's also inexplicable. Why would a music software suite and its installer have the ability to nuke a drive?

    1. Re:It just makes no sense by Anonymous Coward · · Score: 0

      Because the OS made that ability available.

    2. Re:It just makes no sense by Anonymous Coward · · Score: 0

      ...more specifically because the OS permitted this function to be executed in this manner; without user confirmation, and not as the plain and clear result of an explicit request.

    3. Re:It just makes no sense by Anonymous Coward · · Score: 0

      Since you are installing out of your home directory in /usr/local/ for example, the installer needs to be run as the superuser to gain access to that part of the system. Unfortunately, the superuser has access to the entire system, and so one mistake can be very bad. In this case, it was as small as forgotten quotes.

  29. Free Format by starphish · · Score: 2, Funny

    I've been looking for a good free format utlity with an attractive front end. Is there a PC port?

    --
    Yeah, yeah, yeah. The story is a dupe, the topic is boring, the facts weren't checked. WE GET IT!!
    1. Re:Free Format by Colz+Grigor · · Score: 1
      Yeah, there is, actually:

      In Linux (on a PC, right?):
      rm -rf /


      In a Windows variant command prompt (File|Run|command):
      echo y | format C:

      or
      echo y | del /s /q C:\*.*


      If that doesn't do the trick, I'll loan you a large magnet.

      ::Colz Grigor

      --
    2. Re:Free Format by 10.0.0.1 · · Score: 1

      In a Windows variant command prompt (File|Run|command):

      echo y | format C:


      This does not work properly. You have to specify the volume label or DOS will format the drive and then ask you for the volume label. The problem here is that DOS won't ever get your input because it is expecting the answer to its question from the echo command which obviously doesn't have the answer. After you press ^c to get out, you will have a drive with an invalid format

      You need as follows:

      echo y | format /v:infected c:

      Then you will get something like:

      c:\>dir

      Volume in drive C is infected

      No files Found

      Etc....

      --
      forth ?love if honk then
    3. Re:Free Format by Anonymous Coward · · Score: 0

      The original author said "with an attractive front end." How does this meet his needs? In any case, "deltree /y c:" is simpler.

    4. Re:Free Format by archen · · Score: 1

      Actually there is an easier way to do this with the undocumented /AUTOTEST switch. Basically it just formats with no furthar prompts.

      format C: /AUTOTEST

  30. mmm... by Wakko+Warner · · Score: 2, Troll

    ...smell that? that's a steaming heap of Apple quality.

    - A.P.

    --
    "Remember when the U.S. had a drug problem, and then we declared a War On Drugs, and now you can't buy drugs anymore?"
  31. Need to have a warranty! by burtonator · · Score: 2

    OK.. so. Your hard drive has just been formated by Apple? You have lost months of work and potentially hundreds of thousands of dollars. What will you do now?

    Are you going to sue? Did you read your EULA (End User License Agreement)? You probably waved that right when you said "OK".

    Apple probably waived all warranty when you installed the software (in some states this isn't legal though)

    This is one area where the law needs to be fixed.

    With Open Source software at least you have the ability to read the source code.

    Imagine if Ford were to wave any warranty with your next Explorer.

    Kevin

    1. Re:Need to have a warranty! by Anonymous Coward · · Score: 0

      If you've got "months of work and potentially hundreds of thousands of dollars" on your hard drive with no backup you've waived your own warranty.

      T

    2. Re:Need to have a warranty! by MacKinnon · · Score: 0, Offtopic

      Oh yeah, because EVERYONE on this damn planet can read, debug, and fix code.
      Will you OSS zealots get it through your head that having the code doesn't mean jack shit to 99.9% of the population?

    3. Re:Need to have a warranty! by Anonymous Coward · · Score: 0
      With Open Source software at least you have the ability to read the source code.

      You're sounding silly in this case -- the bug was in a script.

    4. Re:Need to have a warranty! by Macka · · Score: 3, Insightful


      Hmm .. I'm not going to waste a moderator point jacking this back up again, but this is NOT a Troll. The man has a point! This IS an Apple article, and MacOS X is supposed to be a click and point friendly face to Unix where you don't have to be a command line jockey to get things done.

      Also, the 'read the code and fix it yourself' argument is starting to wear very thin, as both Linux and MacOS X can quite easily be found in the hands of non-techies these days.

      To whoever mod'd this down as a troll .. shame on you, for not being more open minded!

    5. Re:Need to have a warranty! by Detritus · · Score: 5, Insightful

      You have an obligation to take reasonable precautions to protect the data on your computer. That means making backups of any valuable data. Are you going to sue Western Digital if your hard drive fails? What if it gets fried by a lightning strike? Even if Apple was found to be grossly negligent, they shouldn't be held responsible for data that was lost due to the negligence of the computer's owner.

      --
      Mea navis aericumbens anguillis abundat
    6. Re:Need to have a warranty! by Lars+T. · · Score: 1

      The funny thing is, the buggy code was a shell script, dead easy to read. So it's either not Apples fault, or Open Source software isn't as safe as you say.

      --

      Lars T.

      To the guy who modded me down from perfect to terrible Karma - Apple haters still suck

    7. Re:Need to have a warranty! by uchian · · Score: 1

      Well by being able to see the shell script, we can see in retrospect that it was just a bug, one that any of us could have made and one you wouldn't have detected unless you happened to have the right conditions for it to have happened. We can _see_ that it wasn't done on purpose, which at least is better than knowing that it was done on purpose.

      If it had been closed source, then we would all be very paranoid right now about whether or not there was some hacker at apple with a vendetta.

    8. Re:Need to have a warranty! by morgus+morphus · · Score: 1

      Actually, certainly in Europe, but as far as I'm aware also in the US, if Apple was found to have caused this damage through "gross negligence", then they would be responsible for damages, because damages due to gross negligence on the part of the vendor is exactly what can _not_ be excluded.

      The legal definition of gross negligence according to lectlaw is:
      GROSS NEGLIGENCE - Failure to use even the slightest amount of care in a way that shows Recklessness or willful disregard for the safety of others.

      Or more applicable to this case (from here):
      Gross negligence
      Any action or an omission in reckless disregard of the consequences to the safety or property of another. Sometimes referred to as "very great negligence" and it is more then just neglect of ordinary care towards others or just inadvertence. Also known as the Latin term culpa lata.

      Of course, IANAL, but my gut feeling would be that gross negligence would not be applicable in this case... gross negligence is basicaly one step short of intentional damage.

    9. Re:Need to have a warranty! by SlamMan · · Score: 1

      "With Open Source software at least you have the ability to read the source code."

      Yeah, right. When was the last time you read the source code to something before you installed it?

      --
      Mod point free since 2001
    10. Re:Need to have a warranty! by frleong · · Score: 2

      Yeah, it is also a negligence of the computer's owner to have installed Windows 95 or MacOS 9 infested with nasty bugs. MS and Apple shouldn't be held responsible for data that was lost. Am I following correctly your logic?

      --
      ¦ ©® ±
    11. Re:Need to have a warranty! by Anonymous Coward · · Score: 0

      Not that I entirely disagree and I'm purely playing Devil's Advocate but do you advocate open source coders to be responsible for their code so if something like this happens with an open source product I can sue the authors? We're talking about information that even if it wasn't backed up can usually be replaced, a computer isn't life threatening if something goes wrong like in a car.

    12. Re:Need to have a warranty! by crayz · · Score: 1

      You also can just open up the .pkg file, decompress the contents, and install it yourself, if you're so paranoid about a the install script that you in fact are allowed to look at

    13. Re:Need to have a warranty! by stripes · · Score: 2
      With Open Source software at least you have the ability to read the source code.

      In this case the bug was in the installer, which is a shell script and quite readable. It was a novice shell script error, which is understandable since Apple is a novice Unix OEM...

      Anyway, you can read that part, and even fix it.

      Still sucks though.

    14. Re:Need to have a warranty! by aberkvam · · Score: 1
      This IS an Apple article, and MacOS X is supposed to be a click and point friendly face to Unix where you don't have to be a command line jockey to get things done.

      I can't tell exactly what you are replying to but I think you are misunderstanding the problem. The bug is in a Bourne shell script that is run by the installer during the install process. The user never sees a command-line or a script. In fact, you really have to go out of your way to even be able to view the script since it's part of the installer "package" which appears as a single file to the user.

      This installer is about as point-and-click as you can get. No need to be a command-line jockey.

    15. Re:Need to have a warranty! by egomaniac · · Score: 2

      I love open source as much as the next guy, but I'm getting sick and tired of the "open source fixes all ills" crap.

      Are you going to sue? Did you read your EULA (End User License Agreement)? You probably waved that right when you said "OK".

      Oh, and you would have legal recourse if this had been open source software? Whom, pray tell, would you sue then? You generally can't sue the responsible party if it's closed source, and you generally can't sue the responsible party if it's open source, and from this you conclude that open source is better is this respect?

      With Open Source software at least you have the ability to read the source code.

      And, in case you haven't noticed, a dozen people have posted the offending code from this particular problem as well. It was a shell script, so the code was in plain sight. It was also fixed pretty damned quickly, too.

      Imagine if Ford were to wave any warranty with your next Explorer.

      Or better yet, imagine if your next Explorer were hacked together by hundreds of college-age geeks who had never once met one another, and if you had problems with it the response was "Well, just open up the hood and fix it. You can see how it all works".

      I generally use open source in preference to closed source, but I'm getting sick of the attitude that closed source = bad and open source = good. I've used some great closed source products and some truly crappy open source products in my time.

      --
      ZFS: because love is never having to say fsck
    16. Re:Need to have a warranty! by geekoid · · Score: 2

      Yes I would sue my HD company if it failed in an unreasonable time.
      Having seen a company do this successfully, I now it can be done.

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  32. This is a common programming error by Anonymous Coward · · Score: 0

    Here you have programmers who are used to the older Mac OS which does things very differently. Something as simple as Mac HD:Syetem Folder:Preferences: becomes ~/Library/Preferences. We should cut these guys some slack. Plus Apple did correct the problem within hours.

    You can find an explanation here.

    The short version of what Apple appears to have changed in this new installer? Any reference that used to look like this

    rm -rf $2Applications/iTunes.app 2 /dev/null
    now looks like this

    rm -rf "$2Applications/iTunes.app" 2 /dev/null

  33. Nature of the bug by HalfFlat · · Score: 4, Redundant

    From the discussion on the Apple discussion web site, the nature of the bug is as follows.

    The original installer script has the lines

    # if iTunes application currently exists, delete it
    if [ -e $2Applications/iTunes.app ] ; then
    rm -rf $2Applications/iTunes.app 2> /dev/null
    fi
    while the replacement (2.0.1) has
    # if iTunes application currently exists, delete it
    if [ -e "$2Applications/iTunes.app" ] ; then
    rm -rf "$2Applications/iTunes.app" 2> /dev/null
    fi
    In these scripts, $2 corresponds to the volume on which iTunes is to be installed, and will be of the form /Volumes/name-of-volume.

    For those unfamiliar with Bourne shell variable expansion, if $2 has spaces in it, the argument to the rm command in the first version of the script will expand to more than one word, and rm will try and delete both of these. The -rf tells rm to delete everything down recursively and not complain about it.

    This is particularly a problem on the Mac, where filenames and volume names often have spaces in them., even at the beginning of the name. If one had multiple partitions mounted in /Volumes, and the one on which iTunes was to be installed was called, say, ' OS X', then the rm command would expand to

    rm -rf /Volumes/ OS X/Applications/iTunes.app 2> /dev/null
    and would then try and delete everything under /Volumes. This is clearly bad.

    The second version, by including quotes around the argument, fixes the problem. The quotes force the argument to be treated as a single argument after variable expansion.

    Traditionally, people have been super careful about destructive operations and shell expansions. I don't think I've ever seen something like this written in a 3rd party script before, in fact (let alone from the OS vendor!). This could well be an example of programmers new to a Unix-like platform still getting used to the Unix way of doing things, and getting bitten as a result.

    1. Re:Nature of the bug by Anonymous Coward · · Score: 0, Flamebait

      How incompetent are Apple software engineers?
      They try for 10 years to implement true multitasking and fail.
      They give up and use someone else's code, but they don't take the time to properly learn the new stuff?
      That's pretty pathetic.

    2. Re:Nature of the bug by Bongo · · Score: 1

      Wow. I don't know shell scripts, but I'm taking your post as my first lesson.

      I figured I'd learn to write some shell scrips at some point, but I had no idea of the hidden dangers involved.

    3. Re:Nature of the bug by cb0y · · Score: 0

      Clearly its better to know your bash, or code it all in C

    4. Re:Nature of the bug by Florian+Weimer · · Score: 2
      Traditionally, people have been super careful about destructive operations and shell expansions. I don't think I've ever seen something like this written in a 3rd party script before, in fact (let alone from the OS vendor!). This could well be an example of programmers new to a Unix-like platform still getting used to the Unix way of doing things, and getting bitten as a result.
      But even experienced UNIX users have problems to cope with the fact that on a traditional UNIX file system, file names can include all characters except '/' and NUL. For example,
      find /some/path -name \*~ | xargs rm
      might delete much more than you want, and it's especially dangerous to do this if you are the root user and process directories where unprivileged users have write access. (Yes, I know, the -print0 and -0 options for find and xargs exists, at least in the GNU versions.)

      Anyway, it's quite embarrassing to make such a mistake in an installer. It shows how little testing software gets nowadays before it is released. I can't imagine that this couldn't have been noticed by testing the installer on several internal machines (and not just developer ones).

    5. Re:Nature of the bug by Hieronymus+Howard · · Score: 0, Troll

      See what happens if you use a 30 year old operating system!

      HH

    6. Re:Nature of the bug by zardie · · Score: 1

      This illustrates the importance of non-rooting. While this is an installer script and installer scripts are mostly run as root anyway, we can cut down on the amount of data loss if we test everything without root so we don't lose -everything- in the case of a booboo.

    7. Re:Nature of the bug by ernst_mulder · · Score: 1

      Well, I feel anyone who uses "rm -rf" in scripts running with root privileges should be extremely careful. I feel this is a "unix beginners" error, not something you'd expect from a major company like Apple.

      Why didn't they simply use mv to move the old version to the trash?

      Welcome to "The Power of Unix".... Now only if we learn how to use it properly...

      Maybe this was a scheme to get rid of all those OS 9 partitions people somehoww just keep using? :-)

    8. Re:Nature of the bug by ceswiedler · · Score: 2

      I believe that filenames can even include /. Shells might not like it, but Unix filesystems don't care.

    9. Re:Nature of the bug by Florian+Weimer · · Score: 1

      Of course, this depends on the particular file system implementation. For example, the VFS layer of the Linux kernel does not permit slashes in file names.

    10. Re:Nature of the bug by scrytch · · Score: 2

      I believe that filenames can even include /. Shells might not like it, but Unix filesystems don't care

      Shells don't care about /, the filesystem most certainly does. Path parsing is not done by the shell, it's done by the filesystem. creat() and open() and company will all fail if you try to have a file with a slash in it. Try it with a C program sometime.

      --
      I've finally had it: until slashdot gets article moderation, I am not coming back.
    11. Re:Nature of the bug by crucini · · Score: 2

      Yup. Shell is a beautiful, elegant, but treacherous language. The combination of variable expansion, globbing (*'s and ?'s) and backticks allow one line of code to have nearly infinite meanings. The error in this script is probably present in many scripts on production Unix systems. Sysadmins don't usually expect spaces in file names. Also, adding quotes doesn't protect against the variable containing a '*'. And I'm sure there are other gotchas.

      If you want to learn shell, I suggest lurking in comp.unix.shell.

    12. Re:Nature of the bug by benedict · · Score: 2

      Path parsing is not done by the filesystem.
      It's above that layer.

      --
      Ben "You have your mind on computers, it seems."
  34. quote by Jotham · · Score: 4, Informative
    the bug is apparently caused by the lack of quote marks in the install script.

    Apparently it only strikes if you 1) havn't uninstalled iTunes first 2) have multiple partitions and 3) have spaces in the name of your partitions

    This from MacSlash (posted by Graff as AC):

    Well, there is a fixed installer up now. Looks like the following change was made to the "Preflight" file inside the "iTunes.pkg" package:

    old version:

    #!/bin/sh

    # if iTunes application currently exists, delete it
    if [ -e $2Applications/iTunes.app ] ; then
    rm -rf $2Applications/iTunes.app 2> /dev/null
    fi

    exit 0

    new version:

    #!/bin/sh

    # if iTunes application currently exists, delete it
    if [ -e "$2Applications/iTunes.app" ] ; then
    rm -rf "$2Applications/iTunes.app" 2> /dev/null
    fi

    exit 0

    As you can see, they basically placed quotes around the file paths so that any characters such as spaces in path names would not mess up the rm command. So easy, and yet even the best of us forget to do it at times. That's one of the things about the command line - lots of power when used properly, but also many powerful ways to mess everything up.

    - Graff

    1. Re:quote by Skapare · · Score: 2

      It also shows one of the weaknesses of a programming language which is based on collections of things (in this case token words on a command) or data structures which can be changed merely by the value of some part of it (e.g. a variable with spaces).

      --
      now we need to go OSS in diesel cars
    2. Re:quote by Anonymous Coward · · Score: 0

      Now, what if there are quotes in the file name?

      My system disk is called /" " and I like it that way.

    3. Re:quote by Anonymous Coward · · Score: 0

      It never occurred to me to use spaces in a volume name. I was always sure it would mess something up. Heh.

    4. Re:quote by jerde · · Score: 1

      Of course, with the right volume name including a quote, one could still get this same script to erase their drives.

      Users are allowed to use quotes in file/volume names.

      I just simply don't like variable substitution in a root-run rm -rf command. Gives me the willies.

      - Peter

      --
      INsigNIFICANT
    5. Re:quote by Anonymous Coward · · Score: 0

      What kind of amateur uses whitespace as a delimiter? :-)

    6. Re:quote by Gid1 · · Score: 2
      Apparently it only strikes if you 1) havn't uninstalled iTunes first 2) have multiple partitions and 3) have spaces in the name of your partitions

      When I went to download it (before the bugfix) , I did notice that the download page prominently said something to the effect of "If you have a previous version of iTunes installed, you must remove it first". Fortunately, for once, I followed those instructions.

      In retrospect, this is a little odd if the installer had the ability to remove the old version. Hrm.

      <paranoid>
      Maybe this is one of those times when the programmer noticed the bug just before release and the manager cared more about the release deadline than the bug and said "Well, release it for now, and start working on the x.y.1 release." In my experience, not the first time that's happened!
      </paranoid>

      Hrm.. just noticed another thing. 'if [ -e $2Applications/iTunes.app ];': even if iTunes *had* been de-installed... if '$2' had whitespace in it, -e would still fail, giving an [: xxx/Applications: unexpected operator error (if 'xxx' was the part of the volume name after the whitespace...

      Depending on what this script is run on, it might only have effect on people who choose to install it on partitions with whitespace -- so, if your chosen partition didn't have whitespace but your other partitions did, it might not affect it. *shrug*

      Massive cock-up on Apple's part, all the same.

    7. Re:quote by Computer+suck! · · Score: 0

      when accessing them, you should esc out, with a slast, i.e.

      rm -rf "\"\ \""

      do delete the dir.

    8. Re:quote by ecampbel · · Score: 3, Informative

      Quotes get evaluated first and only once, and then variable substitutions happen, so having quotes in your drive name will not cause problems.
      For example (in csh):
      % setenv foo \"
      % echo $foo
      "
      % echo "some quoted text:$foo"
      some quoted text:"

      Everything within quotes is passed as one argument to the echo command, and the fact that $foo contains a quote character doesn't cause any problems. If the quotes were evaluated after variable substitutions, an unmatched quote error would have been reported in the last example.

      --

      Sig goes here
    9. Re:quote by Anonymous Coward · · Score: 0

      Heh, I'd have posted that here too but this wasn't a topic here when I posted that on MacSlash. I'm on both these places as an AC for now because for some odd reason I never got my nick password e-mailed to me at either site. Hmm, maybe I should get off my butt and bug someone about it, probably my isp messed up that e-mail account - they are a bunch of idiots. Oh well... :)

      Thanks for posting it for me.

      - Graff

    10. Re: quote by cjpez · · Score: 1
      the bug is apparently caused by the lack of quote marks in the install script.

      No, no, no. The bug is caused by having spaces in your directory names. I mean, come on. They're ridiculous. "This is My Hard Drive" is not a good name for your hard drive! :P

    11. Re: quote by Anonymous Coward · · Score: 0

      Well, is "Macintosh HD" a good name? Apple shipped this configuration for more than a decade, and nobody got their drives deleted.

  35. I had no trouble with the install... by Thaidog · · Score: 0

    I have an iMac DV with several partitions and a Dual 533 with one Ultra160, and one ATA drive... and neither install caused any problems. Luck perhaps, but I still find it strange how a MP3 app can erase a hard drive...

    --

    ||| I still can't believe Parkay's not butter.

  36. Re:Homosexuals fear God's wrath by Anonymous Coward · · Score: 0

    Fool! Read your scripture. It's the electronic version of fire and brimstone - the punishment for having 100 gigs of gay porn. His hard drive was even named Sodom.

  37. The big mistake here... by jcr · · Score: 1

    An app like iTunes shouldn't even HAVE an installer script for OS X. It should just be a disk image file, and installation shouldn't be any more than dragging iTunes.app from the disk image to your /Applications directory.

    This problem is a hold-over from iTunes' Mac OS 9 legacy.

    -jcr

    --
    The only title of honor that a tyrant can grant is "Enemy of the State."
    1. Re:The big mistake here... by aberkvam · · Score: 3, Interesting
      It sounds like you aren't familiar with what iTunes does. iTunes isn't just a pretty version of WinAmp. It actually is a CD ripper and CD burner that handles audio and data CDs. It supports the CD-RWs that come with Macs as well as many third party CD-RWs In order to properly support CD burning it has to install drivers "outside its bundle". It has to change things outside of iTunes.app.

      I will admit that most applications should just use the "drag and drop" installation and Apple agrees. But there are some cases where the use of an installer can not be avoided and this is one of those cases.

    2. Re:The big mistake here... by benh57 · · Score: 2, Informative

      Sorry, wrong. The iTunes2 installer updates the Disc Recording framework which is part of the system. Thus it DOES need an installer - and root privs.

    3. Re:The big mistake here... by Apotsy · · Score: 1
      This problem is a hold-over from iTunes' Mac OS 9 legacy.

      Oh really? Is that why the X version of the iTunes installer erased hard drives but the 9 version didn't?

    4. Re:The big mistake here... by Lars+T. · · Score: 1

      Erm, yes, that's why the OS X version was affected, not the OS 9 one.

      --

      Lars T.

      To the guy who modded me down from perfect to terrible Karma - Apple haters still suck

    5. Re:The big mistake here... by fwr · · Score: 2

      I'm a little confused, because I'm not an Apple user at all, but I thought that the base OS was similar to Linux as to it's kernel module capabilities. If so, then there shouldn't be any reason to require the modification of "system" directories. You should be able to load a driver for various CD's from any directory. The module loader program may require root privelages, but there shouldn't be any reason that the modules themselves need to be in a particular directory. Or, is OS X not capable of doing this?

    6. Re:The big mistake here... by aberkvam · · Score: 1
      Well, it's similar to Linux in the same way that FreeBSD is similar to Linux. Mac OS X is built on a FreeBSD base with a Mach 3.0 microkernel. Apple actually releases this base as an Open Source project called Darwin. Apple then takes this base and adds the GUI and Apple technologies to create Mac OS X.

      The original suggestion was for iTunes to be distributed as a "package" (a directory that appears as a single application file to the user). I would imagine that there would be a way to put drivers in this package that load dynamically. But you mention that the drivers would have to load up with root (Administrator) access. Are you suggesting that a downloadable and user-modifiable application should be allowed root privilages to mess with the hardware?

      Mac OS support files live in three main places. /System/Library/ is reserved for the OS itself. Apple is the only one who should be playing around in this location. /Library/ is where third-party stuff is loaded that should be available to all users. Also,each user has their own ~/Library/ folder where they can put things that should only be loaded for that user.

      I saw some signs that iTunes also does some things in the system fonts directory. I'm not sure if it's adding new fonts or what, but it's doing something in there. So there may be other reasons for it to be modifying system areas.

    7. Re:The big mistake here... by uid8472 · · Score: 1

      It's possible to manually load a kernel extension bundle from anywhere with kextload(8) as root, but for it to be autoloaded when the relevant hardware is detected, or if another kext declares a dependency on it, it has to be in /System/Library/Extensions.

    8. Re:The big mistake here... by jcr · · Score: 2

      It sounds like you aren't familiar with what iTunes does.

      If it sounds like that to you, then your hearing is faulty. iTunes should be a self-contained .app, which any user can install in /Applications, ~/Applications, or anywhere else you care to. If it requires a framework or a .kext to talk to the CD/RW drives, then those should be in separate package which require root priveleges to install. In fact, the drivers should be obtained through the Software Update mechanism.

      -jcr

      --
      The only title of honor that a tyrant can grant is "Enemy of the State."
    9. Re:The big mistake here... by aberkvam · · Score: 1
      I saw some signs that iTunes may install fonts. It's doing something in the system fonts area anyway. What should be happening here? Can a .app package have self-contained fonts? Should it?

      Also, once you are at the point where an application has a .app and a separate package that requires administrator access to install, why not just have the .app be part of the installer, as Apple has done? Why confuse users with a more complex install process?

      It is strange that iTunes seems to be responsible for installing system-wide drivers for CD-RWs though...

    10. Re:The big mistake here... by Apotsy · · Score: 1
      Funny you should mention Software Update as a solution to problems you perceive as "legacy" from Mac OS 9. Software Update started out as a 9 feature.

      Oh, and I'd love to hear how making the package containing the burning framework a separate item would solve this problem. That would simply move the buggy pkg file to another place.

      Whether it's a single install, or two separate install, you still need to install it.

    11. Re:The big mistake here... by Anonymous Coward · · Score: 0
      Yes, a .app package can contain fonts, as well as other objects, including entire frameworks (the iTunes .app package does in fact contain a specific, private framework for supporting iPod).

      However, if any of those objects are to be shared between apps, they cannot go in the package. They must be installed in some central system-wide location, which requires a root password to install. The disc burning framework that goes with iTunes falls into this category.

      You are correct that there is little functional difference between having two separate installers, and having a single installer that does the same thing. In fact, it's better for the user to just have one, which Apple did. The bug in the installer script was completely independent of that.

      It appears that the above poster has now figured this out and is backpedalling to cover his mistake.

  38. what most people didn't know... by Festering+Leper · · Score: 1

    is that they were unknowingly betatesting the new and ultimate file compression system

    --
    if you want people to think you know what you are talking about, just put ".com" at the end of everything you say.com
  39. page out of Roxio's book by Alcimedes · · Score: 2, Interesting

    you know, the funny part was i was cursing a blue streak when installing roxio cd creator 5 toasted my win2k machine. what are the freakin' odds, i would rant? why the frick is a cd software package set up to kill my machine?

    well, i guess it's catching, whatever it is.

    lol, i think i'll be waiting a few weeks after the release of software from now on. bleeding edge one to many times.

    1. Re:page out of Roxio's book by crawling_chaos · · Score: 1

      Apparently the school that produced the Pool of Radiance: Ruins of Myth Drannor installer has a few more graduates.

      --
      You can only drink 30 or 40 glasses of beer a day, no matter how rich you are.
      -- Colonel Adolphus Busch
  40. Pool of Radiance also does this. by juju2112 · · Score: 1

    The new Pool of Radiance does the same when you try to uninstall it. :] Thankfully there's a patch, though.

  41. Users in OS X by tunah · · Score: 1

    I haven't personally tried OS X, so I don't know about how the multi user stuff fits together, but presumably you need to be running as root to install this (or trash your hd, for that matter). Shouldn't there be a way to install some apps without being root? Seems to me that having the user root by default is a bad strategy in terms of apps going evil, viruses, etc... this OS is not targeted at security-conscious people.

    --
    Free Java games for your phone: Tontie, Sokoban
    1. Re:Users in OS X by headbulb · · Score: 2, Informative

      your right you have not used os X there are two kind of users in os X admins and regular users the admins can use sudo while the users may not be able to sudo or with certain resrictions

      the root acount is disabled as in the password is * meaning none which means you can't login with it

      HeadBulb

    2. Re:Users in OS X by IronChef · · Score: 3, Informative


      You can enable root login in the NetInfoManager. When you do, it asks you to put in a root password, and then you can log in or su to root if you want.

    3. Re:Users in OS X by TomRitchford · · Score: 1
      I don't believe that the damage was necessarily done by the installer script acting as root. rm -Rf /partition will remove all files that you own and can reach from /partition. If you are the only user on your system, you might well own almost every file on every partition so the damage would be immense.


      Also, how would the installer get sudoed? You don't run installers from the command line, you double click a file, right? (And wouldn't anyone be REALLY skeptical of an installer that had to run as root to install?)

    4. Re:Users in OS X by Anonymous Coward · · Score: 0

      excuse me please mr head bulb sir but would it be at all possible for you to in the future to please use punctuation because it makes it a lot easier to read when you do and it doesn't seem like a run on sentance thanks

  42. ouch, but... by godawful · · Score: 1

    gratefully when coming home from the bar last night i downloaded installed and lost nothing *thank the beer gods* and yep it sucks for those who lost it.. however, from what i've read, tech tool pro is the best app right now for recovering those lost files.. i'm glad i didn't lose anything last night.. but i've seen some accounts of people recovering 50 to 75 % of their lost files.. but truly a bum deal.

    --
    Live EVERY week... Like it's Shark Week
  43. They've posted a fix. by Anonymous Coward · · Score: 0

    They've posted a fix: iTunes 2.0.1.

  44. Say what you will... by SonicRED · · Score: 1
    But if this didn't happen to you then you have to admit it's pretty fscking hilarious.

    Figuratively this is like Steve Jobs deleting his market share, which is basically already a 0 byte file.

    1. Re:Say what you will... by Anonymous Coward · · Score: 0

      I used to be an intel advocate until windows got nastier and nastier. Now I use linux for everything but there are still some things I can't do. Thus to resolve that I just ordered a powermac with OS X. With that I can run all my favorite UNIX apps and still have access to office and good video stuff. I don't know how much I loke OS X yet because I haven't used it but once I get it, if I like it, I'll no longer use windows.

  45. Sue them. by t_allardyce · · Score: 1

    Its a virus - it hides behind a legitimate program, performs some sort of check, then delivers a payload. If thats not a virus, then i don't know what is. Just because Apple may 'claim' its a mistake, is no excuse. People have gone to prison for less so i say, give them a big fat law suit.

    --
    This comment does not represent the views or opinions of the user.
    1. Re:Sue them. by Thaidog · · Score: 0

      Yeah.. but it did not effect everybody... like me... I was not effected but others with similar hard drive names were. So, it's not a virus. Similar only in certain instances and affects.

      --

      ||| I still can't believe Parkay's not butter.

    2. Re:Sue them. by damiam · · Score: 1
      It's a bug mistakenly left in a legitimate program. It doesn't do a check before it delivers its payload, aka:

      if harddrive.multiplepartiotions()
      rm -rf /

      The code, as an earlier poster stated, is like this, where some values of $1 and $2 could cause the shell to translate the command into rm -rf /:

      # if iTunes application currently exists, delete it
      if [ -e $2Applications/iTunes.app ] ; then
      rm -rf $2Applications/iTunes.app 2> /dev/null fi

      If an innocent mistake were a virus, Microsoft would have been sued out of existance already.

      --
      It's hard to be religious when certain people are never incinerated by bolts of lightning.
    3. Re:Sue them. by nvainio · · Score: 1
      Its a virus - it hides behind a legitimate program, performs some sort of check, then delivers a payload. If thats not a virus, then i don't know what is.

      It's not a virus. You mean Trojan horse. Viruses replicate.

    4. Re:Sue them. by Anonymous Coward · · Score: 0

      My attorney is too busy sueing the federal government because i am not experienceing enough american dream.

      after that i will sue my mom for not concieving me with a richer and more handsome man.

      next i am going to sue you because your insite and/ or humor has made me dumber by reading it and has wasted 3.5 seconds of my precious life.

      man i hate people like that.

    5. Re:Sue them. by gig · · Score: 2

      > Its a virus - it hides behind a legitimate
      > program, performs some sort of check, then
      > delivers a payload. If thats not a virus,
      > then i don't know what is. Just because
      > Apple may 'claim' its a mistake, is no
      > excuse. People have gone to prison for
      > less so i say, give them a big fat law
      > suit.

      Are you listening to yourself?

    6. Re:Sue them. by Anonymous Coward · · Score: 0

      You're a moron aren't you. Admit it... you were dropped as a child.

    7. Re:Sue them. by Dyolf+Knip · · Score: 2

      Its a virus - it hides behind a legitimate program, performs some sort of check, then delivers a payload. If thats not a virus, then i don't know what is. Just because Apple may 'claim' its a mistake, is no excuse. People have gone to prison for less so i say, give them a big fat law suit.

      Are you listening to yourself?


      He's right to some extent. A bug that causes a program to crash is perfectly ordinary, if annoying. One that 'oops, we just wiped out your entire hard drive, so sorry' is totally unacceptable. Hell, most viruses aren't even designed to be that bad. Software can always be expected to be buggy, but this crossed the line between 'not quite enough debugging' and criminal negligence on Apple's part. Prison is a bit much, but financial liability is quite reasonable.

      --
      Dyolf Knip
  46. Perspective by DougLandry · · Score: 0

    This issue only affects people who have a leading or trailing "space" in the name of their volume--a tiny minority of those that may have downloaded the installer. The installer was posted for less than 24 hours--from late on a Friday night to the middle of Saturday. It only affects the Mac OS X 10.1 installer, not the Mac OS 9 installer. Despite the hype, the majority of Mac users are still using 9.

    Apple obviously screwed up, but to say that 'thousands' may be affected is a bit much.

    What's the moral of this story? Apple needs to do some better quality control on software-free or not-that it releases. Another lesson? Keep backups--very few people would be whining about how the lack of four quotation marks in code wiped their shit if they had a backup copy.

    1. Re:Perspective by Anonymous Coward · · Score: 0

      "Apple obviously screwed up, but to say that 'thousands' may be affected is a bit much."

      Oh yeah...tell that to the people that may have lost several GB's of data, which in today's movie-making and mp3-ripping culture, will most definitely be in the thousands!

  47. This might be very good. by Krapangor · · Score: 2, Funny

    I usually don't have very much space on my harddisk because it very small and i often can't decide which pictures to delete i downloaded from the internet.
    So this installer comes in very handy because it deletes just all data and you don't have to decide whether to delete the picture of all these nice kitties or not.
    So you have much more space on your harddisk and can download again much more nice pictures from the internet with cats.
    My problem is however that i don't have an MAC and i hope they port it to linux soon so that i have again nice 30 megabytes of free harddisk space.
    It is of course very sad that people with important data have lost all important data but you can't have much space and important data on your harddisk all the same time anyway.

    --
    Owner of a Mensa membership card.
    1. Re:This might be very good. by Tsar+cr0bar · · Score: 1

      Dammit, when are they gonna add a "Stupid" moderation category?!?

    2. Re:This might be very good. by Anonymous Coward · · Score: 0

      When are you going to understand sarcasm?

      BTW, your site sucks ass. I hope it goes out of business.

    3. Re:This might be very good. by Lars+T. · · Score: 1

      Your Linux distro doesn't have shell scripts? No "rm -rf"?

      --

      Lars T.

      To the guy who modded me down from perfect to terrible Karma - Apple haters still suck

  48. Hardly anyone actually affected. by caryw · · Score: 1

    I installed iTunes2 and it worked just fine. It seems that all of the people over at MacSlash have had the same results.

    1. Re:Hardly anyone actually affected. by motherhead · · Score: 1

      yep, I have three partitions (9, 10.1, and data) and installed mine friday night. supriseing lack of catastrophy. Oh and even though i detest every proper noun that begins with a lowercase "i", iTunes2 really does kick quite a bit of ass.

  49. reaction from Apple's internal culture? by dan_bethe · · Score: 1
    I'm curious to know the reaction from Apple's internal culture, particularly that of Steve Jobs.

    I have read all the Apple books I'm aware of as of before Steve became iCEO, and they're largely a behavioral analysis of Steve's proactive and reactive mind. I haven't read Steve's latest book. Now he's more civilized but is known to spontaneously fire anyone who gets in the way of making extremely critical and improbable things happen, such as when they completely redesigned apple.com and the company store within a few months. In other words, he's still extremely demanding of precision high performance, which is a very good demand.

    I wonder what happens behind closed doors after a major FUBAR like this happens. What is said? What are the looks on peoples' faces at the moment? What does Steve do, say, and look like? What chain of the culture panics over what he'll do or over their employment status after hearing the news?

    1. Re:reaction from Apple's internal culture? by Anonymous Coward · · Score: 0

      stevie gets a blowjob. If you do not get him off in under one minute, you get whipped 50 times with a cane, 75 times with a hairbrush, 50 times with a wooden paddle, 25 times with a cat-o-nine type of device, all in front of the monthly employee meeting.

  50. It's a feature! by wine · · Score: 1

    iTunes2 synchronizes data between the iPod and your computer's hd.

    So, if you don't have an iPod or your iPod holds no data, everything is erased from your hd in the process of synchronizing.

    Seems very obvious this is a feature.

  51. iTunes 2.0 problem the exception, not the rule. by Anonymous Coward · · Score: 0

    Jeff Clatworthy writes:
    Having had a faultless install with the questionable iTunes 2.0 installer on my OSX equipped G4 733, I was disturbed to find this sort of thing had happened to other Apple users because of an Apple product (Not to mention also being relieved that my drive was perfectly intact).
    Our only solace may be that Apple 'fessed up, fixed the problem and updated the installer as soon as the problem became apparent in a real world environment. Just a shame it didn't show up in testing 9Tell me there was proper testing Apple, we don't need you taking Quality Control tips from Microsoft now).
    Needless to say I trashed the dodgy installer and grabbed the 2.1 version for any future system rebuilds.

    1. Re:iTunes 2.0 problem the exception, not the rule. by PhReaKyDMoNKeY · · Score: 1

      Most likely they just didn't think to test partitioned hard drives. I know it wouldn't have occurred to me. Partitioned hard drives aren't nearly as common among Mac users as they are with Windows/Linux/other users. Before OS X, partitioned hard drives on Apple boxes were all but nonexistent.

      It was a very simple, very costly oversight. It's unfortunate, but you can bet your ass they'll test every bloody thing they make on partitioned/multiple drive computers before releasing them from now on.

    2. Re:iTunes 2.0 problem the exception, not the rule. by Edgewize · · Score: 1

      Even if they tested partitioned drives, it wouldn't have showed up. The problem only occurs when the target partition has a space in its name, and there is only data loss when the space is the first character. Even 99% of the partitioned Macs out there wouldn't have lost data.

    3. Re:iTunes 2.0 problem the exception, not the rule. by jchristopher · · Score: 1
      Before OS X, partitioned hard drives on Apple boxes were all but nonexistent.

      Actually, classic MacOS always had partitions too, they were just hidden from the user.

  52. *sigh* by PhReaKyDMoNKeY · · Score: 1

    More ammunition for anti-Apple people. Yay.

    Well hey, at least they were quick with the update. I didn't even know the bloody thing was out before I saw the news on the fixed problem. Microsoft _still_ hasn't recalled Windows, and it's been out for, what, nearly twenty years?

  53. think backup by mAIsE · · Score: 0

    no one ever thinks about backups until its too late and there *ss is in a crack.

  54. it changes file permissions and doesnt delete file by Anonymous Coward · · Score: 0

    it does actually not delete the files, it changes their permissions and makes them 'invisible' that way, which is quite a big difference to 'deleting' them as your article put it, as the data isn't lost at all.
    Please inquire a tiny bit more before writing an article that is incorrect in some important aspects. thanks for your attention.

  55. Ahem by benh57 · · Score: 1, Informative

    Three hours before this other guy: benh57 Here are your recent submissions to Slashdot, and their status within the system: * 2001-11-04 02:29:02 Apple's iTunes2 Update Wipes Drives (articles,apple) (rejected) Summary: * rejected (1)

    1. Re:Ahem by Anonymous Coward · · Score: 0

      and? It's not like they post it right away. The other guy probably had it queued to run for hours before you even submitted it.

  56. Somebody is going to get fired... by active8or · · Score: 1, Flamebait

    We are talking Steve Jobs here, the man who pulled the Geforce 3 cards for a long time since NVidia spoke about the Cube, the man who throws computers after lazy workers...

    May Steve have mercy on the poor programmer who did this...

    Mvh:
    - Knut S.

    1. Re:Somebody is going to get fired... by Hes+Nikke · · Score: 1

      the man who {rumors} pulled the Geforce 3 cards for a long time since NVidia spoke about the Cube

      thats the Radeon pulled from the cube, and iMac, when ATi blabbed.

      why do you think apple is in bed with nvidia now? ;)

      the man who throws computers after lazy workers...{/rumors}

      it was an $800 digital camera! see it in quicktime :)

      --
      Don't call me back. Give me a call back. Bye. So yeah. But bye our, well, but alright we are on a shirt this chill.
    2. Re:Somebody is going to get fired... by active8or · · Score: 1

      I stand corrected... (=

  57. it's not that far-fetched. by liq-bin · · Score: 1

    Although, yes, it's a pretty serious oversight. Apple's installer package of choice seems to be a modified version of the OS installer. While it allows all of the power they need for installing an application, or an OS, or an upgrade, it lacks finesse. In truth, according to some developers who have been told to use that as their installer, it's an incomplete which was custom coded only borely enough to install the OS, and should never be used for apps.

    I think this wiil bring to light the serious conceptual flaw of using an OS installer, let alone one renowned for its hackish feel on the underside, for installing applications. This is one good reason that OS departments should be separated from application departments, whether at Apple, M$, or wherever. Maybe Apple shousd be utilizing the drag install which they are trying to sell to the rest of the developer community?

    1. Re:it's not that far-fetched. by gig · · Score: 2

      iTunes is part of Mac OS X. If Apple had an application/OS split, then the iTunes folks would be in the OS camp. It comes with Mac OS X, and parts of it are in the system itself (CD burning stuff) and need to be updated by an installer. That's what the installer is for. Most apps do come on disc or disc image, so the installer is very rarely used.

  58. A lesson to learn? by Gabhlan · · Score: 1

    I installed iTunes 2 nearly two weeks ago (thanks Hotline) and had no problems with it eating my drives. But, had Apple made iTunes 2 generally available previously as a beta with a disclaimer to suit (If it eats your drive, your problem, no ours) this bug would have been picked up long before it reached the final version. If Apple aren't going to spot all the destructive bugs, which generally the have up to now, they need to increase the number of beta testers to everyone on their Apple Developer Connection service. I don't know exactly how many people they dispatch pre-release software to, but I'm on the ADC and never heard a thing.

    --
    The wind blew so cold
    The fan won't turn any more
    Files die in the heat
  59. Re:There's a very good reason for this... by Anonymous Coward · · Score: 0
    No. If you want a hard and powerful OS, load Solaris or Tru64.

    Linux and FreeBSD. Damn amateur pieces of shite.

  60. it is less readable. by delmoi · · Score: 1

    If you're a Moron.

    --

    ReadThe ReflectionEngine, a cyberpunk style n
    1. Re:it is less readable. by Anonymous Coward · · Score: 0
      Not using {'s makes the code less readable because the beginning and the end of a program block are less obvious.

      I think you've misunderstood the meaning of "tight code". It doesn't mean that the source code should be cryptic.

  61. Yet another way in which the Mac is superior to PC by Colin+Bayer · · Score: 1, Funny

    Look at this innovation!

    What Apple did in a few lines of shell script, it takes Windows a complicated installer to do. I personally plan to switch to the Mac platform for its superior file deletion capabilities.

    --
    Want Linux games? HERE.
  62. OS 9 Forever! by darkov · · Score: 1, Interesting

    More evidence that Apple has given up on providing the best user experience. I'm loathed to move to OS X becuase it's not really a Mac OS. OSes 1-9 were a product of careful design, internally and externally. The little interface things (mouse clicks behave completely differently in so many circumstances), the robustness of installing software and fiddling with the system.

    Years of experience went into tweaking the OS to be just right. Now it's all gone. They thing making it pretty is enough. Now we've been reduced to being victims of shell scripts missing quotes and zapping our hard disks. Sob. It no better than a Window's box now. Sob.

    1. Re:OS 9 Forever! by motherhead · · Score: 2

      you're just a touch insane. I too have been buying macintoshes since system 6 (by the way, i would love to hear your systems 2 through 5 user experiences...) .

      yes, while system 9 is just so terrifically mature that it stuns you with it's depth. i also remember how much I thought that system 7 was an anathma to the Macintosh look a and feel and "useability".

      I detested OSX and need my mac to make money with, so have I little time for flakey eye candy. But ever since I Installed OS 10.1 on my drive i have yet to boot into OS 9. Yes it is far less mature and has some goofy little idiosynchosies but it also runs all my DTP/WebDev OS 9 apps perfectly, but then i can also exploit 10's native apps to get grunt work (word proc, mp3 playing, browseing and proofing etc...) all multi-threaded and so on... every day i am amused to find a hidden little nuance to aqua, and i also get to run xdarwin interleaved with aqua so i can run BSD, classic and OSX apps flawlessly, simultainiously.

      Also this: Quartz.... mmmm... beatiful display postcript (PDF, i know) love...

      So i sympathize with you. and perhaps some lunitic will come up with a nice OS 9.2.1 theme and theme manager to run it over aqua for you. but I think apple is kicking big OS ass with 10.

      OS 9 forever? my ass, how many times did you reboot today?

    2. Re:OS 9 Forever! by trash+eighty · · Score: 1

      well i run OS9 and my last reboot was 2 weeks ago, and that was to install a new extension

      iTunes installs great on OS9 too, good job i didn't try it on my OSX yet ;)

    3. Re:OS 9 Forever! by darkov · · Score: 2, Insightful

      Granted, System 10 is more stable becuase of memory protection and has better task scheduling, but my 9.2.1 is heaps stable (as long as I don't run MS apps, generally). But I use Macs becuase they're a pleasure to use, and all the little things count. Quartz is loverly and I wish that GX lived on, but they don't improve my work. Pissing around trying to work out how the hell to get 10 to connect to my AFP server and other simple things which seem impossible wastes my time. 10 may have it's own nuances, but they're nothing like 9. What exactly is the big win changing all the subtlities of the UI in an arbitary fashion? Believe it or not, stability and memory protection are incremental improvements for your average user, delivered at great expense of it's usability.

      On the subject of the earlier systems - they were fantastic. Why wouldn't they be when the only alternatives were DOS and a very broken early Windows.

    4. Re:OS 9 Forever! by StorminNorman · · Score: 2, Insightful

      I'm going to give you the benefit of the doubt and assume you're not trolling.

      Mac OS X is based on UNIX, a design which, if you'd noticed a previous story today on slashdot, is now 30 years old, much older than Classic Mac OS.

      Mac OS X has a carefully redesigned UI that actually works really well. Believe me, I haven't used Classic Mac OS in about 4 weeks now, and even then it was for DVD playback due to an oversight in Mac OS X. The new UI is just as carefully designed, and just as carefully planned as the old one. It has one disadvantage however:

      It's new.

      That means that there are going to be kinks for a while yet (ever used Mac OS 1.0? I have, and believe me, it has more UI kinks that Aqua does now).

      That said, I can't go back to Classic Mac OS for two reasons: Protected Memory and real Multitasking. Between the time that my Centris died, and the acquisition of my iBook Dual USB, my primary computer was an Intel system running Debian Linux. I can happily say that I was able to put up with KDE's quirks (it's nice, but it's got a long way to go before it gets close to Mac OS for usability), simply because the system NEVER BLOODY CRASHED!. Seriously. The only reboots I perform on it are for power outages and kernel upgrades.

      Mac OS X is just the same. While I got a few kernel panics on the older 10.0.x series (3... all of them while in public for some reason :( ) I am yet to see one in Mac OS 10.1.

      The point is, I would happily live at a commandline if it meant the OS wasn't going to freeze up at least once a day, or if I could happily run as many applications as I wanted without worrying about memory (No more memory size settings! YESSSSS!). And that's not even mentioning the fact that the system actually MULTITASKS. Whoa! Who'd have thought that a Mac would ever be able to multitask and provide memory protection? They've only had an MMU for what? 10 years now?

      I love Macs, always have, always will, but the old OS was kludge upon kludge upon kludge. It's old, It's broken, it's been replaced. Stop using it, please. And Aqua takes all of 5 minutes to adjust to from Platinum. It's harder to jump to windows from Platinum than to Aqua.

      I mean seriously... would you go on using Windows on an Intel system if you knew that a newer and better operating system was available that didn't have all of Windows bugs?

      --
      life is a canvas/and the paint is hope and promise/the world is ours/no one can ever take it from us.
    5. Re:OS 9 Forever! by darkov · · Score: 1

      You know, you asked no nicely, I thought for a second that I should give it up. But I really do find 10 too hard too use. Maybe I'm too set in my old decrepid technology ways, but I'm just so comfortable with 9 I really don't see any point. The bugs don't bite me, and newer isn't always better.

      On the subject of Trolling: I am not now, nor have I ever been a Troll. BUT I have had posts marked as Troll. It's something a bit offensive about /., that an opinion that happens to disagree with what might be commonly agreed is quickly marked as abuse. Have the politically correct been released from the asylums?

      Moderators: CONTRARY OPINIONS ARE VALID AS WELL. PLEASE DON'T LEAP TO JUDGEMENT.

      Chances are, of course, that this will be marked as a troll post. Sigh.

    6. Re:OS 9 Forever! by Anonymous Coward · · Score: 0

      Actually, ever since System 7, the MacOS has been a hopelessly complicated piece of junk, with so many extra features spooged into it that weren't really compatible with the basic nature of the OS. It's only made to perform one function at a time, the appearance that os 8.* can do more than this is an illusion, and can cause many problems. Sure, in OS 9 they've finally smoothed things over about as much as they can, but in reality, the most refined version of the MacOS was System 6.08.

    7. Re:OS 9 Forever! by Anonymous Coward · · Score: 0
      I work at Apple, and I have to say I agree with you. X is more difficult to use than 9. The Apple menu and the Finder are crippled compared to their 9 counterparts. The dock is too awkward, and the functionality it provides was better handled by the Apple menu and the application menu. The Aqua controls may be nicer to look at, but they are distracting and harder to use at a glance than their 9 counterparts (e.g., it's much easier to tell if a radio button is clicked in the Platinum style than in the Aqua style). I actually prefer to go back to 9 much of the time, and I'm not alone. The NeXT guys may think X is hot shit, but then again, most of them have never bothered to use 9 much, or at all in some cases, so how would they know how it compares?

      The right way to create a next generation Mac OS would have been to keep the interface the same, not bother adding Unix, and add a new kernel to 9 so that users could finally get preemptive multitasking and memory protection (NuKernel would have been a good choice). Mac users wanted a stable Mac OS. They did not want, ask for, or need Unix.

      The NeXT guys were trying to please themselves in making the decisions they did for Mac OS X. And many of them wanted even less legacy support than there is now. I know of one executive who looks down his nose at Apple programmers, yet he thought creating the Classic enviroment was "impossible" (his word) until a few Apple engineers got together and showed him that it was possible. Of course, the NeXT guys still haven't developed any respect for the Apple people. No matter how much we show them, they still don't want to listen to us, because we're not a bunch of close minded Unix-heads like them.

      If you don't like Mac OS X, you're not alone. If you want to blame someone, blame the NeXT guys.

    8. Re:OS 9 Forever! by darkov · · Score: 1

      What you say is interesting, becuase that's exactly what I thought when I looked at X. It all makes far too much sense not to be true. There is no good reason for thowing out the classic OS. Arrogance is the only answer. I guess one of the negative things about Jobs (along with his good points) is that he lets these sorts of things happen, possibly even encourages them.

      I really believe that 10 is the end of the Mac. Not the end of Apple, but the end of the Mac as embodied in my Mac Plus: good ideas implemented with flair and design sensibilities. Now it's all macho my scheduler is better than yours bullshit.

    9. Re:OS 9 Forever! by stripes · · Score: 2
      perhaps some lunitic will come up with a nice OS 9.2.1 theme and theme manager to run it over aqua for you

      If you look over on MacNN someone has one fairly far along. I think the only big chunk o' work they have left is the scroll bars. I think it was a Friday headline.

    10. Re:OS 9 Forever! by StorminNorman · · Score: 1

      Just a quick reply to the troll comment... It was rather late at night, and I needed an excuse to rant, so biting at what I thought was a troll was my best option... I noticed after I'd posted that there had been a few other posts in the thread as well and realised that I was wrong (dammit why isn't there an edit comment feature in slashdot yet?) (it took me nearly half an hour to write that, between watching Gundam Wing, IRC and other web boards.)

      Sorry if I offended you, but I did think, initially, that you were trolling. (Of course, I thought it was a pretty well written troll too :) )

      As to Mac OS X being hard to use... to each his own i guess :)

      --
      life is a canvas/and the paint is hope and promise/the world is ours/no one can ever take it from us.
  63. Somewhere a shell-scripter wannabe by Anonymous Coward · · Score: 0

    must be running quite fast. Can you imagine the poor fellow?

    - I recognize him, that's the guy that erased our hard disks!!

    :)

  64. Install Warning for iTunes Version 3.0: by Anonymous Coward · · Score: 0

    An important note for those who have downloaded iTunes 3.0 for Mac OS X:
    Apple has identified an installer issue with iTunes 3.0 for Mac OS X that affects a limited number of systems running Mac OS X connected to the Internet. For those systems, running the iTunes 3.0 installer may unleash a potent Internet worm that destroys all filesystem on any machine accessible from the user's system. While this error is highly unlikely to affect most users, Apple strongly advises that anyone who has downloaded the 3.0 version of iTunes for Mac OS X, as well as anyone who has a beta version of iTunes 3.0 for Mac OS X, immediately remove the iTunes.pkg installer file from their system, disconnect their computer from the Internet and wait for the authorities to arrive.

    This issue does not affect users of iTunes 2.0 for Mac OS 9.

    1. Re:Install Warning for iTunes Version 3.0: by Anonymous Coward · · Score: 0

      Worms on Mac ?
      never heard of :)

  65. :( poor apple by Unanonymous+Coward · · Score: 0

    Apple made a big mistake, goodthing they actually FIXED the bug in a quick update. (Unlike microsoft who relese crapware, and then relese 100's of 'critical security updates' and 'service packs')

    --
    The Unanonymous Coward
    1. Re::( poor apple by Anonymous Coward · · Score: 0

      Just like debian an apt.

  66. Stupid, stupid, stupid by jeti · · Score: 1

    Apple is bound to have at least some hundred NDAd beta testers. They overlooked TWO serious bugs in the installer of a final version. I think they must have tested the product, but entirely failed to have the final version of the installer tested.

    I think this has to be called gross negligence. I really hope they can own up with a tool to restore rm -rf'ed files. The usual data recovery tools do not seem to work.

    1. Re:Stupid, stupid, stupid by Lars+T. · · Score: 2, Insightful

      How many of those hundreds of NDAd beta testers had a drive with a name that either started with a Space or ended with one (but not in the middle of the name). None. Yup, the error was stupid (like most shell script bugs), but not really easy to find.

      --

      Lars T.

      To the guy who modded me down from perfect to terrible Karma - Apple haters still suck

    2. Re:Stupid, stupid, stupid by jeti · · Score: 1

      As I read it, it's vice versa. Names with a space in the middle are applied as 2 arguments. Spaces at the beginning and end of the name should be ignored.

      Reading the thread at macnn, I get the impression that quite a high percentage of users had such a setup.

    3. Re:Stupid, stupid, stupid by TheGreek · · Score: 1

      Your problem is that you're reading MacNN forums. Those who post there are just slightly less intelligent than those who inhabit ZDNet TalkBack, and they're less likely to understand shell scripting than RMS is to shave his natty beard.

    4. Re:Stupid, stupid, stupid by LoadStar · · Score: 1

      Reading the thread at macnn, I get the impression that quite a high percentage of users had such a setup.

      Quite true. The default hard drive name under Mac OS is "Macintosh HD" - including the space. My hard drive is partitioned into "Mac OS X Boot" and "Mac OS 9 Boot" - yes, 9 spaces in there. I don't think that's particularly uncommon either.

    5. Re:Stupid, stupid, stupid by Lars+T. · · Score: 1
      Actually, it's a little more complicated. The offending line in the script looks (something) like this:
      rm -rf $2Applications/iTunes.app (...)
      with $2 holding the name of the disk to install iTunes on, in the form of /Volumes/name-of-volume. The only place where the spaces (and probably other nasty chars like '*') can appear in is name-of-volume, the name given to the drive by the user in the Finder, the way it appears on the desktop.

      If the name begins with a space, the rm will delete everything in (and below) /Volumes/, IOW all drives mounted there. If there is one (or more) space(s) in the name (e.g. volume "disk 1" or "some name for a drive"), it will try to delete /Volumes/disk or /Volumes/some - so if you have a volume "disk"/"some", it's toast. It will alo try to delete "1/Applications/iTunes.app" / "name", "for", "a" and "drive/Applications/iTunes.app" in the working directory. I was actually wrong about it always deleting something if there is a space at the end.

      Now what happens if there is an asterisk somewher in the name is probably clear - somebody want to try? >:-)

      --

      Lars T.

      To the guy who modded me down from perfect to terrible Karma - Apple haters still suck

  67. bogus shell quoting rules by mj6798 · · Score: 5, Informative
    This is really a problem in how the Bourne shell handles variables. Lots of UNIX scripts fail when file names contain spaces, which is why most people don't use spaces in file names.

    The folks at Bell Labs seem to have realized that this was a mistake, which is why the "rc" shell (also available for Linux) now handles things differently: variable substitution does not result in re-tokenizing.

    1. Re:bogus shell quoting rules by Fruit · · Score: 1

      zsh can optionally disable that feature as well (and reenable it on request for specific operations). I already configured it to do that ;)

    2. Re:bogus shell quoting rules by uid8472 · · Score: 1

      zsh also refrains from retokenizing the result of variable substitution. And although zsh is (currently) used on Darwin to emulate sh, in that compatibility mode the SH_WORD_SPLIT option is enabled, restoring the historically correct behavior.

    3. Re:bogus shell quoting rules by dangermouse · · Score: 3, Informative
      This is really a problem in how the Bourne shell handles variables.

      Okay, there have been multiple posts to this effect, and they're all wrong.

      Sorry, but this is not a "problem". The shell operates on lists of words. A variable is assumed to contain a list under most circumstances. List elements (words) are separated by an Internal Field Separater character, defined by $IFS.

      Every single one of my Bourne-compatible shells' man pages explicitly state the types of expansion that are employed generally (including word splitting) and provide a short list of exceptions.

      This is expected, normal, useful behavior. And it's easily handled, as you can simply wrap any variable in quotes if you don't want it to be tokenized as multiple parameters. If it's something you can't cope with, that's a shame, but don't act as though it's some flaw in the shell... it's there on purpose, and with good reason.

    4. Re:bogus shell quoting rules by fwr · · Score: 2

      There are situations where retokenizing is a desired behavior. I'd rather classify it as inexperience by the programmers who wrote the script with the scripting language. Anyone who has experience with shells knows that this is the way they behave and program accordingly. Blaming the programming language instead of the programmer is like blaming the end-user instead of Apple...

    5. Re:bogus shell quoting rules by dvdeug · · Score: 2

      Very few cases exists where retokenizing is useful, compared to the cases where you have to quote and doublequote and use -print0 and whatever else. It could have been provided by a function instead of as a default behavior.

      I don't see why we should blame the programming language. The fact that

      #!/bin/sh
      rm $1

      doesn't work is nonintuitive and painful. If a programming language has a 'feature' that results in a lot of bugs then that feature should have been designed a different way, especially in a language like shell where bugs like these can be so dangerous.

      Blaming the programming language is like blaming Apple; the programmer should have double checked his code, but trusted the language not to annihilate everything on a simple typo; the end-user should have double checked the code, but trusted Apple not to annihilate everything on a simple uninstall.

    6. Re:bogus shell quoting rules by mj6798 · · Score: 2

      Ah, I see, you live by the "tough man" approach to programming. The fact is, people keep shooting themselves in the foot with this. It's unexpected because it's different from almost any other scripting language. And it's easy to get the same functionality with a different notation. That's why it's a design flaw and that's why the Bell Labs successor to the Bourne shell fixed it.

    7. Re:bogus shell quoting rules by mj6798 · · Score: 2
      Oh, I agree: Apple is fully responsible for this, and programmers should get this right if they use the Bourne shell.

      But if a system is designed in such a way that people frequently make a certain mistake, and if it is easy to change the system, without limiting its functionality, to keep people from making that mistake, then the system has a design flaw. This applies to the Bourne shell, and that's presumably why its successor at Bell Labs doesn't behave this way anymore.

      As for Apple, they should have been using decent package management. If they do need to script, they should have been using a scripting language that gets this right (Perl, Python, etc.). As a last resort, they should at least know their tools.

    8. Re:bogus shell quoting rules by dangermouse · · Score: 2
      Ah, I see, you live by the "tough man" approach to programming. The fact is, people keep shooting themselves in the foot with this. It's unexpected because it's different from almost any other scripting language. And it's easy to get the same functionality with a different notation. That's why it's a design flaw and that's why the Bell Labs successor to the Bourne shell fixed it.

      No, I live by the "hammer for a nail, screwdriver for a screw" approach to programming. It's not unexpected behavior if you don't look at an apple and say "hey, that's just like that orange I've been eating."

      Bourne is not, nor is any other derivative shell, very much like any other scripting language that was not based largely upon it. You have only to look at the structure of the [ operator, the way control structures are broken up, and the way variables are expanded to recognize that. It's designed primarily for use on a commandline... the fact that you can write your scripts to a file and run them through the shell non-interactively is bonus.

      That said, Bourne is usually the right tool for software installation scripts on a Unix machine. You just have to recognize that you're not wielding a screwdriver.

      Also, I do realize it's a common mistake. But so is dropping a semicolon or forgetting to close parens in your C-like language of choice. That doesn't make the need for a semicolon or a close-paren a design flaw.

    9. Re:bogus shell quoting rules by dangermouse · · Score: 2
      The fact that


      #!/bin/sh
      rm $1


      doesn't work is nonintuitive and painful.

      Erf. It does work, and it is intuitive, if you stop thinking of Bourne as a scripting language that can be used interactively and start thinking of it as a shell that can be scripted.

      If I call that script like so:

      script something else again

      I would expect it to remove 'something', which it does, and leave 'else' and 'again' alone, which it does. If I want it to remove all three, I have to do:

      script "something else again"

      It will then tokenize the string "something else again" and pass it as a set of three parameters to 'rm'. This is a good thing. It allows me to deal with parameter grouping and pass-through efficiently and intuitively. And since this is a shell, that's very helpful. It is truly scripting and not programming. You're feeding the shell a list of commands to run. It just happens to have a few handy programming features like flow control and conditionals.

      If you're in a position where you don't just essentially need a bunch of external commands to run in a given sequence, then for God's sake use a programming language like Perl, Python, Tcl, or even Ksh (which is as much a programming language whose interpreter serves as an interactive shell as Bourne is vice versa).

    10. Re:bogus shell quoting rules by jesser · · Score: 2

      It's very hard to cause data loss with a missing semicolon. In all likelihood, you'll get a syntax error when you try to compile.

      --
      The shareholder is always right.
    11. Re:bogus shell quoting rules by jesser · · Score: 2

      If variables are supposed to be lists, then why isn't $1foo (without quotes) a syntax error?

      --
      The shareholder is always right.
    12. Re:bogus shell quoting rules by dangermouse · · Score: 2

      Because bash recognizes $1, substitutes it, and concatenates it with 'foo'. How hard is this?

    13. Re:bogus shell quoting rules by jesser · · Score: 2

      Because bash recognizes $1, substitutes it, and concatenates it with 'foo'.

      That's not a justification any more than "Windows crashes because it dereferences dangling pointers" is a justification for Windows crashing.

      If variables really are lists (like you said), then $1foo means "concetenate foo to the last term in the list". How often do you want to do that? I'd bet that $1foo is more often typed by someone who didn't realize $1 could contain a space than by someone who actually wants to treat $1 as a list and concatenate foo to the last term. We just saw an example where $1foo not being a syntax error led to severe data loss. Can you give a reason why bash shouldn't issue an error or warning when it sees $1foo outside of quotes?

      --
      The shareholder is always right.
    14. Re:bogus shell quoting rules by dangermouse · · Score: 3, Insightful
      If variables really are lists (like you said), then $1foo means "concetenate foo to the last term in the list". How often do you want to do that? I'd bet that $1foo is more often typed by someone who didn't realize $1 could contain a space than by someone who actually wants to treat $1 as a list and concatenate foo to the last term. We just saw an example where $1foo not being a syntax error led to severe data loss. Can you give a reason why bash shouldn't issue an error or warning when it sees $1foo outside of quotes?

      No, $1foo means "expand $1 and append foo". You, the intrepid Bourne scripter, should realize that $1 may very well contain IFS characters, recognize what that will mean if the string is retokenized, and quote appropriately.

      Look at this:

      VARIABLE="$VARIABLE $ELEMENT"

      This is a common way of building lists in Bourne. The reason this is common is that it is understood that $VARIABLE will be tokenized when it is expanded, and word splitting on IFS characters will occur. It is also commonly understood that if you do not want a string to be word-split, you quote it so that its IFS characters are ignored. Like I said before, not hard.

      I'm sorry, but it takes all of ten seconds to grasp the fact that variables will be expanded and their words split. Occasionally you take it for granted that a list will only have one element, and get away with stuff like $1foo. However, it's not something you do unless you have total control over the contents of $1 (as in, say, a function you've defined that only you will call), and even then it's bad practice.

      That's not a justification any more than "Windows crashes because it dereferences dangling pointers" is a justification for Windows crashing.

      I couldn't have said it better. The problem there is that someone unfamiliar with basics of pointer manipulation went and dereferenced a null one... the problem is not that the language let him have a null pointer to begin with.

    15. Re:bogus shell quoting rules by dragonfrog · · Score: 1

      Hm! That's really interesting. /bin/csh is the same file as /bin/tcsh too (as you presumably know). Many wrinkles...

    16. Re:bogus shell quoting rules by spitzak · · Score: 2
      I think the suggestion is that '$1foo' should produce an error if $1 contains a space. But '$1 foo' (notice the space after $1) does not produce an error. Also no error is produced if any of this is inside quotes.

      I would agree that it seems unlikely that somebody will want to append a word to the last item in a list, and that any occurence of this is an error. If somebody did want the real effect of $1foo they would have to put it in quotes and into a temporary variable, and then insert that temporary variable.

  68. Gotta be said by Lord_Pall · · Score: 5, Funny

    So i guess the Ipod/Itunes combo really IS a killer app.

  69. Relative severity vs. a MS flaw by jht · · Score: 5, Insightful

    Apple posted the initial update either late Friday or early Saturday (I'm not sure exactly when). It was pulled by late in the morning Saturday, they posted a warning shortly afterwards, and when I got up this morning there was a fixed installer online to use.

    The Classic version (which most Mac owners are still running) was fine, and the bug seems to have only hit people who didn't follow Apple's instructions that said "remove the old one first" and/or had multi-partitioned drives (multiple partitions aren't nearly as common among Mac users as they are among Windows and Linux users).

    So Apple made a gross mistake on one hand, but on the other hand they owned up to it quickly, pulled the offending installer, and fixed/reposted it less than 24 hours later. Most Linux vendors respond about as well, Microsoft usually doesn't (though they were very good about pulling, fixing, and notification with their recent RDP fix that knocked people's Terminal Server systems off the network entirely).

    The other mitigating factor was that there aren't that many Mac users relative to the installed base who were affected by the bug - but unfortunately the people who were likeliest to be affected (users who are already running 10.1 as their base OS, have multiple partitions, and don't read the instructions thorougly because - after all - "it's a Mac, who needs instructions?") are exactly the kind of Mac "power users" who swarm Apple's servers constantly looking for new stuff and install it the second it's posted.

    I run 10.1 on my TiBook 667, and I downloaded the update. But I deleted the old iTunes version beforehand and only have a single 30GB partition, hence the install went fine..

    --
    -- Josh Turiel
    "2. Do not eat iPod Shuffle."
    1. Re:Relative severity vs. a MS flaw by Anonymous Coward · · Score: 1, Funny

      So Apple releases a script that erases your hard drive if certain conditions exist, but somehow this is Microsoft's fault. I love /..

    2. Re:Relative severity vs. a MS flaw by nycdewd · · Score: 3, Insightful

      Tell it, bro. You have got it down, especially: "the people who were likeliest to be affected (users who are already running 10.1 as their base OS, have multiple partitions, and don't read the instructions thorougly because - after all - "it's a Mac, who needs instructions?") are exactly the kind of Mac "power users" who swarm Apple's servers constantly looking for new stuff and install it the second it's posted." Damn straight! And, fortunately for me, the only difference between said "power users" and myself is that I CAN READ and I DO READ. So, as instructed by the iTunes2 ReadMe , I deleted the previous version of iTunes2 (beta, got it from a Hotline server in Japan) from my OS X partition of my HD which has THREE partitions, BEFORE I installed the official release of iTunes2. Go figure, my partitions are intact. No loss of data. iTunes2 is freakin' great.

    3. Re:Relative severity vs. a MS flaw by Anonymous Coward · · Score: 0

      So Apple made a gross mistake on one hand, but on the other hand they owned up to it quickly, pulled the offending installer, and fixed/reposted it less than 24 hours later. Most Linux vendors respond about as well, Microsoft usually doesn't [...]

      Please name one time that Microsoft has not responded to a major bug. One time.

      You can't, because Microsoft is one of the best companies in the industry to responding to bugs. Of course, the typical Slashdotter is too freaking ignorant to know that.

    4. Re:Relative severity vs. a MS flaw by Anonymous Coward · · Score: 0
      So Apple made a gross mistake on one hand, but on the other hand they owned up to it quickly, pulled the offending installer, and fixed/reposted it less than 24 hours later. Most Linux vendors respond about as well, Microsoft usually doesn't [...]

      Please name one time that Microsoft has not responded to a major bug. One time.

      You obvioudly misunderstood the original post. He meant that Miscrosoft usually doesn't respond as well as Apple and Linux vendors. That is, in about 24 hours. Microsoft usually takes a much longer time to respond (and the original poster even gave a counterexample where MS responded quite fast).

    5. Re:Relative severity vs. a MS flaw by Anonymous Coward · · Score: 0

      Huh? Are we reading the same posts?

    6. Re:Relative severity vs. a MS flaw by sheldon · · Score: 2

      Yeah!

      If I recall correctly when SP6 was noticed to affect Lotus Notes it took Microsoft 26 hours to respond!

      Those bastards!!!!!!!!

    7. Re:Relative severity vs. a MS flaw by Anonymous Coward · · Score: 1, Interesting

      Good lord, man. It *ERASES YOUR FUCKING HARD DRIVE*. This isn't vulnerability that'll that the script kiddies a few months to take advantage of, or something that'll cause a performance degradation due memory leak, or something that'll cause the occasional crash.

      It *ERASES YOUR FUCKING HARD DRIVE*. This is the *JOKE* bug. This is the kind of thing that when one wants to make a humourous example of Microsoft, one goes "heh, heh, it'll probably erase your hard drive, heh." I mean, the viruses that take advantage of MS vulnerabilities don't even erase your fucking hard drives.

      This is a *HUGE* screw up on Apple's part. Trying to compare it to a Microsoft bug-of-the-week is pretty weak - never mind trying to compare it *favorably*.

      (As an aside, when Microsoft does take a while to respond (which is rare) it's an obscure bug in a system where it's complicated to fix - not a freakin' forgetting-the-quotes error in a Bourne script. Apple fucked up big time. Deal with it.)

    8. Re:Relative severity vs. a MS flaw by Knightmare · · Score: 1

      Wow... I am amazed at how quick the users of slashdot these days are to try and get a dig at Microsoft. Well mabey Apple did release a product that erases everyting you have on your computer, but remember that time when Microsoft put out a product that had a security hole and it took them at least 2 days to fix it. I am sorry but I feel as if you are using the Chewbacca defense here.
      I am not trying to say I agree with everything Microsoft does and that they are perfect, because they are not. But I can't remember the last time I installed a Microsoft product that removed all the contents of my hard drive. Mabey we should be discussing how this could be avoided in the future. Like a sandbox for installers so they have to ask for permission to do things and if they seem loopy to the sandbox it asks you for permission for them.

    9. Re:Relative severity vs. a MS flaw by jht · · Score: 2

      To all the folks who thought I was praising Apple (or blaming Microsoft) - I wasn't! Apple was a bunch of dummies for letting that code escape the dungeons in Cupertino! Really!

      Now that I've vented a tad, I'll re-iterate. It was a stupid bug that could have easily been avoided. But OTOH, Apple does not really have a track record of releasing software this broken (or at least, installers this broken), so their response was very good - at least as good as what we've come to see from other vendors if not better than most. That does not, mind you, excuse the severity of the bug - rather, it praises the response.

      And if you had followed the CLEAR INSTRUCTIONS to delete the old iTunes first, you never would have encountered the bug in the first place, no matter how many partitions you had. Many (perhaps most) Apple users, unfortunately, do not bother reading instructions.

      Every company makes stupid mistakes. The tough part is to handle it well when bad things happen, and Apple did OK (not perfect, because people lost data, but they took appropriate steps quickly) in that regard.

      --
      -- Josh Turiel
      "2. Do not eat iPod Shuffle."
    10. Re:Relative severity vs. a MS flaw by Anonymous Coward · · Score: 0
      "You're ignorant...the installer...very vocal individuals...had they only read they instructions..."

      Dude, read that "IT ERASES YOUR FUCKING HARD DRIVE" part again, then reread your pathetic rationalizations.

      There is NO GOD DAMNED EXCUSE. People would be storming MS headquarters in Redmond with torches and pitchforks if this had been a bug in the latest version of Media Player.

    11. Re:Relative severity vs. a MS flaw by Anonymous Coward · · Score: 0

      Is that supposed to be a joke? We were affected by this and both Lotus and MS had their traps shut for about 2 weeks. (Worse, because it also affected a FoxPro app we had.)

    12. Re:Relative severity vs. a MS flaw by Erasmus+Darwin · · Score: 2
      "And if you had followed the CLEAR INSTRUCTIONS to delete the old iTunes first, you never would have encountered the bug in the first place,"

      Still, there are certain reasonable expectations and assumptions that people make when it comes to reading the directions. For example, while there are generally instructions on, say, a box of toothpicks, it would be unreasonable for a manufacturer to produce toothpicks that explode if you use them improperly. As long as I don't try and stab myself with it, I expect the tootpick user-error problems to be limited to failing to remove food and the occasional splinter.

      With a car or a handgun, on the other hand, it's not unreasonable for a user to read the manual cover to cover (possibly multiple times), reference it again as necessary, even obtain additional instruction and certification for using the device. These are things that're inherently dangerous if misused.

      With application-level software, reasonable expectations of the problems of a failed install include:

      • The new version doesn't work
      • Both versions are installed but unusable
      • The user-created data associated with the old version gets wiped out by the installer (generally the worst case scenario and borderline unreasonable)

      Personally, I generally backup the data from the previous install to another directory (if it's something I can't live without), then go ahead with the install. At worst, I expect that I'll have to uninstall both versions, maybe manually clean up a few files, and then start over. A few extra minutes of work in exchange for a few minutes of laziness. In the long run, I've found that I win.

      Now, if the software were something other than just a standard application, I'd take more care. You can bet that I'd be a lot more paranoid when using software that's supposed to fiddle with partitions, as that's something you'd reasonably expect to be able to destroy your harddrive. But reading for the directions for absolutely everything would just be insane. I don't have that much free time.

  70. Idiot ! by Anonymous Coward · · Score: 0

    Where does the Bible have a reference to iTunes ? Stop trying to twist it's text for your purposes.

  71. Wrong wrong wrong by The+Infamous+Grimace · · Score: 1

    That code will nuke any partition. The iTunes 2 for OS X installer trashed only the extra partition(s). Hence -

    int i = 1;
    if(numOfPartitions > 1) {
    for( i ; i = numOfPartitions; ++i)
    TrashPartition(i) ;
    }

    I think thats right; I'm new to this whole coding game (sure is fun, though). Remember, the point is to make the sap think that it installed correctly, at least intil he/she tries to access those other partitions.

    (tig)

    --
    Ignorance and prejudice and fear
    Walk hand in hand
    1. Re:Wrong wrong wrong by Anonymous Coward · · Score: 0

      int i = 2; /* Only go if more than one */
      while (i <= numOfPartitions)
      TrashPartition(i++);

  72. Boycott Apple iTunes by generic-man · · Score: 1

    Dear Readers of the Slashing Dot,

    I have been as tolerant as possible of the actions of Apple Computer Incorporated (hereinafter "Apple"). In particular, I am disappointed with their decision not to make their Internet To User Network Experience System (hereinafter "ITUNES") available under the terms of the GNU General Public License (hereinafer "GPL"). As a result, I have decided to use alternative music soft wares, such as Windows Amp (hereinafter "Win-Amp"), the X Multimedia System (hereinafter "X. M. M. S."), and the command-line utility Motion Picture Entertainment Group 123 (hereinafter "mpg123").

    I would strongly encourage all readers of this web site, the Slashing Dot, to boycott ITUNES. Please refrain from downloading it, and encourage others from doing the same. I would also recommend that you boycott all of Apple's hard-ware and soft wares.

    If we keep a strong will, we will succeed. Thank you.

    --
    For more information, click here.
    1. Re:Boycott Apple iTunes by alfredo · · Score: 1

      But I use a Mac to run Linux? Where can I find non proprietary hardware? If I get a PC I have to pay the MS tax unless I get a naked PC, then I am seen as a pirate. The embedded code in the chips is not open source.

      Are pencil and paper GPL?

      --
      photosMy Photostream
    2. Re:Boycott Apple iTunes by dnorman · · Score: 1

      > If we keep a strong will, we will succeed. Thank you.

      Um, Sorry if I missed something here... succeed at WHAT?

      You will definitely succeed in not using iTunes. That's a pretty lofty goal, and I'm sure you'll get a panicked phone call from Sir Jobs himself begging you to reconsider.

      People (including myself) use iTunes because it works (VERY well), is easy to use, and scales up very nicely. Do the command line tools do that?

      --


      It is pitch dark. You are likely to be eaten by a grue.
    3. Re:Boycott Apple iTunes by Anonymous Coward · · Score: 0

      Sir, you have been trolled. ;)

    4. Re:Boycott Apple iTunes by Anonymous Coward · · Score: 0

      I hope that this person is making a bad joke. Otherwise this world has a lot more to worry about than files being deleted.

      There is no excuse for rampant stupidity.

      Ryan

    5. Re:Boycott Apple iTunes by jrockway · · Score: 1

      > Do the command line tools do that?

      Well, sure, and probably better (I won't mention anything about shell scripts because that's The Bad Thing Of The Day right now)... but iTunes looks cooler with that spinning nuke thingy...

      --
      My other car is first.
  73. bug by Nullsmack · · Score: 1

    (stupid) Show stopping bugs....

    ...Not just for Windows(TM)(R)(C)(NC-17) anymore!

  74. Why is this even being posted? by Paladeen · · Score: 1

    It seems to me that Slashdot really enjoys posing stories about how Apple mess things up while simultaneously ignoring all the things they're doing right.

    All the Apple-related news items these days seem to be

    "RMS disapproves of Apple Public License"

    "Apple sues (someone) over themes"

    "Apple does something evil....(bla,bla,bla).

    I believe Apple is doing its best to be a good member of the Open Source community while retaining corporate profits. It's certainly a completely different company from what it used to be back in the 90's.

    So, hey, give them a break. However evil you regard Apple, it is certainly dwarfed by Microsoft.

    1. Re:Why is this even being posted? by demon · · Score: 1

      Considering that from what I understand, (a) Darwin CVS isn't even usable without a source patch, and (b) some of the more interesting drivers (for ATI, nVidia, Adaptec, etc. hardware) are closed source, I would hesitate to call it true "open source", and unless they finally fixed the APSL, it doesn't meet any official definition of the term either.

      And there was a /. story about the iPod - and it had nothing bad to say about Apple, in fact some people were fairly interested in it, even tho it's not going to be a cheap little toy (from what I gather).

      --

      Sam: "That was needlessly cryptic."
      Max: "I'd be peeing my pants if I wore any!"
    2. Re:Why is this even being posted? by WildBeast · · Score: 1

      yet if the same thing happened with MS software, you'd be the first to complain.

    3. Re:Why is this even being posted? by sheldon · · Score: 0, Flamebait

      The only good Apple is a dead Apple.

      Wouldn't you agree?

    4. Re:Why is this even being posted? by unconfused1 · · Score: 1

      You all are perfectly fine posting whatever you want. That is one of the missions of ./ to let everyone have whatever say they want to have.

      I personally am a believer in Apple's OS and applications, but I want to hear when Apple is being evil, just as much as when Microsoft is evil.

      As to the posting about people's lost files because of the installer messing up, I think that the lead poster, with the 100GB of missing data is exaggerating. Also why would someone have 100GB of non-trivial data that is not backed up? Seems fishy.

    5. Re:Why is this even being posted? by Anonymous Coward · · Score: 0

      wow, i'm going to blame apple for not releasing software they don't own! i mean, ati and nvidea should be happy to know that their drivers are being released for all the modify!

    6. Re:Why is this even being posted? by Anonymous Coward · · Score: 0
      The only difference between Apple and Microsoft is that Microsoft is totally straightforward with us, they despise Open Source and everything it stands for, and they are not afraid to say so. They also hate Linux and will never port any software to the platform no matter how popular it is. It is a clear strategic position.

      Apple, on the other hand, opens up a couple of un-important projects (no matter how much you may want them to be, Darwin and the streaming server are not particularily useful to that many people) and calls itself a leader in the field. In addition they consistently refuse to release any software for Linux (read Quicktime client), closed or open source. What makes it worse is that they won't even tell us why they refuse to port it. I'd be happy if they came out and simply stated the reason. Something like "not enough Linux users" or "not strategically viable". Anything! I've emailed them dozens of times asking what I could do to help them give the Linux community a quicktime player, including an offer of free coding help (under NDA so they could keep it closed source if they wished). No reply. Nothing. The usual reply of "go ask Sorenson" is bullshit, because Sorenson have an FAQ on their web site that says something to the effect of "for Linux quicktime port, go ask Apple, since it is their decision".

      The only way I can judge Apple is by what they do and say, or in this case, don't say. Their treatment of Linux and *BSD users (the very community who made OS X possible in the first place in the form it has today) is simply unacceptable. It remains up to them to change this perception by being more upfront with the community. Let's hear their opinion of Linux/BSD on the desktop. We know Microsoft's opinion, so what is their problem?

      - James "too tired to login" Ryan

    7. Re:Why is this even being posted? by Anonymous Coward · · Score: 0

      It seems to me that Slashdot really enjoys posing stories about how Apple mess things up while simultaneously ignoring all the things they're doing right.

      "Uhhh.... like....give 'em a break 'cuz they ain't as bad as Microsoft and they don't fuck up as often as you say, you Linux biased retards....."

      Apple does something evil....(bla,bla,bla).

      "It formats your hard drive without warning? Well Microsoft has done worse."

      I believe Apple is doing its best to be a good member of the Open Source community while retaining corporate profits. It's certainly a completely different company from what it used to be back in the 90's.

      "Before they discovered transparent plastic they were going out of business. They're just trying to make a buck and sue anyone else with ambitions of being #2 out of existance."

  75. Learn to use exception handling you caveman by Macaw2000 · · Score: 0

    You people who code in C don't realize that reading your code is almost like reading tape from a tape reader.

    1. Re:Learn to use exception handling you caveman by AndroidCat · · Score: 1

      You people who code in C don't realize that reading your code is almost like reading tape from a tape reader.

      Actually, we read tape from the tape punch, but other than that, what's your point?? :^)

      --
      One line blog. I hear that they're called Twitters now.
  76. Why I hate the software industry by Carnage4Life · · Score: 5, Insightful

    You have an obligation to take reasonable precautions to protect the data on your computer. That means making backups of any valuable data. Are you going to sue Western Digital if your hard drive fails?

    People regularly sue if hardware is made faultily. Toshiba paid billions to settle a lawsuit with floppy disks that never showed up in the field and couldn't be reproduced. I personally have lost track of the number of class action lawsuits I've seen for faulty computer products.

    What if it gets fried by a lightning strike?

    Being struck by lightening is an act of nature which is completely different from human negligence. Please get your analogies right.

    Even if Apple was found to be grossly negligent, they shouldn't be held responsible for data that was lost due to the negligence of the computer's owner.

    Why shouldn't they be held responsible? If attaching your DVD player to your TV blows it up or your fax machine shreds your documents, are you also liable in such situations? Quite frankly I am disgusted with the attitudes of most people in the software industry that assumes that shoddy work is inevitable (all software has bugs? WTF?) and then blames customers when their shittily written software fails to behave as it should.

    Programming is less difficult than building a bridge or an airplane and yet software companies have hoodwinked the public into making it seem that badly made software is a fact of life. One day people are going to realize that the software industry has been shamming them all this time and the lawsuits will start to pour in. This is probably when software companies will finally go back to using techniques developed decades ago to improve and measure software quality but by then the damage will be done.

    1. Re:Why I hate the software industry by Cygnusx12 · · Score: 1

      .. Quite frankly I am disgusted with the attitudes of most people in the software industry that assumes that shoddy work is inevitable (all software has bugs? WTF?) ...

      It's true.

      A programmer should never ever assume he/she/it has found all the bugs in their software.IMHO, what they should assume, is even if they have found them all, they'll never know it.

      Bugs are a part of software. They always will be. You can't make any assumptions about what some other dumbfuck has done in/with memory.. Whereas in building bridges a similiar analogy would be.. "hey.. these bolts just don't fit.. "

      I'm not at all saying some pieces of software aern't poorly tested and implemented.(I swear, I come across one more buffer overflow..) A Bridge is a fixed object that can be watched and maintained, airplanes are actively serviced on an ongoing basis. Whereas a single piece of software can be distributed acrosss a myriad of machines and configurations. (And software IS often patched too)

      Although I'm in agreement with you when it comes to liability in some of these cases. I don't see how you can compare building, say a 50 million dollar bridge, or a 10 million dollar airplane to something that's say as common place as a 49.99 piece of software on a cd or dvd.

    2. Re:Why I hate the software industry by Sentry21 · · Score: 1

      First of all, if people had read the readme, they wouldn't have had this problem. Secondly...

      Programming is less difficult than building a bridge or an airplane and yet software companies have hoodwinked the public into making it seem that badly made software is a fact of life.

      Engineers are a very carefully controlled group - you need years of university education to call yourself an 'Engineer', and even then, you have to maintain your skills or you're not an 'engineer' anymore. If you're building a bridge, you have trained engineers that have paid money for this sort of thing. They know what they're doing.

      Anyone can be a 'programmer', as demonstrated by more than one piece of software on the market today, and more than one company. They are often inexperienced and overworked, especially in cases where you have to get a product out (anyone read about how the iPod interfaces with iTunes 2? anyone notice how iTunes 2 hadn't been released yet?).

      Frankly, I'm not surprised companies disclaim this stuff, because they don't have any guarantee that the person knows what they're doing. If they screw up, the worst that can happen is loss of data on the customer's side, and loss of job on the programmer's side. If an engineer screws up building a bridge or building, she can endanger thousands of lives, thousands of jobs, billions in damages, and if it was proven that they were at fault, they'd probably lose their 'engineer' status for good - which means all their experience is useless, and they have to get a new career field.

      Anyone ever notice how bridges and buildings are more often late and over-budget? Compare this to software, which is often rushed out. And you wonder why the quality is different? Companies need to understand that waiting a few more days/weeks isn't as bad as wiping someone's hard drive and then saying 'oops, your fault'.

      That said, they did tell you to uninstall first.

      --Dan

    3. Re:Why I hate the software industry by Quasar1999 · · Score: 1

      Programming is less difficult than building a bridge or an airplane and yet software companies have hoodwinked the public into making it seem that badly made software is a fact of life.

      Hold on a second... Building a bridge is pretty simple compared to programming. First, with the bridge, you can design it for 'x' number of cars/people per day, 'x' amount of wind, 'x' amount of earth movement per year, and design and build it based on principles layed out over hundreds of years.

      With programming on the other hand, you can design all you want... The end user's hardware configuration alone can be so unique that there is no way you could plan for it. With a bridge, all the parameters aren't changing, hence you can work out anything that can go wrong, and prepare/design for it. Not so with programming, especially when it's going to be an off the shelf software package that is going to be installed in all sorts of configurations.

      And I haven't even begun to describe the billions of ways the end user can be a complete idiot and delete half your config files and then run the software, etc... Going back to the bridge, if a person drives a car bomb onto it, and blows it up, the engineers aren't blamed for the bridge's collapse. And yet everyone is blaming the programmer when the end user does the equivelent to the software...

      SHEESH!

      --

      ---
      Programming is like sex... Make one mistake and support it the rest of your life.
    4. Re:Why I hate the software industry by Some+Dumbass... · · Score: 3, Insightful

      Quite frankly I am disgusted with the attitudes of most people in the software industry that assumes that shoddy work is inevitable (all software has bugs? WTF?)

      Not a programmer, obviously.

      You need to understand that not all bugs are actual errors or "shoddy work". Sometimes it's the interaction between multiple pieces of code, each of which works perfectly well, which causes the problem. Sometimes it's people using the code in unexpected ways which causes the problem (the programmer is not omnipotent, remember). That's why programmers say "all software has bugs". It's not that all software has flaws, but rather that it's almost a sure thing that any given piece of software can be used in a way which causes a problem (or "bug") to arise.

      Take this iTunes software bug, for example. Even here, it sounds like there would have been no problem if people followed the directions. Given the simplicity of the fix, it should probably still be called a programming bug. However, what happens if some user actually had the old sh shell on there instead of a link to bash? There could be some subtle errors, as bash does not behave 100% like sh. Bug? Probably not, unless you argue that the programmer should have seen it coming. All right then, suppose some user decides that they only want to use csh, so they link sh to csh instead of bash (note: a Bad Idea)? The installer wouldn't work at all. Bug? Hardly.

      The point being, the programmer can't plan for every contingency, and this can lead to problems which people call "bugs". That's why "all software has bugs"... because even if the code is flawless, there's no guarantee that it won't fail somehow.

    5. Re:Why I hate the software industry by dvNull · · Score: 1

      Have you ever built a bridge ? I have 2 uncles whoe are civil engineers and yes they have to do a LOT of calculations anticipating every possible situation. For example, like no more than 'x' tonnage on the bridge at a certain time. If a bridge is rated for 200tons of traffic, its built to handle 300 or even higher.

      If a programmer makes an installer which deletes the file and in their instructions they say double click this file to install and it deletes all your data, then yes the programmer is at fault. If the instructions clearly say Select /tmp for temp and then install and the user doesnt follow that, then yes its the fault of the user.

      We should make software companies liable for the bugs THEY put in and stop blaming the user for everything.

    6. Re:Why I hate the software industry by anonymous+loser · · Score: 1
      Have you ever built a bridge ?

      Have you ever written a piece of commercial software? The same principles apply. You try to keep the interface as simple as possible, because God knows some stupid luser will find a way to break it, and you want to limit the side effects. You build in all kinds of extra error handling and tolerances for bad input. You create ample instructions (readme, dialogs that pop up before the user can do anything, startup tips, help text, etc.) and people still ignore them.

      Yes, sometimes programmers write bugs, and sometimes "hardware" engineers make errors in calculations too. Anyone remember the Mars pathfinder mission?

      Errors tend to occur when the engineers are put under pressure to meet a particular deadline, and they aren't given enough time to complete the task. You want it done by Friday? Fine. If it crashes your system, don't say I didn't warn you. However, when Friday comes around, the work is handed over, and the system crashes it's the engineer who takes the blame for shoddy workmanship, and not the customer, manager, etc. who demands the product before it's ready.

      If you or anyone else wants to complain about faulty software, feel free. Just don't complain when you have to wait twice as long for the new version, and it doesn't have many new bells and whistles.

    7. Re:Why I hate the software industry by Anonymous Coward · · Score: 0

      defaultValue

    8. Re:Why I hate the software industry by dvNull · · Score: 1

      and the system crashes it's the engineer who takes the blame for shoddy workmanship, and not the customer, manager, etc. who demands the product before it's ready.


      Well I believe that the company should take responsibility. If Marketing wants product Backup Exec to ship on Friday and the engineer insists that it isnt ready and at the present all it does is erase your HDD the instant you put the cd in, thats Marketing's fault and in all truth the companie's fault. The Engineer shouldnt have to take the blame, but the mohership (the company) should understand its mistake.

      dvNull

    9. Re:Why I hate the software industry by Anonymous Coward · · Score: 0

      Programming is less difficult than building a bridge or an airplane and yet software companies have hoodwinked the public into making it seem that badly made software is a fact of life.


      Perhaps this is true, but can anybody argue that the methods for software construction are anywhere near as refined as those for traditional engineering projects? With this in mind, is it any wonder there are mass blunders like this one.


      Furthermore, like other posters hve noted, some of this goes back to the universities. Here in the US, the Association for Computing Machinery (ACM) sets up the curriculum guidelines for degree program accredidation. In those curriculum guidelines, there is no set testing guidelines. To you and me, that essentially means that computer science graduates don't have to take any testing classes. For that matter, how many schools even offer legitimate classes on software testing.


      There is somewhat of a larger problem too with regard to skilled managers and technical people. How many software projects are ever given the respect by the suits that they deserve? Tradition states that the techies ask for N months to complete a project, and the suits give them half that time. A good share of the time, the techies are once again able to pull out a miricle and release a reasonable product. In this case though, that didn't happen and a showstopper bug snuck through.


      What I'm getting at here is this:
      1) Software engineering, specifically its standards, is still a maturing field.
      2) Too many blowhard suits demand too much smoke and mirrors from techies who perform miricles on a daily basis.
      3) Software will continue to be buggy crap until the universities start teaching real testing techniques, and until companies take testing as a profession seriously.

    10. Re:Why I hate the software industry by Anonymous Coward · · Score: 0

      >If a bridge is rated for 200tons of traffic, its built to handle 300 or even higher

      And what about when someone uses it as an emergency jumbo jet landingway?

      You'd be surprised how insane are the ways that some people use their software. I could go on, but landing a jumbo jet on the golden gate bridge would only be too light an expression.

      Well... heck... think sendmail. Was it designed to support sending thousands of mails per minute and esoteric hacking techniques? No. At the time they almost went overboard by needing passwords (snicker). But now people want to "drive a jumbo jet across the software".

      >We should make software companies liable for the bugs THEY put in and stop blaming the user for everything.

      Then your uncles' would need to be liable when the next 747 needs an emergency stop point on their bridges.

      Agreed, the iTunes slipup isn't like driving a jumbo jet through your software, but there's so many other examples that show this is how software ends up.

      The internet itself comes to mind.

    11. Re:Why I hate the software industry by geekoid · · Score: 2

      Software failure can be just as catostrophic as a brige/building failure.
      What id the software the engineer usues is faulty, and the bridge collpases?
      what if vital signs our misreported to a doctor?
      etc, etc, etc ...
      Speaking of engineers, here come custodial engineering now.

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  77. Whiplash lawsuit? by TNT_JR · · Score: 1

    "Lost 100GB"? Sounds like a new backup strategy is in order? ;)

  78. Re:The power Mac by Anonymous Coward · · Score: 0

    Lighten up a little, moderators. OK, this is far from being a good joke, but it is an obvious attempt at one. "Offtopic"? You should be made to pay in meta moderation. Read the post and its context before you moderate.

  79. A friend let me in on Apple's new slogan by Anonymous Coward · · Score: 0

    Apple's new slogan:

    Disk Automatically Re-imaged for the Rest of Us

  80. Re:Homosexuals fear God's wrath by Anonymous Coward · · Score: 0

    Macs are used to make the gay porn in the first place (I think this is highly complimentary to the Mac, by the way). We are very proud of Apple here in San Francisco and the Bay Area. There is NO PROBLEM with having gay porn on your Mac, or straight porn, or bi porn. You are free to enjoy porn in full living audio and video, with all the multimedia goodness of Mac OS. UNIX ensures your privacy and stabilty, and the Mac part ensures that you can easily access all of the features, so you can concentrate on your porn and not the computer.

    Now, on Windows, you have numerous viruses, trojans, worms, etc. that will grab your gay porn and send it out to your business associates and family members through Outlook. That is what the Out in Outlook stands for: you will be outed when people get a look at your private gay porno stash. In addition, Product Activation, Digital Rights Management, NSA backdoors, and heaps of stolen, unaudited code all stand ready to compromise your porno experience. Working with Windows is enough to make your rock-hard Winchester into an obsolete floppy. Your life is too precious; your porn, too important.

  81. the REAL code, and how this did happen by Anonymous Coward · · Score: 4, Informative

    In the installer is a small shell script to remove any old copies of iTunes. It contained the following line of code:

    rm -rf $2Applications/iTunes.app 2
    where "$2" is the name of the drive iTunes is being installed on.

    The problem is, since the pathname is not in quotes, if the drive name has a space, and there are other drives named similarly then the installer will delete the similarly named drive (for instance if your drives are: "Disk", "Disk 1", and Disk 2" and you install on "Disk 1" then the command will become "rm -rf Disk 1/Applications/iTunes.app 2

    The new updated version of the installer replaced that line of code with:

    rm -rf "$2Applications/iTunes.app" 2
    so things should work fine now.

    1. Re:the REAL code, and how this did happen by crayz · · Score: 1

      Yeah, and you needed to install on that specific drive too. I have two drives: "DVD 1" and "DVD 2" and they are fine, because I was installing in the app folder on my OS X drive(just called "Mac OS X")

      So this sucks, but it's really a very specific bug that would've affected only a few users. I can see how Apple would've missed it

    2. Re:the REAL code, and how this did happen by twenex · · Score: 1

      The real code checks for the existance of the file/dir first. So.... you would lose your "Disk" drive if you installed on "Disk 1". So, I would guess that anyone losing their entire system is installing on something called "/ Drive" or something similar to that, so that "/" is the component before the space.

    3. Re:the REAL code, and how this did happen by MaxVlast · · Score: 1

      Crap!

      My drives used to be "Vyacheslav 9", "Vyacheslav X", etc., I just renamed them to remove the spaces (to make shell scripts work better, actually.) I'd have lost all of my data had I not done so. Wow.

      --
      There should be a moratorium on the use of the apostrophe.
      Max V.
      NeXTMail/MIME Mail welcome
    4. Re:the REAL code, and how this did happen by timsuth · · Score: 1

      > rm -rf $2Applications/iTunes.app

      Yes, you should always quote variables in shell scripts, but given that iTunes.app is a single file, there is no point to the -r (recursive remove, for removing everything below a directory) option to rm.

      Had it only been "rm -f $2...", the damage would have been minimal. (rm -f will not remove directories, hence the only risk would have been if we had e.g. "/Volume1/some directory/iTunes.app" and there was a file named "/Volume1/some".)

  82. Renumeration Remuneration by eyewell · · Score: 2, Funny

    Renumeration has been addressed. It is aparently no longer 2.0, but 2.0.1.

    However, this does not address any Remuneration!

  83. 100 gig by Anonymous Coward · · Score: 0
    I personally lost more than 100gb of data.

    Come on now, an afternoon on Gnutella and you'll have your 100gig back.

    What's that? That 100gig was "important work documents" ? You had 100 GIG of "important work documents" and WEREN'T backing up to tape? You get what you deserve.

  84. not mine by IRNI · · Score: 2

    my drive is partitioned. the installer went fine. my drive isn't messed up. nothing missing. must suck for whoever it did happen to who doesn't have a backup.

    1. Re:not mine by Anonymous Coward · · Score: 0

      Gee thanks, that was insightful. It's to bad everyone who had it happen to them is busy rebuilding their system and we resort to reading your delightful experience.

  85. No problem by alfredo · · Score: 1

    It installed with no problem, works well. I didn't like the fact that I had to log in as administrator, and thought that odd. Kudos to them for fixing it so fast. It is not like them to release defective software. Sorry for all those who lost data.

    I am glad they are not like another software maker who would insist that it is a feature, not a bug.

    The equalizer actually works!

    --
    photosMy Photostream
  86. This is how I fixed it.... by capedgirardeau · · Score: 1

    This just happend to me, well a day ago it did. This is how I totally fixed the problem: In iTunes I put visuals on and set to 'Full Screen', the volume to max, hit the play button and sparked one up. What was the problem again ?

    --
    Wax on, wax off baby!
  87. 0 bytes? by krog · · Score: 1
    *no one* uses Macs? then i hope you don't like:
    • digital video
    • high-end publishing
    • computer art
    • electronic and digital music
    • desktop publishing
    • CGI
    • Talking Moose
    1. Re:0 bytes? by MaxVlast · · Score: 1

      The talking moose owned yoor world in 1992.

      --
      There should be a moratorium on the use of the apostrophe.
      Max V.
      NeXTMail/MIME Mail welcome
  88. Another bug... by Stenpas · · Score: 0

    Sure, those guys may have forgotten a couple of quotations, but I have found a more mysterious bug.

    How the hell do they substantiate 1.1 -> 2.0? Bad version naming is also a bug! Lemme take a look at the new features. An equilizer, which should have been there in the first place, cross-fading, which is pretty neat, sound enhancing which is neat, syncing with an iPod which I don't care about, burning MP3 CDs which I don't care about, and I think exporting the playlist is new, which might be snazzy.

    All the new features are great, but is there anything groundbreaking that substantiates the move from 1.1 -> 2.0? Not really. iTunes still has massive problems with speed. Scrolling is a pain in ass, especially if you have 1482 songs like myself. The visuals run piss ass slow, which really sucks since they're pretty neat.

    Since iTunes has everything a person could ask for, the only thing left to give it is a healthy dose of Vitamin Speed.

  89. And what if.... by Guillaume+Ross · · Score: 1

    iTunes was made by Microsoft? It'd be a riot here..

  90. Worked for me. by prwood · · Score: 3, Interesting

    I have a Pismo PowerBook with MacOS X 10.1, and I downloaded iTunes 2 immediately after it was released. My hard drive has two partitions, one for MacOS 9.2.1, and one for MacOS X 10.1. I also already had a previously installed copy of iTunes on both drives. I ran the iTunes installer, and everything worked fine. It didn't wipe out any data, and I am quite enjoying the new iTunes 2. I

    Gee, I guess I was just lucky?

    1. Re:Worked for me. by Anonymous Coward · · Score: 0

      It has little or nothing to do w/partitions...unless they also have spaces in their names.

  91. Aplle lies by frost22 · · Score: 2

    This problem only came to light today, and they have a fix out the same day.
    No. Apple lies:
    - they have not even admitted failure. Instead they engage in Microsoftian doublespeak talking about an "issue". Instead, they should write: "due to a defect in our software installer ... "
    - they don't take responsibility. No compensation for people who sufferered sever data losses.

    Posting a patch isn't always enough.

    You just don't wipe people's hard drives. Never. Having an installer that is even capable of such is a sign of faulty design. They are to blame.

    f.
    --
    ...and here I stand, with all my lore, poor fool, no wiser than before.
    1. Re:Aplle lies by Anonymous Coward · · Score: 0

      - they don't take responsibility. No compensation for people who sufferered sever data losses.
      Wow what kind of moron is iTunes on a server? Doesn't that eat a lot of CPU cylces.

      You do realize that they don't support your "other" OS's right? Why should they? Also does OS X server create other partitions? I have all of my stuff apparently in one large 60GB partition.

      What would you have them do for those of you who did lose files?

    2. Re:Aplle lies by stripes · · Score: 2
      Having an installer that is even capable of such is a sign of faulty design.

      How do you make an installer that can remove the old version of a program, and yet have zero chance that it never removes the wrong thing?

      (yes, it was a bad bug, very bad, but I'm not sure how you design a drool proof installer that has zero chance of deleting the wrong thing -- I know how to do a not drool proof one though. Put iTunes2 on a disk image along with a README that says "delete the old one before installing the new one").

    3. Re:Aplle lies by haruharaharu · · Score: 2

      ow do you make an installer that can remove the old version of a program, and yet have zero chance that it never removes the wrong thing

      Easy. require apps to declare their contents to the system and provide an interface to manage these apps and their versions. Then require that apps use that interface exclusively to manage them.

      It's really hard to wipe an entire drive with uninstallComponent("iTunes", VERSION_ALL);

      --
      Reboot macht Frei.
    4. Re:Aplle lies by jrockway · · Score: 1

      I'll tell you... Debian GNU/Linux (or GNU/Hurd) would never have this problem :-D

      --
      My other car is first.
    5. Re:Aplle lies by MaxVlast · · Score: 1

      My understanding is that's how it does work. (Each package installs a receipt with a bill of materials.)

      The problem could still have occurred if the BOM path was wrong ( Drive 1/iTunes instead of "Drive 1/iTunes") Just in a slightly different place.

      --
      There should be a moratorium on the use of the apostrophe.
      Max V.
      NeXTMail/MIME Mail welcome
    6. Re:Aplle lies by pa-guy · · Score: 0

      Pretty easily. Check for the presence of the files of the old version(s), and delete only those. The find command will do the trick, although it may increase the install time.

    7. Re:Aplle lies by stripes · · Score: 2
      Easy. require apps to declare their contents to the system and provide an interface to manage these apps and their versions. Then require that apps use that interface exclusively to manage them.

      Already does, you put them in a direcory named Foo.app where Foo is the name of the application, then users can move it around without things getting out of sync...

      It's really hard to wipe an entire drive with uninstallComponent("iTunes", VERSION_ALL);

      That depends on how "uninstallComponent" is implmented. If it is written in a shell like language it can be pretty easy...

      Wrong, mind you, but not so hard to do wrong. I would guess some Linux and other generic Unix installers have problems with spaces in file names... I know for sure they have problems with display numbers other then zero, and this mistake is about as basic.

    8. Re:Aplle lies by jcr · · Score: 2

      How do you make an installer that can remove the old version of a program, and yet have zero chance that it never removes the wrong thing?

      The obvious way is to rsync the existing app's directory with the new version, instead of delete-and-replace.

      -jcr

      --
      The only title of honor that a tyrant can grant is "Enemy of the State."
    9. Re:Aplle lies by stripes · · Score: 2
      The obvious way is to rsync the existing app's directory with the new version, instead of delete-and-replace.

      That still deletes files, merely saying "resync" does not magically fix that. I liked the "move the old one to the Trash" suggestion better.

    10. Re:Aplle lies by jcr · · Score: 2

      Check the man page on rsync. When you rsync a directory with another directory, you're not running a risk of deleting anything outside that directory. (Like, say, /*)

      -jcr

      --
      The only title of honor that a tyrant can grant is "Enemy of the State."
    11. Re:Aplle lies by stripes · · Score: 2
      Check the man page on rsync. When you rsync a directory with another directory, you're not running a risk of deleting anything outside that directory.

      Yes, but rsync uses unlink (or it did in 1995, which is the last time I looked at it's source). It might manage to destroy everything, like if you accidentally specify the target wrong (great...my whole disk has been replaced with a single copy of iTunes and nothing else).

      I'm not saying nothing is better then what Apple uses (an installer that runs a shell script), but that nothing that aims to do the same thing will have zero chance of deleting the wrong thing. In passing I'll also mention that it isn't obviously worse then many other Unix installers (you know, the ones that just run random shell scripts!), but Apple has the misfortune of having a user base that tends to use spaces (and punctuation) in their file names...

    12. Re:Aplle lies by frost22 · · Score: 1

      - they don't take responsibility. No compensation for people who sufferered sever data losses.

      Wow what kind of moron is iTunes on a server? Doesn't that eat a lot of CPU cylces.
      You misinterpreted my typo. I was talking of severe data loss. It really doesnt matter if the affected machine is a server or not.

      f.
      --
      ...and here I stand, with all my lore, poor fool, no wiser than before.
    13. Re:Aplle lies by rew · · Score: 1

      How do you make an installer that can remove the old version of a program, and yet have zero chance that it never removes the wrong thing?

      Well, you give it the "list of files" of the old installations, and make it delete all files from those old installations that do not contain any user-data. (e.g. leave out the "initial database" that is distributed with the program).

      In effect you have:
      for (tp = file_list; tp;tp=tp->next)
      unlink (tp->fname);

      See the missing check if the unlink works? That's intentional. We're not interested if the remove of the file worked. If for example the user decided to write-protect some of the files (actually directories) we don't want them deleted.

      Roger.

    14. Re:Aplle lies by stripes · · Score: 2
      Well, you give it the "list of files" of the old installations, and make it delete all files from those old installations that do not contain any user-data. (e.g. leave out the "initial database" that is distributed with the program).

      That still doesn't have zero chance. Your linked list might be damaged by another part of the program, either overwriting the link part, or a name part. You can complain that that would be due to a bug, but so is the shell script problem.

      Zero is a hard goal to reach. Impossable even given the chance of DRAM errors.

      You can get a little closer if you try this:
      for (tp = file_list; cnt = N; tp;tp=tp->next) { assert(cnt--); unlink(tp->fname); }

      Of corse we both left off finding the package install location (i.e. translating Foo.app/MacOS/Foo into "/Volume/Name of Volume/Applications/Foo.app/MacOS/Foo"), which is where the script went wrong, so we have a few more chances for error...

      There is also a problems with the resource fork, in OSX it has been replaced. Resource Bar in program Foo is stored as Foo.app/Resources/Bar, so knowing all the files that Foo has requires knowing all the resources it creates, which may be hard to know ahead of time.

      It also can be a problem because one may not know all the files in the iTunes package, it is clearly known for past versions, but not future versions.

      I won't mention dumb-ass users replacing iTunes files with their own :-)

      See the missing check if the unlink works? That's intentional. We're not interested if the remove of the file worked. If for example the user decided to write-protect some of the files (actually directories) we don't want them deleted.

      I see it, it might be a bad idea if the file is a kext, or some random incompatable shared lib or kernel module. It is still a valid design choice though. It would be better if you told the user which files you wanted to delete but didn't because the user had protected them.

      I still like to solution of moving the things to the trash. It also doesn't have zero chance of not deleting things, but it probbably won't. It definitly doesn't have no chance of moving the wrong stuff to the trash, but if it does it is not so hard to move them out, definitly simpler then undoing an rm.

    15. Re:Aplle lies by bzcpcfj · · Score: 1

      "How do you make an installer that can remove the old version of a program, and yet have zero chance that it never removes the wrong thing? "

      You could take the approach Acrobat Reader 4.x did. If it detects something that looks like an older version of Acrobat Reader (pre-4.x), it pops up a box telling the user to uninstall it.

      --
      ---Any philosophy that can be put "in a nutshell" belongs there.---
  92. Ahh... Imagine if this were a Microsoft product. by sheldon · · Score: 1, Troll

    There would be great shouts of anger. Oh those bastards, they do this because they do not want you dual booting!

    It's because they are a monopoly! They are purposefully targetting Linux partitions.

    Ohhhh!!! AARRRGGHHH! Grand Conspiracy!

    Yet here in these responses I see the simple realization that some idiot made a mistake writing the installation script.

    Are you sure?

    Are you sure it isn't Apple trying to subtly encourage people to use Microsoft's Media Player instead? :)

  93. Re:Ahh... Imagine if this were a Microsoft product by Dark_Cobra87 · · Score: 0

    As much as I don't like to admit it... that is a good point.

  94. Why using scripting anyway? by SCHecklerX · · Score: 2
    If you'd use a scripting language that allows system-independent calls, shit like this would be avoided. Instead of shelling out to another command (rm in this case) You would call "unlink" with the PROPER parameters in the first place!

    Oh well.

  95. So old, it's a classic joke by McD · · Score: 3, Funny
    From the classic old joke list "How To Shoot Yourself In The Foot" in various programming languages and computing environments, here's the entry for Unix:

    % ls
    foot.c foot.h foot.o toe.c toe.o
    % rm * .o
    rm: .o: No such file or directory
    % ls
    %

    Same bug. Welcome to the world, Apple. :-)

    Peace,
    -McD

    --
    "Given the pace of technology, I propose we leave math to the machines and go play outside." -- Calvin
    1. Re:So old, it's a classic joke by Anonymous Coward · · Score: 0

      I thought it was funny too, until it happened to me last December :(

  96. Re:Ahh... Imagine if this were a Microsoft product by Special+J · · Score: 1

    If it were a Microsoft product then it wouldn't be a bug.

    It would be a "feature".

    --
    VENI! VIDI! VICI!
  97. Bias and stories? by SilentChris · · Score: 2
    I know we usually have the anti-MS, pro-everything else bias around here, but I was wondering: does anyone have any stories of Microsoft software doing anything similar? I know the Linux installs are pretty adament during the partitioning process ("Watch out! Look out!"), but I can't think of anything by MS doing the same thing.

    Can Mac really be the anti-Christ? :)

    1. Re:Bias and stories? by Anonymous Coward · · Score: 0

      Can't think of anything for Microsoft, but Roxio toast had an even worse disk-erasing bug a while back.

  98. 100BG! Ouch by dbretton · · Score: 2, Funny

    I personally lost more than 100GB of data.
    ....
    ....
    Somewhere, in a little corner of the basement of a house, someone is installing their new iTunes...

    {blip, squeek}.. Oh man, this is sooo cool!
    {HD Grrrrinnd!!}
    huh? What thee.. !!

    NooooOOooooOOOOO!!!! My PORN!!!
    Oh my God!

    Later that day, at a Starbucks, we see a man, trembling as he sips is triple MochaBucka Latte-chino...

    Brtney... GONE!
    Pam....GONE!
    Margolis....GONE!
    That chick doing the horse...GONE!

    My life is over....

  99. Did Apple send out email warnings? by lsommerer · · Score: 1

    I noticed on the download page that Apple asks for email addresses. Does anyone know if they emailed warnings to people who had downloaded the effected version? Seems sort of crappy if they didn't do that.

    1. Re:Did Apple send out email warnings? by Alan+Partridge · · Score: 1

      totally optional information

      --
      That was classic intercourse!
  100. way to go apple! by Anonymous Coward · · Score: 0

    HA HA HA

    should have bought a PC.. HA HA

    and HAH

  101. Wrong. by Anonymous Coward · · Score: 0

    You're wrong.

    In many cases, it does delete partitions: an rm -rf uses an unquoted variable which can cause entire partitions to be deleted if your partition names have spaces in them.

    Read the damb article, and read the 5-rated comments.

    Somebody moderate this crap down.

  102. Half-Life did the same thing .. by Idimmu+Xul · · Score: 1, Interesting
    This isnt the first time this has happened..

    Although not quite as disasterous as formating the entire hdd, originally when installing half-life if the install dir was changed from say C;\Sierra\Half-life to D:\games\half-life then when half-life was uninstalled it would take the whole of d:\games with it :(

    distintly not fun :/

    --
    The problem with slashdot is that most of its users were bullied and stuffed into lockers as kids!
  103. When did the.. by GISboy · · Score: 1

    BOFH start writing shell scripts for Apple?

    I just checked the register.co.uk and he still seems to be employed there?

    Almost sound like a BOFH gag:
    User: I need more space in XXXX account.
    BOFH: Ok, I just freed up 8M of space.
    User: Great, now I have 16M.
    BOFH: No, now you have 8M free.
    User: Arrrr......!
    BOFH: (click).

    Do not turn to the Dark Side of the Force...but, hey, the Aqua side ain't so bad!

    --
    If it is not on fire, it is a software problem.
  104. Re:Ahh... Imagine if this were a Microsoft product by phillymjs · · Score: 2

    Yet here in these responses I see the simple realization that some idiot made a mistake writing the installation script. Are you sure?

    Yes, because on the Mac, the presence of multiple partitions != dual-booting user. OS X will reside quite happily on the same partition as OS 9.x, and you can choose between them with the Startup Disk control panel.

    The only advantage I found to putting OS X on a different partition is, you can select which operating system you want to boot in every time you power on the machine, by holding down the Option key until presented with the menu.

    ~Philly

  105. Exactly. by mindstrm · · Score: 2

    This is not to say that you can't negate yourself of responsibilty... but that would usually require some kind of negotiation, and contracts signed and notarized by lawyers or something.

    ie: Where it can be very clearly demonstrated that both parties thoroughly understood, in detail, the terms of the contract.

  106. Just curious. by mindstrm · · Score: 2

    But what kind of drive/storage device did you have that had 100GB on a partition?

  107. finally... by Anonymous Coward · · Score: 0

    thanks

  108. The shell script not the problem... by A_Non_Moose · · Score: 2, Funny

    You have to realize that iTunes has an equalizer now.

    After the installer formats your HD, you can record the high pitched scream you emit into an mp3 and then change the pitch to all bass.

    So, now Apple just "equalized" itself with all other unicies.

    To Apple I say, "I feel your pain" but you need to "strategize" some more.

    Ow, crossing OS, platform and political lines... for shame! for shame!

    (on a side note, modding me down as overrated because of my +2 bonus makes about as much sense as hating people for being intelligent...Oh, wait, that is what happens to "us" nerds all the time... I just answered my own question, never mind...so, being different is ok, as long as you are different like everyone else? Heh, makes sense...NOT!)

    Yes I'm an esoteric, tenacious, longwinded SOB.

    I'll never need therapy as long as I can post to slashdot.

    Orbb: "keep talking, I'm reloading"

    --
    Have you read the moderator guidelines? Well, have you, PUNK? (and I want a Karma: Gnarly option)
    1. Re:The shell script not the problem... by Anonymous Coward · · Score: 0
      modding me down as overrated because of my +2 bonus makes about as much sense as hating people for being intelligent

      You're confusing +2 bonus with intelligence. Oh, wait, this is what happens to nerds all the time...

    2. Re:The shell script not the problem... by Rendus · · Score: 2

      (on a side note, modding me down as overrated because of my +2 bonus makes about as much sense as hating people for being intelligent...Oh, wait, that is what happens to "us" nerds all the time... I just answered my own question, never mind...so, being different is ok, as long as you are different like everyone else? Heh, makes sense...NOT!)

      You forget the purpose of the +1 bonus. It's not to be left on all the time, but only used on comments that deserve a +1 off the bat. At the very least, this post doesn't qualify. Therefore, the comment IS overrated, and deserving of a -1 moderation because of it.

      The +1 bonus is NOT a "Hey, I'm better than everyone!". It's a slight bonus to being a well-behaved member of Slashdot, which are few and far between. There's an expectation that you use the +1 accordingly.

    3. Re:The shell script not the problem... by A_Non_Moose · · Score: 1

      Ah, yes.

      You do make a very good point.

      I do however counter with this and this as an example.

      On the first link, pay attention to the moderation and the reply of "kvigor" saying I was off topic, then the second link about why I disagreed with him/her.

      Like this response it is on topic to both your statement and the subject of this particular news piece.

      I think with the person's loss of a 100G of data we all knew it was going to happen because there are too many variables, people are fallable and maintaining a dual OS strategy is doing more harm than good.

      And to answer your question, Rendus, I've pointed out both gently and rudely the "death by a thousand cuts" some moderators seem to be inflicting on some users...dunno why, hence the second link...modded as offtopic when it was not.
      (shrug)

      I don't know why, and in some respects I've ceased to care, after all as someone said "Karma ain't your dick size". If this is true, then why are some moderators such as kvigor such "pricks of the litter" (yeah, an ad-hominim attack meant as humor...fullfilling yet in poor taste)
      And why kvigor was not modded as offtopic, I'll never know.

      The question is, perhaps was I abusing the +1 bonus? Perhaps.
      Are moderators such as kvigor abusing thier privelage? Perhaps.
      Should a post be modded down because it is not understood? Hell, no!
      Should Calculus be no longer taught because people don't understand it, save for the very few?

      Same logic applies, does it not?

      I suppose I can sum up this entier thread and its replies as:
      "Bummer dude. Didja backup? Better you than me."

      This thread reminds me of the first time I moderated, I saw a thread that was so incidiary, so inflammatory and so way on/off base that I bought it hook, line and sinker 3/4 of the way thru untile I realized it was satire!

      And even then I did not mod anyone down for the simple reason that people on /. are normally good, intelligent and accepting individuals.
      A few out there are proving me wrong over and over.

      To quote Shrek "They Judge me before they even know me".

      Won't be the first time, won't be the last, but I thought at least I'd get away from that kind garbage here.

      and for those of you keeping score...up 5 points and down 6 in about what 3 or 4 hours...

      I find it funny in a sad sort of way.

      Moose

      --
      Have you read the moderator guidelines? Well, have you, PUNK? (and I want a Karma: Gnarly option)
  109. Stop panicking! by iMacGuy · · Score: 0

    It only deletes hard drives with spaces in their names :)
    For all the rest, it just wipes the privileges so that only root can see them.
    A simple
    cd /Volumes/whatever;sudo du;
    will tell you what happened.

    --
    Why won't slashdot let me change my terrible username :(
  110. Don't we agree to the license after the damage... by melvin22 · · Score: 1

    is already done? I was discussing the whole iTunes2 issue with a friend over breakfast, and he said that we only agree to the license after the product is installed, and the damage is already done. I haven't had a chance to install iTunes2 yet, because I'm not on my computer so I don't know about that. But could the post-install agreement to the EULA give people grounds to fight Apple (sue them, or whatever)?

  111. Nearly every engineer that worked on the original by glrotate · · Score: 0
    "Nearly every engineer that worked on the original Mac OS left"


    And this is a bad thing because? I'd take the OS X team over the original guys without a doubt.

  112. Re:The power Mac by Alan+Partridge · · Score: 1

    Of course, the "Classic" MacOS was so thoughtfully laid out that you didn't actually NEED installers at all. Us MacOS users feel like we've turned around and are now rushing back down the road we've been travelling along these years - straight into the path of the oncoming Microsoft juggernaut. iTunes X 2.01 is a marginal improvement, now crossfades tracks rather than clumsily cutting and has a few UI tweaks on top.

    --
    That was classic intercourse!
  113. Wait a second... by A_Non_Moose · · Score: 0, Troll

    if this is Unix on a Mac (os X) how come there was not a dialogue box that said "I see you shot yourself in the foot (the mac part).

    Would you like me to get the other one? (the UNIX part) and two buttons that read "Yes, please" and "No, I'll do it myself".

    See the kind of warped thinking programming in C/C++ does to you?

    Let that be a lesson, kids.

    The power of unix is like playing russian roulette with an uzi...

    Unix is user friendly, it is just picky about its friends...

    When you tickle the dragon both ends are dangerous..

    Programmers: "We burn the candle at both ends...only after it has been dipped in the midnite oil!"

    Anywho... you know it is time to take a break when you use the terms "stack, push, pop and race condition" as sexual references.

    ...."and then I told so-and-so to go void main() himself he was such a null pointer..."

    --
    Have you read the moderator guidelines? Well, have you, PUNK? (and I want a Karma: Gnarly option)
    1. Re:Wait a second... by kvigor · · Score: 1

      I attempted to mod this as offtopic; slashdot had a tizzy and decided I'd chosen 'underrated' (which I can assure you I didn't). Fortunately, posting this content-free message should at least undo the moderation damage.

  114. Apple. So easy to use.... by CritterNYC · · Score: 2

    iTunes.pkg *click-click*

    "Ah... Apple... So easy to use, now wonder it's number on.."

    *quack* *quack*

    "what?... huh?... oh, son OF A BIT#$%!"

  115. Have EULAs been tested in court? by Greyfox · · Score: 2
    There are a lot of questions that arise with EULAs. I seem to recall a click-through EULA on a web page being rejected by a court. Maybe it'd be a good time for a legal-system test.

    Even if the court says the data on the drive should have been backed up, you should be compensated for time spent restoring that data, reinstalling the OS, and generally getting the computer back in shape. Not to mention the woeful negligence factor as a simple test should have uncovered this problem prior to the product being released. An application install should not wipe your hard drive out.

    As usual, IANAL (But I play one on TV)

    --

    I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

  116. Possible Fix... by DragonPup · · Score: 4, Informative

    Andrew Welch of Ambrosia Software posted a method that MIGHT work on recovering the files here. Basically sometimes the installer, according to Andrew, just messes with file permissions and visability, not actually deleting them.

    I didn't test this because iTunes didn't mess up my 5 partitions, thankfully.

    -Henry

    --
    "Useless organic meatbag" -HK-47
  117. Who clicked? by Anonymous Coward · · Score: 0

    By clicking on this attachment you have accepted this license agreement:

    OK, so what if my son were to install said software without my knowledge?

    I get home, and find my HD was trashed - I didn't click on anything, so that means that I can sue them, right?

    1. Re:Who clicked? by QuickFox · · Score: 1

      I didn't click on anything, so that means that I can sue them, right?

      You know, you might be able to settle out of court, if you're fortunate enough to deal with a mature and responsible virus writer.

      --
      Terrorists can't threaten a country's freedom and democracy. Only lawmakers and voters can do that.
    2. Re:Who clicked? by Anonymous Coward · · Score: 0

      You don't sue anybody. You spank your son and then restore your backup.

  118. Uncle! by Voline · · Score: 1

    Ok, Ok. I'll back up my hard drive. Today. I swear.

  119. Re:Don't we agree to the license after the damage. by Apotsy · · Score: 1
    If I remember correctly, there are in fact two license agreements. One when you start the install, and another when you launch the software for the first time.

    Hard to remember though, since I always just click "Agree" and forget about it right away...

  120. this is not just limited to iTunes!! by warrior · · Score: 1

    I installed the latest quicktime player software, and it also deleted all the data it could. The only thing left was an (almost) empty win98 directory. Perhaps apple should look at ALL of their install programs!!!

    Mike

    --
    Intel transfer the difficult from Hadware to software, for get more power, programmer need more technology. -- chinaitn
    1. Re:this is not just limited to iTunes!! by MacBoy · · Score: 1
      Highly doubtfull. What plattform? What version of the quicktime installer? Where are all the other reports of this problem? Why spread FUD?

      In my experience, the Quicktime installer is and has been an efficient and effective download-on-demand installer, and it doesn't require users to reboot, like almost everything else in the windows world. There have never been reports of data loss resulting from it.

  121. /. said something bad about the iPod? hells yeah. by Geek+Dash+Boy · · Score: 2, Insightful

    And there was a /. story about the iPod - and it had nothing bad to say about Apple

    Go back and read it again. There's a negative comment by Taco in the initial post.

    Slashdot is inherently anti-Apple due to the attitude of editors which is quickly imitated by the troll hordes and flamebaiters. 'cuz everyone knows the easiest way to generate wind is to get a bunch of Mac zealots in one place and say one bad thing about Apple or the Mac OS.

    For the record, I'm a long-time Apple customer that got tired of the OS wars a long time ago. I'd much rather be coding in my very nice Mac OS X setup, thank you very much.

    --
    I say we take off and nuke the entire site from orbit. It's the only way to be sure.
  122. Once Again Apple is Ahead of the Curve by Anonymous Coward · · Score: 1, Funny

    I don't understand what benefit formatting or deleting data has, but I am SURE it has something to do with great usability! I predict within the year, MOST software installers will also reformat/delete your hard drive if you dont have enough space. Apple is just that good.

  123. Stepwise lamented the problems of pkg's before by Ghoser777 · · Score: 1

    Part 1 and

    Part 2.

    In summary: Unix + lazy installers = bad

    F-bacher

    --
    James Tiberius Kirk: "Spock, the women on your planet are logical. No other planet in the galaxy can make that claim."
  124. I am an OS X nut by Anonymous Coward · · Score: 0

    Gues what no problems even with the pre-release version and my systems is about as weird as they come. Multiple Hard drives and each is partitioned, running all kinds of pre-release software and I did not have a problem, but i did read the instructions and deleted the old iTunes. Apple screwed up and it was there fault but they fixed it in less than 24hrs and very few people were affected. Truth is if you are running a system and value your data you should back it up because power users can burn up hard drives easily. In my systems I have destroyed a few hard drives.

  125. I bequeath to you... by A_Non_Moose · · Score: 1, Offtopic

    a dual-boot to the head...(whap!)...OW!

    ok, this is a slight tangent I have to point out, but then again I'd just be NIT-picking.

    Give a man a fish, and if he makes a crack pipe out of it, well, you've got serious problems to deal with.

    Yes, I'm a tenacious, longwinded, esoteric SOB who needs therapy...why else do you think I'm posting here?

    --
    Have you read the moderator guidelines? Well, have you, PUNK? (and I want a Karma: Gnarly option)
  126. Survey says... by doorbot.com · · Score: 2

    Interestingly, there is some logic beyond this argument as well.

    Assume for a moment that you're a hard working, productive worker building your product or otherwise producing more income to the company than they pay you. You are a "good" employee, and the company would prefer to keep you. Now, another employee who was hired along side you is promoted to your manager. But you reflect back at all the asinine questions that person asked, and how perfectly obvious they made the fact that they should be working at McDonalds and not making $100,000 a year bossing you around (let alone in this industry).

    Why did they get promoted? Is it because they're buddies with the boss? It is because everyone is in some maniacal conspiracy against you?

    No. It's because of two things. Either they get promoted, or they get fired. Sometimes a company will chose to promote rather than fire an employee. But more likely, the simple fact is that you are productive in your position. If you were to be promoted to manager, your job would radically change and the company would not have the benefit of your skills working towards completion of the product.

    That's why most management is "stupid" and "doesn't get it." Because they were workers who were stupid and don't get it. Granted, there are some members of management who are good at what they do -- these are the few that won't get fired when management has its shakedown. And not everyone is promoted to management... but if they were hired on, does that necessarily make them good at their job?

    Think about it, if management were that great, it'd cost a lot more.

  127. The cure.. in 4 easy steps! by Ogerman · · Score: 0, Flamebait

    I personally lost more than 100gb of data

    Step 1: stand on your chair and scream "I am a total idiot for using a proprietary alternative operating system with no security"

    Step 2 (optional): Sell all your Mac hardware and build yourself a (much faster) PC with commodity components

    Step 3: Install Linux or FreeBSD

    Step 4 (also optional): Let someone who knows what they're doing set your root password.

    1. Re:The cure.. in 4 easy steps! by MacBoy · · Score: 1
      Sell all your Mac hardware and build yourself a (much faster) PC with commodity components


      You are either misinformed or merely ignorant if you believe that any x86 based PC is faster than a G4 based Mac. Mhz means virtually nothing, but some people will never learn, I guess.


      There is only one step necessary to avoid having been affected by this bug. RTFM. If users had done as instructed and removed previous versions of iTunes from their system before installation (a very good idea indeed, before installing any piece of software) then they would have been perfectly OK.

  128. windoze by h4b1t · · Score: 1

    see, if you had been running windows xp then all that would have happened was the files would all be converted to a secure media format by the windows media format converter wizard and then everytime you tried to play one it would contact the riaa and fine you.

  129. I'm going to go out on a limb here... by A_Non_Moose · · Score: 0, Offtopic

    I attempted to mod this as offtopic; slashdot had a tizzy and decided I'd chosen 'underrated' (which I can assure you I didn't). Fortunately, posting this content-free message should at least undo the moderation damage.

    Ok, finally someone with the cajones to speak up for their moderation efforts.

    I will start by saying that I disagree with this being offtopic, because there is a connection, however vague, that programming shell scripts involves the use of c/c++, does it not?

    In some cases moderation is both subjective and objective, just like humor.
    In all the time I've been reading /. there has only been 2 times a "funny" comment has brought tears to my eyes from laughing so hard.
    Keep in mind, this is over, ?what? 5 some odd years.
    On the other hand some of the funny comments that are highly rated get a smirk, guffaw or even a "hurmph" of mild amusement.

    To "understand" where I am coming from go here.

    If you have ever done any programming you will find that what happened to Apple was one of those unfortunate things that happens to a lot of programmers from time to time...nobody knows knows it all, dude.

    If you fail to see the humor in the above link, then I don't know what to tell you... well, besides: try programming in c, c++, pascal, assembler or any of the other languages that are
    listed and they you might see my point.

    To mod down what you don't understand speaks volumes about the type of person you are.
    Realize I don't say that as an attack, but as a way to force you to think, in much the same way you forced me to think about my post.

    Was my post offtopic. Objectively, no because it was on topic and there was a connection that was obfuscated by my attempt at humor.

    Was my comment funny? Again, humor is subjective that is up to the reader/moderator to decide, really.

    (I have to thank you, really, because I've been modded down so much lately for my attempts at humor. You've made me see that not everyone has such a broad range of experience in computers that I have. I'm not being egotistical when I say that because that is how it has been put to me and I've gotten and lost jobs because of it.
    See? I strayed off topic...didja notice?
    ahem..)

    Oh, and you should be modded up for the "content free" crack...even I found it funny.
    But being objective you should be modded down as flamebait/overrated/offtopic for the very same comment...

    oh, and a brief snippet from what I posted in another discussion:
    (on a side note, modding me down as overrated because of my +2 bonus makes about as much sense as hating people for being intelligent...Oh, wait, that is what happens to "us" nerds all the time... I just answered my own question, never mind...so, being different is ok, as long as you are different like everyone else? Heh, makes sense...NOT!)

    Of course it was taken out of context by an AC saying I was confusing a +2 bonus with intelligence.
    I honestly did no know whether to say "boo-hiss" or "touche"....perhaps saying it was a reward for reasonably intelligent posting.

    I'll STFU now with what followed the snippet above: Yes I'm an esoteric, tenacious, longwinded SOB.
    I'll never need therapy as long as I can post to slashdot.

    --
    Have you read the moderator guidelines? Well, have you, PUNK? (and I want a Karma: Gnarly option)
  130. Make Apple read this... by A_Non_Moose · · Score: 1, Offtopic

    It will be punishment enough.

    (this will help some people to follow along, for I forgot (thank god) about some of these languages...maybe that is why 'code == speech'..heh what a connection"...anywho...)

    Ok time to make you C the error of your ways, before looking at the ++ side.

    We are not going to dole out useless pearls of wisdom because everyone should be aware by now software is not made on an assemblerly line...damn, that LISP is coming back, sorry.

    There is a certian Basic Motif that creates this Paradox that creates a Revelation: Programmers are human and machines execute mistakes with alarming speed.

    So, go FORTH and remember it will be a cold day in Cobol when you get on that FORTRAN and have to make Smalltalk or some Hypertalk over a cup of Java and hope and Cray you won't be NeXT.

    And if you have Access to a Window seat, you'll see that the Sun will rise again.

    MOOving forward, Apple, remember the old Adage that "IBM is sometimes and acronym for It's Better Manually or I've Been Misled".

    Yes, I'm making and ASP out of myself right now, but I had to Scheme a little bit to be this SASsy.

    All your XBase are belong to US!

    'Moose out (of his mind I'm sure some of you are saying).

    --
    Have you read the moderator guidelines? Well, have you, PUNK? (and I want a Karma: Gnarly option)
  131. Stupid -- this is a non-issue by Lurkingrue · · Score: 1

    THE HORROR, THE HORROR! Several, perhaps even DOZENS of Mac users may have been severely inconvenienced by a BUG! I can't begin to express the proper outrage! Stop the presses! Confiscate all Macintoshes! Obviously, they're too unstable and dangerous to use. Obviously, we should lead off with a Slashdot Mac-bashing story! If ONLY all these poor Mac users had used Linux instead, the tragedy that would have been averted! Oh, the humanity!

    Please.

    This topic has gotta be a huge joke, and certainly doesn't warrant such an outlandishly over-blown story. While a very bad bug, this installer problem will likely have affected only a few people, probably in the three-digit range. Here's why:

    1) If you weren't one of the early-adopters, you'd never have heard of this -- Apple pulled and replaced the defective installer in less than 18 hours.

    2) If you followed the instructions in the original "Read Me" file, and deleted all pre-existing copies of iTunes, you wouldn't have this problem.

    3) If you weren't using multiple partitions on your drive -- which most OS X users aren't -- you'd not have this problem.

    4) Finally, if you did have multiple drive partitions, but didn't include a space in the name, you also wouldn't have encountered this problem.

    I won't even go into the fact that the primary partition is left untouched by the installer-bug.

    So, in summary, yeah -- a really bad bug. But, no, it didn't really affect many OS X users.

    1. Re:Stupid -- this is a non-issue by Anonymous Coward · · Score: 0

      Dozens of Mac users? Well, gee, that would be a pretty big percentage then, eh?

    2. Re:Stupid -- this is a non-issue by Lurkingrue · · Score: 1

      All the more reason not to be broadcasting anti-Apple FUD.

  132. chflags? by Anonymous Coward · · Score: 0

    Here's something to play with: "chflags -R uchg dir".

    That will set the immutable flag so that even root cannot delete the directory, unless the flag is first cleared with "chflags -R nouchg dir".

    If you are exceptionally paranoid (on /.? Nah) you can set "schg" which is the system immutable flag. I just discovered that the only way to clear that is to take the system down to single user mode (reboot with command-s; /sbin/fsck -y; /sbin/mount -uw /) and clear the flag. That tidbit is on the other man page (man 2 chflags). :(

    I would suspect that locking your entire drive, or even large parts of it, would be almost as inconvenient as formatting it since you cannot create new directories or files either. The upside would be that your data would be very safe indeed.

    Setting "uchg" on a few choice user directories would probably suffice, thus creating a safe area for your important files, but you'd need to lock and unlock those all the time. A script of some sort would be nice: unlock, copy files to safe area, lock.

    While you're at it, burn them to 2 CDs too.

    I managed to dodge that installer bug on two machines (by reading the ReadMe, yay!), so I didn't lose any data, but I'm eyeing the stack of blank CDs on my desk and planning on doing some backups today.

    -r.c.

  133. Geez... by Anonymous Coward · · Score: 0

    Bitterness, party of one. Did you get passed over for a promotion or something?

    1. Re:Geez... by Darth+Turbogeek · · Score: 1

      It's a pity that the poster you were commenting to is actually 100% correct. If an employee is godd at their job, promoting to management is a stupid idea. Your taking them away from what they are valuable to. Thence, if I had a long serving Sys Admin, I'ld ather find some way to give a benefit to him for that, rather than the pseudo reward of a promotion to mamangement.

      I personally have no other way to advance up the corporate tree. If I want to go up, it's management, yet that is something I suck at (Been there, done that, hated the t-shirt). I am, on the other hand good at most IT related jobs. Thence, I try to make myself too valuable to be shifted upwards. Unfortunantly, that marks me as "management material" in the eyes of the MBA's.

      Good at Job, so promote him!

      No thanks. I'd rather be in the computer room fixing servers than sitting at some f******* meeting. How about you pay for my ADSL / travel / car instead?

      Besides, in the time of layoffs, who is the last person you want out the door - the manager who no one is really sure knows what they manage or the sys admin who knows the network absolutly backwards and just keeps everything running?

      --
      "Old Rallydrivers never die - they just fail to book in on time"
  134. How to do it by RAVasquez · · Score: 1

    Rather than having the script delete iTunes.app, have it move it to the appropriate .Trashes folder. Nothing gets deleted, and if there's a problem, the old version is sitting in the Trash can.

    --

    --- Work, worry, consume, die. It's a wonderful life. -- Bill Griffith

    1. Re:How to do it by stripes · · Score: 2
      Rather than having the script delete iTunes.app, have it move it to the appropriate .Trashes folder.

      Ok, that's a good idea. There are a few problems with it, but I think they are smaller the the problems with real removal.

      • I think iTunes (the old one) is probbably owned by root, so I'm not sure it would go to the current users trash, or work well there unless chown'ed. If it gets chown'ed just dragging it back where it was might not be a good idea (if nothing else it means an attack on user Foo can overwrite itunes and if someone elses runs it sneak in...; not a big deal since user Foo had to be an admin to install iTunes2 anyway). However untangling that kind of mess is better then dealing with half (or all) your files being rm'ed
      • There may not be enough space to install unless the old iTunes is deleted first, which would frustrate people.
      • More crap in my trash can? Have you seen how full the thing is already?
      • There is no easy way to invoke the Finders "move to trash" from a shell script. It would be a fine idea to fix this problem.
      • From a UI point of view I'm not sure people would expect upgrading some software to leave the old version on the trash. Of corse two years after we start doing it that way everyone will expect it, and think it would be dump not too...

      Very good idea. Someone tell Apple :-)

      P.S. it is owned by root: drwxrwxr-x 3 root admin 58 Nov 3 17:30 /Applications/iTunes.app/.

  135. Apple need some UNIX people? by Mongoose · · Score: 1

    This is clearly an issue of impromper trianing on unices... I mean what are we going to do when Microsoft releases it's BSD distrobution to combat apples? hahaha

  136. Kernel modules by hearingaid · · Score: 2

    Disclaimer: I don't run OS X, and I've never configured a Linux kernel.

    However, I have configured FreeBSD kernels. And in FreeBSD, some kernel modules are externally loadable, but they always need hooks into the compiled kernel (and it's generally better to put the kernel modules you always need directly into the /kernel file, that way you don't need to do so much disk access)... And, so far as I know (I haven't installed any FreeBSD past 4.0), device drivers are not hookable in any version of FreeBSD. IIRC OS X & FreeBSD share a lot of kernel traits in common, this I would expect to be one of them.

    --

    my old sig used to be funny, but then slashcode ate it and now it's not funny anymore

  137. Arghh! by Lars+T. · · Score: 1

    Stupid "preview". Stupid, stupid, stupid.

    --

    Lars T.

    To the guy who modded me down from perfect to terrible Karma - Apple haters still suck

  138. Users don't follow directions (RTFM) by Head · · Score: 1

    I'm not defending Apple but the instructions for the install clearly state "If you have previously installed iTunes for Mac OS X, delete the old version before installing the new one."

    Then the code that checks for the existence would fail and the bug wouldn't rear it's ugly head. However, we all know that most users don't RTFM.

    Of course, if they really meant what they said in the instructions, the check for existence should have asked the user to remove the old version instead of doing it automatically.

  139. Re:Ahh... Imagine if this were a Microsoft product by Anonymous Coward · · Score: 0

    Troll? I see the power to moderate is bequeathed upon far too many, just like driver's licenses and guns.

  140. Misleading statements by FastT · · Score: 2, Insightful
    This is a chronic problem that most commercial software houses have.
    While technically true, the connotation of your statement and the statements that follow are misleading. Sure, the state of testing is poor in commercial software, but it's even worse in open source software. At least commercial companies provide some minimal testing with each release, actually have people assigned and paid to do testing, and have someone to call when you have a problem. Compare this with the schlock you get with most open source software, which was at most tested on nothing other than the author's machine, with no code review, no test cases, and no accountability.

    Of course, there are some open source exceptions, just as there are in the commercial world. But remember that 99.9% of open source software is NOT Apache or Linux, and the people developing the rest of this software are frequently more enthusiastic than skilled, and definitely have no resources dedicated to testing. In fact, many open source developers are also commercial developers who prefer to work on open source because they can work alone and it doesn't come with all the "crap" like code reviews.

    So, let's lay blame where it belongs--on software development in general, the lack and/or cost of resources, and the general disregard for software quality as something important. None of these things are limited to commercial software development.

    --

    The only certainty is entropy.
  141. Never by Omega+Prime · · Score: 0

    MS is bad but at least they have never formatted my hd.

    Perhaps they need to format /u some of the programmers that made the software in the first place

    --
    "We deal in lead" - Roland of Gilead
  142. I *knew* dial-up would pay off! by Powercntrl · · Score: 1

    All my friends brag about how they can download things so fast - I still haven't bought into the broadband hype. Now I'm even more glad I didn't.

    See, I have this huge queue of MP3s waiting to download and I was going to download iTunes 2.0 as soon as it finished... Okay, so it looks like the Xbox will be out before it finishes, but thanks to the slowness of my connection, a bugfixed version of iTunes has already been released, while people with broadband got their hard drives wiped.

    ...and you wonder why broadband companies are hurtin'. Give the programmers time to fix their bugs - use dialup! ;)

    --

    ---
    DRM is like antifreeze, to the MPAA/RIAA it's sweet, to the consumers it's poison.
  143. Re:Homosexuals fear God's wrath by Anonymous Coward · · Score: 0

    Damn that is a good post, shame it's OT. Should take this to everything2.com..

  144. Andrew Welch by Anonymous Coward · · Score: 0

    Andrew Welch.. oh yeah. He's the guy who flies around in a UE Freighter, with a bunch of neutron turrets installed.

    It's true.

  145. /. flamers suck by liq-bin · · Score: 1

    There really could have been some decent discussions that followed this, and a few of us tried, but the signal to noise ratio on /. has gotten pretty bad. At the very least, if you don't have something constructive to say, keep your comments out of my thread if you can't keep them to yourself entirely.

    Apple's bug in the installer, could be blamed on any number of issues, but I think the real underlying issue is more fundamental and philosophical than technical. Yeah, so they screwed up a shell script, and it was kinda obscure and probably outsourced, but more importantly, why was the installer trying to delete ANYTHING? Why would an installer delete anything? it's an INSTALLER!

    If something needs to be removed (which should be rare if all of your depondencies include version numbers and such) then the offending item or folder should be moved to the trash. This is after all the purpose of the trash can.

    Another problem - why is the iTunes installer installing with root authority? I only use it to play mp3's. I don't need it mucking with my system. I'd use something else if there was something else worth using. SoundJam still wins over iTunes but the Apple Corporate Machine ate that product and had it removed from the market. It's an app. if I need the firewire interaction / automation I'll ask for it. I don't think it should have installed with root authority, there should have been a non authorized install or a drag install.

    So the issue we should really be concerned with is not how Apple was removing files, but why!?! And this question is not specific to Apple, it is a concert on all platforms, including yours. This shoud have been an opportunity to discuss, question, and learn. Not flame. And if you do flame, your only justification should be that you were actually affected by the bug.

    1. Re:/. flamers suck by liq-bin · · Score: 1

      also, why doesn't rm have better limiting functionality for scripting use? Or if it does why is it not used? Imagine this command
      rm -r --limit 25M

      if rm sees the potential deletion set to exceed 25Meg it returns without deleting anything. I know that I would often use this, or maybe default it to something so that I didn't accidentally delete WAY more than I intended to.

      There is a post that asks if Apple needs some UNIX people. I think alternatively that UNIX could also use some Apple people.

  146. your point? by lsommerer · · Score: 1

    I don't see that it particularly matters that the information is optional. My question was whether or not they attempted to use that information to inform people about the potential problem that could result from using the installer.

    Presumably, some people provided the optional information, and perhaps some part of that information was not bogus, but included a real email address.

  147. This says a lot about QA departments by Eusebo · · Score: 1

    Ironically one of the easiest ways to cut costs in the short term becomes very expensive in the long term. My experience seems to be consistent with that of others: The QA department is staffed with bottom of the barrel technologists who don't understand what it is they are doing and aren't paid much to do it.

    Hopefully many companies (not just Apple) will learn a lesson from this little blunder. The QA process should, in many respects, be larger than the development process. Many companies have the notion that good developers alone can produce good products. IMHO, most good products have good developers and great QA folks behind them.

    --
    It is quite simple
    Haiku should not be funny
    Try a Senryu
  148. Completely Unacceptable by PbHead · · Score: 1

    I find this to be completely unacceptable, and here's why:

    1.) Communicability: Code like this should email itself to other users BEFORE it wipes the drives.

    2.) Transparency: Item's of this nature should do their best to hide themselves from the user.

    Apple has succeeded in making either the most worthless 'Virus' I have ever seen, or possibly the best due to a lack of common viral standards.

    It would have been better if they gave the user an option to E-Mail an "Upgrade Now" to their friends before eating the data. The best option of course would be to go through the users address book and E-Mail the "Uprgade Notification" to everyone in the background.
    Go back to the Drawing Board Apple, if your going to wipe some drives, at least do it with some gusto.

    --
    Opinions Expressed by Me should be Forced on Others - PbHead
  149. not really... by Anonymous+Koward · · Score: 1
    you implicitly (I hope I got that right :) have given your son priviledge to install software on your behalf if he 1) has an account capable of installation of programs on the system and 2) have even just plainly allowed him access at all (i.e. did YOU have a disclaimer, that your underage son couldn't have legally signed anyway, as a requirement BEFORE being allowed access through the system in the first place?).


    I think you get the idea..you're responsible for the USE and SECURITY of your own internet connection and/or system.

  150. The NASA model is not commercially viable by Ars-Fartsica · · Score: 2
    Sorry, but if you try to push out software using the NASA model, you will be late to market and ultaimtely out of business.

    Rapid deployment and subsequent revisioning is the secret behind many of the largest software companies in the world.

    Ultimately you have to sell a product and pay your employees, and the NASA model is never going to do that.

    1. Re:The NASA model is not commercially viable by CKW · · Score: 1


      But is the currenty "commercially viable" marketplace the best way to determine which software is best for mankind?

      I look to my left and see Microsoft. And I must say, NO. Just because we currently *use* the capitalist marketplace model for a lot of things, does not mean that it is the best. It's there because of historical reasons. Personal rights reasons. And utility.

      The general base of lusers and pointy haired managers that determine who wins in the "commercial marketplace" are too damn stupid to pick the proper combination of power, performance, price, and stability, that is important. That's why we spent so many years with DOS, Win3.x and even 9x, while things like AmigaOS (1985) lingered and died.

      Doomed by the mediocrity of the masses. What fun it's been.

  151. Fairness in reporting about Apple by CaptainDogCow · · Score: 1

    Hey, what if Slashdot posted well informed and unbiased info about Apple. It didn't even mention the fact that this bug only exists in the MacOS X installer. If this had been a post about a Microsoft bug and they hadn't distinguished between a Win 9x problem and a Win 2k / XP I know everyone would be up in arms. It was an unfortunate mistake apple made in releasing this installer. However lets be fair in the future. Apple has a hard enough time competing against MicroSerf complacency.

  152. WHY DO YOU PEOPLE KEEP WASTING YOUR TIME ON THIS by Anonymous Coward · · Score: 0

    Give it up! GO OUTSITE. GET A LIFE.

    AND to all of you who wrote a three page response to this artice : your life isn't worth continuing. If your life is in your computer, thats what you get. A deleted hard drive. lame.

  153. Alternative headline: by GISboy · · Score: 1

    Apple bites user. Says It'll do it again until s/he changes his/her (i)Tune...

    Oh, wait! Isn't that how this happened in the first place?

    Or

    User loses data, Apple gets bit. (Just look at the Aqua apple on the front page...hehe)

    --
    If it is not on fire, it is a software problem.
  154. It's not a meritocracy... by The+Infamous+Grimace · · Score: 1

    ...it's a mediocracy.

    (tig)

    --
    Ignorance and prejudice and fear
    Walk hand in hand
  155. Possible fix? by mr100percent · · Score: 2
    Anyone having permission problems, or thinking they lost a hard drive: Logout, then login as ROOT. Hopefully you can now see all contents of your hard drive again. Go to your hard drive(s), right click and select Show Info. Go to Privileges in the drop down. Change the selection EVERYONE to READ & WRITE. Click Apply to All Enclosed Folders. Wait while it copies the privileges. Now logout and login as yourself. See if that resurected your data
    See if that's it. I heard of it on Macnn.com forums. You may have a chance...

  156. Whoa... by BryanHughes · · Score: 1

    I don't know whether to laugh or cry. Who the hell could write code that bad? Just one more reason to stay out of the OS X BSD arena and stick with a true winner, FreeBSD.

  157. Re:Ahh... Imagine if this were a Microsoft product by spitzak · · Score: 2
    The bug only destroys partitions that are mounted. Unless the Linux partition can be mounted (can OS/X do this yet?) it would be untouched.

    If I understand the bug right, if you have Itunes installed on a disk named "foo bar" (with a space in it) *and* you have a disk named "foo" (ie it matches the part before the space) the "foo" disk is wiped with the Unix rm -rf command.

  158. iTunes.app IS a folder by Anonymous Coward · · Score: 1, Informative
    Yes, you should always quote variables in shell scripts, but given that iTunes.app is a single file, there is no point to the -r (recursive remove, for removing everything below a directory) option to rm.

    But iTunes.app IS a folder, under MacOSX a .app is a folder with some extra flags, a .plist, and the actual executable code inside (among other things).
    1. Re:iTunes.app IS a folder by timsuth · · Score: 1

      >But iTunes.app IS a folder, under MacOSX a .app

      Ah, I stand corrected. Thank you.

  159. NetManage beat Apple to the punch... by thesteveco · · Score: 1

    I believe it was version 4.1, round about '95, that had a beautiful "feature" in its mail application.

    If you'd already deleted the contents of a users' mailbox at the file system, and then went to remove the user in the application the software would delete every file (but not subdir) in the C:\ root dir, after which it pruned ever file AND subdir one directory deep... lead to some fun tech support calls!

    What a disaster... talk about poor QA!

  160. a MS flaw by Tyler-Durden255 · · Score: 1

    I believe there have been serious problems with the installer on OSX circa 1999, this is just the first one to hit the big time.

    http://www.stepwise.com/Articles/Technical/Packa ge s/InstallerWoes.html

  161. You weren't paying attention. by jcr · · Score: 2

    Oh, and I'd love to hear how making the package containing the burning framework a separate item would solve this problem. That would simply move the buggy pkg file to another place.

    The problem wasn't the framework, it was a bug in the installer script. NeXTSTEP, and the first version of Mac OSX Server had an installer app, based on tar.gz files, that never exhibited this kind of problem.

    Why Apple abandoned tar for pax, we're all still wondering. You can find a detailed explanation of exactly how Apple botched the installer system in Mac OS X on stepwise.com. Search the site for "pax".

    -jcr

    --
    The only title of honor that a tyrant can grant is "Enemy of the State."
    1. Re:You weren't paying attention. by Apotsy · · Score: 2
      The installer script was in the .pkg file, hence the words "buggy pkg file" in my above post.

      You started this thread by saying iTunes shouldn't need an installer, but several people rightly pointed out why one is necessary. You then implied that putting the system-level frameworks iTunes depends on into a separate installer would somehow have prevented the problem, which it wouldn't.

      You finally got something right by saying it was a bug in the install script, but you still don't seem to grasp the facts that 1) The install script is necessary and 2) Making it a separate install from iTunes would not prevent bugs in said install script.

      It seems you're the one who wasn't paying attention.

  162. minimized their collateral damage by Pope · · Score: 1

    You do realize that the phrase "collateral damage" is militaryspeak for killing civilians. I think you've been watching the news too much recently.

    --
    It doesn't mean much now, it's built for the future.
  163. Re:The bug Spaces? by SimCash · · Score: 1
    that wouldn't have any problems with spaces
    Gee, and feel so retro when I insist that "My working directory" should be spelled "my_working_directory".
  164. IF the hard drive is partitioned... by Magius_AR · · Score: 1
    It seems Apple's new iTunes 2 installer deletes the contents of users' hard drives if the drives have been partitioned
    As opposed to a hard drive with data that ISN'T partitioned? How's that work?

    Ha! I'll show them.

    C:\> fdisk
    ...
    Delete primary partition? (y/n) y
    Primary partition deleted.

    Ah, all partitions gone. Finally my data is safe!

    Magius_AR

  165. Re:Yet another way in which the Mac is superior to by Anonymous Coward · · Score: 0

    You are obviously unfamiliar with the 'deltree' command in DOS 6.

  166. research before opening your mounth by axelbaker · · Score: 1

    You are dead wrong. The EULA comes up while you are mounting the disk image. Before you even see the installer.

  167. Power Tools can kill! by dublin · · Score: 2

    Ah, I see, you live by the "tough man" approach to programming. The fact is, people keep shooting themselves in the foot with this.

    Some truths just stubbornly remain the same: Unix and its derivatives are great because they are power tools - but always remember, "Power tools can kill!" (If they couldn't, they wouldn't be power tools, anymore, now would they? For a great insight to this important aspect of the Unix philosophy, do a net search for Neal Stephenson's "In the beginning, there was the command line", and his quite apt comparison of Unix to the amazingly powerful Milwaukee HoleHawg, which is, as the saying of aviation goes, "terribly unforgiving of any carelessness, incapacity, or neglect."

    --
    "The future's good and the present is nothing to sneeze at." - Roblimo's last ./ post
  168. Why is this on Slashdot? by TheInternet · · Score: 2

    Am I the only one that the fact this gets an entire topic to itself is a little weird. Maybe in a "quickies" or something...

    - Scott

    --
    Scott Stevenson
    Tree House Ideas
  169. Never install .0 software. Ever. by Anonymous Coward · · Score: 0

    What's the point? Let the engineer who wrote it bring it home and find the hard drive formatting bug and put the fix in .0.1. Win 2K .0? Oh man... .NET .0? Hell no.

  170. Even better by mr100percent · · Score: 2

    Call Apple, they'll reimburse you for the cost of norton utilities or a disk recovery.