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.
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))"
Rip. Mix. Burn. Format. Reinstall.
Gee, maybe it's an omen....
*Cough*Nomad*Cough*Cough*
Guess their copy protection code gets a little over-zealous.
A budget for a Quality Assurance tester team is 100% NOT WASTEFUL spending.
--- Grow a pair, liberals... stop letting the Republicans bully you!
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?)
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?
proof of Osama's guilt..
http://newforums.macnn.com/cgi-bin/ultimatebb.cgi? ubb=get_topic&f=46&t=000865
It has some info about causes and solutions...
Apple has already put iTunes 2.0.1 that purportedly takes care of the problem:
http://www.apple.com/itunes/download/
"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....
Cruise TT
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.
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.
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
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
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.
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)
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);
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:
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.Timeo idiotikOS et dona ferentes
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?
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!!
...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?"
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
From the discussion on the Apple discussion web site, the nature of the bug is as follows.
The original installer script has the lines
while the replacement (2.0.1) has In these scripts, $2 corresponds to the volume on which iTunes is to be installed, and will be of the formFor 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
and would then try and delete everything underThe 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.
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 /dev/null
if [ -e $2Applications/iTunes.app ] ; then
rm -rf $2Applications/iTunes.app 2>
fi
exit 0
new version:
#!/bin/sh
# if iTunes application currently exists, delete it /dev/null
if [ -e "$2Applications/iTunes.app" ] ; then
rm -rf "$2Applications/iTunes.app" 2>
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
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."
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
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.
The new Pool of Radiance does the same when you try to uninstall it. :] Thankfully there's a patch, though.
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
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
Figuratively this is like Steve Jobs deleting his market share, which is basically already a 0 byte file.
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.
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.
I installed iTunes2 and it worked just fine. It seems that all of the people over at MacSlash have had the same results.
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?
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.
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?
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.
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)
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.
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?
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
If you're a Moron.
ReadThe ReflectionEngine, a cyberpunk style n
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.
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.
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.
Reliable, Great Value Hosting: $7.95/mo 2.4G/120G
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.
"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
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.
So i guess the Ipod/Itunes combo really IS a killer app.
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."
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
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.
(stupid) Show stopping bugs....
...Not just for Windows(TM)(R)(C)(NC-17) anymore!
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.
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.
"Lost 100GB"? Sounds like a new backup strategy is in order? ;)
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.
Renumeration has been addressed. It is aparently no longer 2.0, but 2.0.1.
However, this does not address any Remuneration!
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.
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
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!
Cretin - a powerful and flexible CD reencoder
iTunes was made by Microsoft? It'd be a riot here..
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.
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?
- 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.
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?
Oh well.
% ls .o .o: No such file or directory
foot.c foot.h foot.o toe.c toe.o
% rm *
rm:
% 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
If it were a Microsoft product then it wouldn't be a bug.
It would be a "feature".
VENI! VIDI! VICI!
Can Mac really be the anti-Christ? :)
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....
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.
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!
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.
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
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.
But what kind of drive/storage device did you have that had 100GB on a partition?
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)
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)?
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!
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#$%!"
Portable versions of Firefox, GIMP, LibreOffice, etc
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?
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
Ok, Ok. I'll back up my hard drive. Today. I swear.
Actually, classic MacOS always had partitions too, they were just hidden from the user.
Hard to remember though, since I always just click "Agree" and forget about it right away...
Free Hans!
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
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.
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.
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.
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."
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)
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.
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.
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.
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)
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.
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
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
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
Stupid "preview". Stupid, stupid, stupid.
Lars T.
To the guy who modded me down from perfect to terrible Karma - Apple haters still suck
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.
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.
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.
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.
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.
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
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
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.
I think you get the idea..you're responsible for the USE and SECURITY of your own internet connection and/or system.
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.
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.
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.
...it's a mediocracy.
(tig)
Ignorance and prejudice and fear
Walk hand in hand
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.
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.
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"
You apparently lack experience with NT.
But iTunes.app IS a folder, under MacOSX a
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!
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.
a ge s/InstallerWoes.html
http://www.stepwise.com/Articles/Technical/Pack
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."
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.
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
You are dead wrong. The EULA comes up while you are mounting the disk image. Before you even see the installer.
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
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
Call Apple, they'll reimburse you for the cost of norton utilities or a disk recovery.