Slashdot Mirror


Data Loss Bug In OS X 10.5 Leopard

An anonymous reader writes "Leopard's Finder has a glaring bug in its directory-moving code, leading to horrendous data loss if a destination volume disappears while a move operation is in progress. This author first came across it when Samba crashed while he was moving a directory from his desktop over to a Samba mount on his FreeBSD server."

113 of 603 comments (clear)

  1. That's silly. by ackthpt · · Score: 5, Funny

    Normally while moving you ensure the copy completed before deleting the original. Apple must be using some discount programmers.

    --

    A feeling of having made the same mistake before: Deja Foobar
    1. Re:That's silly. by Hatta · · Score: 5, Informative

      Why don't you just use rsync?

      --
      Give me Classic Slashdot or give me death!
    2. Re:That's silly. by nmb3000 · · Score: 4, Funny

      Apple must be using some discount programmers

      Of course not! Don't be a troll.

      Everyone knows that Apple's products Just Work, and that's no different in this case. The files were moved just like you asked, and if you can't find them. well, that's not Apple's fault, is it? You don't blame the contractor who built you home when you lose your keys, do you?

      In any case, you should be using Shadow Copy...er...Time Machine which would have protected you from going and losing track of your own files.

      --
      "What do you despise? By this are you truly known." --Princess Irulan, Manual of Muad'Dib
      /)
    3. Re:That's silly. by Eq+7-2521 · · Score: 3, Funny

      No, it's probably just that the automated Schnapps IV system that they have for maintaining the Ballmer Peak went awry one day. (Read the tooltip if you haven't seen this before.)

      --
      At my age I find coming up with a witty signature too exhausting.
    4. Re:That's silly. by Frothy+Walrus · · Score: 5, Informative

      Oh yeah, rsync. Is that one still broken on 10.5? Apple's build of rsync on 10.4 consistently choked on a few files when my dad started using it on his Mac Pro.

    5. Re:That's silly. by doxology · · Score: 3, Informative

      then some metadata on the disk is modified to reflect your move.

      --
      sigfault. core dumped.
    6. Re:That's silly. by ackthpt · · Score: 5, Informative

      So what happens if you're moving a 120GB folder one directory level on a 150GB disk?

      Typically if you are moving within the same logical device the file pointer is moved and no copying need take place.

      When moving to another device your code reads and writes, within a loop and traps exceptions (such as the device suddenly vanished, where the OS should raise an exception and your application traps it.) A wide variety of errors could occur while moving and in the event any of them happen the user should be notified in an appropriate manner and the original data not deleted.

      I've written a number of applications which moved files or data between databases and it's fundamental your application is on the watch for any problems. Not to have an exception raised or to trap any and all, well, that's simply an inexcusable lapse.

      This sort of thing is extremely critical if you happend to be defragmenting a disk drive. Long before Macs and PCs we had to defrag our mainframe drives and the applications which did the work were quite careful. Often the best practice, if you had the resource of a second drive, was to simply defrag to a new drive then re-assign the new dist as the original.

      --

      A feeling of having made the same mistake before: Deja Foobar
    7. Re:That's silly. by Taagehornet · · Score: 5, Insightful

      this is not what current generation of typical user would do, but I believe they should be educated on this anyway

      Reeducate the user, you say. Surely you must be joking, right?

      Let's ignore for a moment that Leopard may have a few bugs that will have to be ironed out. That's only to be expected with *_any_* newly released OS and the reason why no sane person would ever dare to update the OS on a mission critical machine within the first few months of the release.

      However, if you can't rely on your OS to perform a simple file move without risking data corruption, then the right solution is definitely not to verify every single operation by hand. Automating tedious tasks is exactly what computers do best, and that the OS ensures the integrity of the copy before throwing away the original is definitely something you should expect.

    8. Re:That's silly. by porkchop_d_clown · · Score: 2, Interesting

      Does the open source version support resource forks? That's the main reason for using Apple's. If I knew I could use the stock version, I would.

    9. Re:That's silly. by v1 · · Score: 2, Informative

      right now version 2.6.0 is the only one worth using. It still can't copy pipes, and isn't smart enough to set ownership on symbolic links, but it doesn't mangle anything else.

      You have to be using 2.6.0 on both ends too.

      --
      I work for the Department of Redundancy Department.
    10. Re:That's silly. by passion · · Score: 2, Informative

      You want the resource fork... from Apple's rsync manpage: -E --extended-attributes copy extended attributes, resource forks

      --
      - passion
    11. Re:That's silly. by Matt+Perry · · Score: 4, Informative

      I think you misunderstand something.
      No, I understand perfectly.

      I know for a fact that I've successfully canceled FTP-moves on Windows (brand); I also know for a fact that I've successfully canceled FTP-moves on all modern instances of the Windows OS with various FTP clients (programs).
      I'm not talking about other clients. I'm talking about using Windows XP as the client.

      What program were you using that fragged your FTP server directory exactly?
      Windows XP, service pack 1.

      I suspect you're a fud-fucking idiot
      You need to work on your social skills.

      although at the moment, I'm interested to hear if there's more than fabrication here. Pray tell: how can I reproduce this bug?
      You might need to use WinXP service pack 1. I'm unable to reproduce it now on my home machine which has SP2 installed. At work we've just upgraded to service pack 2 within the last six months. Anyway, about a year ago I was trying to move nearly 40 gigs of data from a Solaris server at another site to my local machine. The Solaris server was an FTP server and that's the only access I had to it. I opened Internet Explorer and typed in ftp://servername and was prompted for a username and password which I entered. Then I saw the files in the explorer view just like I see files on my local machine. Since I was moving so much data I decided to do it one top-level directory at a time. To move the files I selected the folder, dragged it to a folder on my local machine, and held down shift when I let go of the mouse pointer so it would move instead of copy. I noticed that Windows went through three steps when it moved from the FTP site:
      1. A dialog appears with the title Moving... and it says it's calculating how much time it'll take. This took a while itself.
      2. Then the dialog says it's moving the files and the progress meter shows the progress
      3. After the progress meter fills up, it goes to empty again and then says it's deleting the files it moved
      I did this with most of the folders until I reached one that had about 18GB of data in it. I performed the same procedure as above to start the move and after it was copying files for about a minute or two I realized that I was moving them to the wrong location (my desktop instead of a directory on my C drive). At work our desktops are retargeted to a file server and not our local hard drives. I knew that by copying to the desktop I would hit my quota limit on the server whereas if I had copied to the C drive like I did with the other folders I had no limit aside from the free hard drive space. Not copying there in the first place was just a mistake. I clicked cancel to stop the transfer. When I did that, the dialog that had the progress bar changed to the empty progress bar and said it was now deleting. By the time I realized what was going on, it had deleted that folder and all of its content from the FTP site.

      Now this could have been some weird bug or interaction between the fact that I was using a machine with SP1 instead of SP2, that my desktop and profile were retargeted to another machine, or that I was moving so much data. It wasn't a lot of files as these were data files for desktop publish programs for some brochures and catalogs, along with large print-ready images. I don't know what items worked together to cause the problem. I do know that it did happen and that I had to deal with the IT group at our other site (that had the Solaris server), open the helpdesk ticket to get them to restore the files from backup, wait for them to get around to it, etc. It was a huge pain and delayed what I was working on, causing grief for myself and my internal customer. One thing's for sure; I'll never use the built-in Windows FTP client again.
      --
      Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.
    12. Re:That's silly. by networkBoy · · Score: 2, Funny

      And if you need to move the files to a different volume, just use symbolic links instead of the hard links!
      Oh, wait... That's right up there with what my brother did.
      I jokingly told him to sudo rm -r -f /
      he tried it...

      I'll have to tell him to do the softlinks / delete the hardlinks as a way to um... shadow his files :-)
      -nB
      --
      whois gawk date unzip strip find touch finger mount join nice man top fsck grep eject more yes exit umount sleep dump
    13. Re:That's silly. by Skuld-Chan · · Score: 4, Funny

      Isn't this a Mac? I thought they were supposed to be easy to use.

    14. Re:That's silly. by dave562 · · Score: 2, Insightful
      However, if you can't rely on your OS to perform a simple file move without risking data corruption, then the right solution is definitely not to verify every single operation by hand.

      On the contrary, that is exactly the thing to do. When you are working in mission critical environments and are charged with the safety of important data, it behooves you to do things the "slow way" sometimes for the simple reason that you have a safety net. In case of a disaster, it's much easier to restart a file copy than it is to pull data off of a backup tape because some of it got lost in the middle of a move operation.

    15. Re:That's silly. by kisielk · · Score: 5, Informative

      There have been resource fork patches for some time, but somewhat unreliable. Version 3.0 is going to support resource forks (and other types of extended attributes) out of the box. The setup we have been using extracts resource forks to a separate file on the mac and then backs them up alongside the original files. The restore process just performs the reverse. It will be nice once we can switch to rsync 3.0 and get rid of that step.

    16. Re:That's silly. by delire · · Score: 4, Funny

      resource fork... from Apple's rsync manpage: -E --extended-attributes copy extended attributes, resource forks
      With cryptic commands just to copy files Apple will ALWAYS have ~.001% market share. When will Apple get it into their head that programmers shouldn't design user interfaces?

      Why doesn't Apple just copy the way Ubuntu does it and get with the 2000's?

      Pride is what it is. That damned pride!
    17. Re:That's silly. by the_lesser_gatsby · · Score: 2, Insightful

      A move is programmed as:

      1. Copy the source file to the destination
      2. Read the destination file back to ensure it's identical to the source file
      3. Delete the source file

      Rocket science it ain't (probably been patented though...). At what point in this process would a power failure lose your data? If your OS programs a move in any other way, run away.

  2. Tiger has this problem as well!!! by itsybitsy · · Score: 5, Informative

    I lost a huge amount of data being MOVED (not copied) from one volume into a virtual volume DMG file. Lost and gone forever, lots of important files. What happened? I simply bumped the laptop Mac Book Pro during the move... zap... gone forever. The DMG file was blank! Yes, complely zero bytes except for a bit of header non-file data. It sucks bad.

    1. Re:Tiger has this problem as well!!! by Chouonsoku · · Score: 5, Interesting

      Just wanted to also confirm that the bug was in Tiger. I was backing up music files to do a clean format for Leopard and lost everything when the hard drive got disconnected by mistake.

    2. Re:Tiger has this problem as well!!! by Liquidrage · · Score: 5, Insightful

      Can't agree with you. It is the exact type of that is usually caught by automated testing. The issue isn't that a hard drive was bumped. The issue is that the write operation failed. In this case due to a drive no longer being accessible. The failure is easily automated, and the result of that failure is easy to catch.

      And I wouldn't exactly call this regression testing, as such functions as file movement aren't usually impacted by later changes. It should be pretty basic on the design chart. Sounds to me more like "working as intended...use move at your own risk". Which I think it stupid, but I don't see how this really was *missed*, especially since some are claiming it's been this way since at least Tiger.

    3. Re:Tiger has this problem as well!!! by Otter · · Score: 4, Interesting

      I've had that also (on Jaguar, IIRC) when an external drive lost power. Lost both the data and the old backup, simultaneously.

    4. Re:Tiger has this problem as well!!! by dal20402 · · Score: 4, Interesting

      So your irreplaceable videos were made the previous year and you had no backup.

      I suppose the PC makers should like you. You'll shoot up a PC and have to buy a new one every couple years. And each maker will get a piece of the action, since you'll blame the previous maker for routine data loss.

      Or you could just do what everyone in the computer business has been telling you to do for at least 30 years and... make a backup.

    5. Re:Tiger has this problem as well!!! by DurendalMac · · Score: 2

      And why the hell were you not using a standard copy operation instead of one that deletes the source when the (supposedly) copy is done? Very, very rarely do I ever use option-drag or an mv in the Terminal to copy files. I always do a standard copy, verify the destination, THEN delete the originals if need be.

    6. Re:Tiger has this problem as well!!! by IceCreamGuy · · Score: 4, Funny

      Dude, Mac users are just getting this kind of functionality? Come on, we've had that feature in Windows for years...

  3. A great disturbance in the Apple by syylk · · Score: 3, Funny

    ...As if millions of fanboys suddenly cried out in terror and were suddenly silenced.

    1. Re:A great disturbance in the Apple by kerohazel · · Score: 5, Funny

      Yes, but if their data is stricken down, it will become more powerful than we can possibly imagine.

      --
      Skype is too convoluted... Now I'm reverse-engineering the Kyoto Protocol.
    2. Re:A great disturbance in the Apple by ILuvRamen · · Score: 3, Funny

      In memory of them, I'm officially nicknaming Leopard: Vistapard.

      --
      Google's Super Secret Search Algorithm: SELECT @search_results FROM internet WHERE @search_results = 'good'
    3. Re:A great disturbance in the Apple by Peter+La+Casse · · Score: 4, Funny

      In memory of them, I'm officially nicknaming Leopard: Vistapard.

      "Vistard"

    4. Re:A great disturbance in the Apple by wildsurf · · Score: 2, Funny

      In memory of them, I'm officially nicknaming Leopard: Vistapard.

      Leoptard.

      --
      Weeks of coding saves hours of planning.
    5. Re:A great disturbance in the Apple by UncleTogie · · Score: 2, Insightful

      This is going to be a Big Problem for all the artsy stoners.

      Correction: This'll be a problem for the Yuppie stoners. The rest of the stoner crowd moved to other OSs long ago.

      This problem, as much as I like to jeer at elitists, is not Mac-only... We just read how Vista freaks around the 16,384 file number when copying. I could rant about "flaws" like this in each of the "big three", Linux, OSX, and Windows. But I'm not. Why?

      They're going to happen.

      Folks, ya have to remember... At present, and especially commercially, "quality assurance" means jack when you have a set-in-stone release date. Whether it's vaporware like WinFS, or trying to sneak in some code before a freeze, rushing due to financial/time concerns are what's screwing product quality far more than who's making it.

      --
      Don't tell me to get a life. I'm a gamer; I have LOTS of lives!
    6. Re:A great disturbance in the Apple by e4g4 · · Score: 2, Funny

      How about just "Leotard" :P

      --
      The secret to creativity is knowing how to hide your sources. - Albert Einstein
  4. Terrible bug by thegrassyknowl · · Score: 2, Informative

    But entirely fixable.

    Knowing it exists means you can also work around it by doing copies every time and only manually deleting the source entry when you're sure the copy has completed properly. Now all you need to do is be mindful every time you want to move a file anywhere.

    Sucks to be a Mac user (I am one, I know) but I'm sure Apple will have this fixed pretty quick.

    --
    I drink to make other people interesting!
    1. Re:Terrible bug by Liquidrage · · Score: 4, Insightful

      Yes, that's easily avoidable. If you know it exists. And hopefully the first time you get bitten by this it isn't something critical. Would be garbage to have to work around that one.

      TFA looked decent in it's details. Even step by step recreation. But it's a pretty serious bug, that as you mention, *needs* to be fixed quick and I didn't see any other sources confirming it.

    2. Re:Terrible bug by thegrassyknowl · · Score: 3, Interesting

      Another thought springs to mind... is this even that critical? Doesn't leopard have the time machine in it? Can't you just go back and get your files out of the time machine if they were that important?

      I haven't "upgraded" yet so I don't actually know much about this Time Machine thing and how it works.

      --
      I drink to make other people interesting!
    3. Re:Terrible bug by El+Lobo · · Score: 4, Interesting

      but I'm sure Apple will have this fixed pretty quick.
      Well, the problem is, this bug exists even in TIGER and has been repported many times! And no, not fixed yet. Abble is a coorporation like any other, and not the superpower that some users seem to think they are.
      --
      It's time to realise that Abble's products are the biggest abomination these days. Just say NO to the dumb iAbble way!!
    4. Re:Terrible bug by Knara · · Score: 5, Insightful

      You're asking if a bug wherein entire folder hierarchies can go *poof* in the event a network share drops should be considered critical? Are you serious?

    5. Re:Terrible bug by TheNetAvenger · · Score: 4, Insightful

      is this even that critical? Doesn't leopard have the time machine in it? Can't you just go back and get your files out of the time machine if they were that important?


      Only if a backup of the files was run, which is a requirement of Time Machine.

      If this was Vista, then there would be a good chance to use 'previous versions' to recover the folder data, as it does not 'solely' rely on external backup for timeline file recovery. Vistas use volume level file version snapshots(a feature of NTFS that HPS+ doesn't support), so there are backups even on the drive if it hasn't ever been backed up.

      (Remember Time Machine usually only runs once an hour, and all versioning or changes made in that hour are never kept or tracked.)

      -PS Not trying to troll, but this is a perfect example of the difference between Vista's previous versions and Apple's Time Machine I have tried to point out in the past.

      Vista does both volume level backups and external backups, unlike just external backups like Time Machine does.

      See why IT people prefer Vista's method, even if a backup hasn't run that hour, even users themseleves can access files and folders rather easily that got deleted or changed. And since this has been around Since Windows 2003 Server, in corporate environments, even XP users accessing 2003 servers have had this feature for over 4 years now.

      Vista's claim to fame is that it enables these features on the local hard drive, and also integrates with the Vista backup system, so file versions appear from the backups in addition to the 'snapshot versions' on the main hard drive.

    6. Re:Terrible bug by Hierarch · · Score: 3, Insightful

      Did you miss the part where Leopard reported an error on the copy? (No, really... I'm not being snarky, did you actually miss that screenshot?) Leopard correctly recognized that the transfer had failed, and still deleted the source.

      To me, that's a pretty clear bug. What stuns me is that Apple isn't using the underlying "mv" command - since it should certainly deal with this situation. They rolled their own defective version.

      Never re-invent the wheel. You'll have a square wheel with 13 lug nuts of all different sizes. Just go to Goodyear and take the tried-and-true.

      --
      --Somebody infect me with a .sig virus, I'm too lazy to write my own!
    7. Re:Terrible bug by RobertM1968 · · Score: 3, Informative

      Error code 51 doesnt neccesarily mean the transfer failed. It can also mean lost connection to the share - which could have happened (in OSX's "mind") after it thought/was told the transfer was complete.

      For instance, what if in stopping the share on the Windows session (incorrectly listed in the /. article as a FreeBSD Share), the SMB crap in Windows is "cleaning up" while shutting down and generating a "complete" code that it sends back to the Apple machine, which then in trying to communicate with the share, realizes it no longer can, and generates the correct error code as noted (51).

      OSX did NOT generate a disk write error or any other error that would have been more applicable (like 43 or a bunch of other possibilities). It generated an error stating it lost communication with the other machine.

      Again, still not enough info without knowing more about what the WinShare does when closed.

    8. Re:Terrible bug by Pliep · · Score: 3, Informative

      Actually, Time Machine runs every two minutes. You can see a countdown timer in the system preferences. Also, Time Machine is dodgy by itself. Apple confirms that after backing up about 10 GB of data, Time Machine may stop working. See here: http://docs.info.apple.com/article.html?artnum=306932

  5. Wait... by ackthpt · · Score: 5, Funny

    It's kind of strange that this didn't come up while people were beta testing OS X 10.5. Samba is used in many places. I hope they get it fixed soon.

    Exactly which decade did you fall into your recently awkened from coma in? Testing? Testing? Nobody tests anything anymore, they just go play with all the new toys and stare at the eye-candy. Actual mundane, humdrum testing? That's an SEP if ever I didn't see one.

    --

    A feeling of having made the same mistake before: Deja Foobar
  6. Re:Wierd by cnettel · · Score: 4, Funny

    All fanboys were just happy with how blazing fast file copy was compared to Vista. The non-fanboys tried to check the real size of the dir by copying it to a Vista machine afterwards, but the progress bar got stuck on 413 hours left and counting, so they couldn't file the bug in time.

  7. You just don't get it... by juanfgs · · Score: 5, Funny

    This is the new Leopard "iLostMyFrigginFiles" feature, next version they will add a badass black hole effect when it does that!

    1. Re:You just don't get it... by DigiShaman · · Score: 5, Funny

      Oh great! Soon, Windows users will experience "white holes" where Mac files magically appear in the My Documents folder.

      --
      Life is not for the lazy.
  8. Par for the course? by GoRK · · Score: 5, Informative

    No offense meant here, but normal move/copy operations are traditionally highly destructive events on MacOS anyway. For instance there is absolutely no simple way to merge two folders contents together on the mac. If you drag a folder called "Documents" into your home directory and click on "OK", the Mac OS will happily delete your entire documents folder. I was reminded of this enormous frustration while recovering from some multi-volume backups recently, having to resort to an obscure OS X commandline tool 'pax' and Leopard's newfound support of hardlinks to make some simple file copies play nice and not unnecessarily consume 3 times the disk space they should have.

    For all of the flack the Windows file copy interface gets, it is both safer and more flexible than trying to use the Finder: an interface that makes file management so stupefying it becomes impossible.

    1. Re:Par for the course? by Blakey+Rat · · Score: 5, Interesting

      That's left over from the original spatial Finder design in Mac Classic. Apple hasn't really decided whether they want to get rid of the spatial interface, so instead they've made this horrible frankenstein half-spatial, half-browser interface which pretty much everybody hates.

      Doing a "replace" for that operation makes sense in a spatial system because all spatial icons are treated the same way. You'd wouldn't expect dragging a Word file named "happy.doc" into a folder already containing a "happy.doc" to perform a merge operation; so why would you expect that with a folder in the same situation?

      That said, if you've never used Mac Classic, you'd think OS X has nothing but a browser interface, in which case all metaphors and ideals are out the damned window, and the OS might as well do a merge operation. Since you most likely came from Windows, or a Linux environment ripped-off from Linux, you'd expect dragging identically-named folders together to do a merge operation because that's what you're used to.

      Apple needs to make up its mind what Finder is. It gets worse and worse every version.

    2. Re:Par for the course? by JunoonX · · Score: 5, Insightful

      When two folders, both named "Documents", where one is dragged and dropped into the home directory containing another "Documents" folder, Windows prompts if you want to replace content from the dropped folder on to the one being dropped on. At this point, if any files with same name are encountered, they will be replaced with the one from the first directory; however, all other files in folder will stay intact.

    3. Re:Par for the course? by nine-times · · Score: 5, Insightful

      If you drag a folder called "Documents" into your home directory and click on "OK",

      To be fair, I don't think it asks you whether it's ok to move that directory. It will warn you that it's going to replace that folder, and the buttons will either say, "Replace" or "Stop". It's not that ambiguous.

      The only thing that makes it problematic is if you're accustomed to working in a file manager that will automatically merge directories, then you might think it's going to merge when it's actually going to replace. I would say that neither behavior is "wrong", but you certainly can get unhappy results if you're expecting one behavior and get another.

      Honestly, it took me a little while to get used to it, but now that I expect it, it's fine. Usually, if I'm doing anything complicated with copying/moving lots of stuff recursively, I'm going to want to use a command line anyhow. In the command-line, "cp" and "mv" work in normal unix fashion.

    4. Re:Par for the course? by Just+Some+Guy · · Score: 2, Informative

      having to resort to an obscure OS X commandline tool 'pax'

      Pax isn't an OS X tool tool any more than tar is - just an FYI. Also, learn to love rsync. It would've done what you described in a breeze (at least when compared with other command-line tools).

      --
      Dewey, what part of this looks like authorities should be involved?
    5. Re:Par for the course? by node+3 · · Score: 4, Insightful

      For instance there is absolutely no simple way to merge two folders contents together on the mac. Open a folder, "Select All", drag into destination folder.

      If you drag a folder called "Documents" into your home directory and click on "OK", the Mac OS will happily delete your entire documents folder. It does state this is going to happen in the window with the OK button.

      I was reminded of this enormous frustration while recovering from some multi-volume backups recently, having to resort to an obscure OS X commandline tool 'pax' and Leopard's newfound support of hardlinks to make some simple file copies play nice and not unnecessarily consume 3 times the disk space they should have. If you were going with the command line, you could have just used "cp" or "rsync". Your mention of hardlinks is perplexing, though. OS X has supported hard links forever. It recently added support for hard linking folders (extending hard links beyond the standard). Since you're comparing with Windows, does Windows somehow know if you are copying a file that's identical to one that already exists, and makes a hard link? I'm fairly sure it doesn't.

      For all of the flack the Windows file copy interface gets, it is both safer and more flexible than trying to use the Finder How so? This bug aside, I don't see how it's safer *or* more flexible. The difference--the *only* difference--here is whether folders replace or merge. Windows isn't more flexible, as it does one way, not both. As for safer, they both tell you when something destructive is going to happen.

      the Finder: an interface that makes file management so stupefying it becomes impossible. Impossible? Really? All because it replaces folders (and tells you, with a chance to abort) instead of merging them?
    6. Re:Par for the course? by mctk · · Score: 4, Funny

      or a Linux environment ripped-off from Linux

      Forking Linux developers!

      --
      Paul Grosfield - the quicker picker upper.
    7. Re:Par for the course? by TheNetAvenger · · Score: 4, Informative

      I haven't noticed different behavior in any version of Windows. How do you merge similarly named folders during a copy/move in Windows? In my experience you get the same "Do you want to replace this?" type prompt you get in OS X.


      Serious answer...

      XP offers a basic, do you want to replace folder and a basic do you want to replace files. (Very generic, but more than OS X does)

      Vista on the other hand, asks if you want to replace/merge folder and then if conflicting files are found in the folders it asks you if you want to overwrite the files, don't overwrite them, or create a second copy of the file in the same folder. File by File and Folder by Folder if you want, or you can hit a check box to mimic your response for all file and folders if you are moving a lot of files/folders.

      It also will show you the two versions of the file or folder so you can make a decision based on which files/folders are newer, and you even get a thumbnail of the file for documents and pictures to be sure you are keeping the one you want.

      (Very simple interface, but more has the functionality of the power geek that was always left to using tools like XCopy in the past.)

      This is one of the 'little' Vista features that doesn't get any press, but is a lifesaver for people that move around a lot of data, as you can merge and update folders and files much easier.

      Stuff like this is the reason I said if MS did a 'new features' list like the pety list Apple did with their 300 new features, Vista would have several thousand new features to list.

      (Again MS's marketing sucks, since most people don't even know stuff like this exists in Vista, and it is both powerful, easy, and just works.)

    8. Re:Par for the course? by TheNetAvenger · · Score: 3, Interesting

      Basically, it nukes the conflicting /alpha/baz and then performs the copy. Brain dead behavior if you ask me.

      Vista works very differently, not only Folders are confirmed but every file in the folders are confirmed with options to replace/don't copy/create second copy...

      So ya this sucked in older versions of Windows, but Vista does a great job of handling this, better than any other GUI file manager I have ever seen to date.

      Maybe you should try Vista instead of OSX... But again if MS was doing their job and was touting features like this in Vista, people would find more reasons why Vista has a lot of things to offer. Instead MS's marketing is retarded and nice features like this are NEVER mentioned and none of even the tech press notices them or points them out to users.

      And trust me when I say there are literally 1000s of features like this that make the difference between Vista and XP night and day for daily usage.

    9. Re:Par for the course? by CorporalKlinger · · Score: 2, Interesting

      Honestly, it took me a little while to get used to it, but now that I expect it, it's fine. Usually, if I'm doing anything complicated with copying/moving lots of stuff recursively, I'm going to want to use a command line anyhow. In the command-line, "cp" and "mv" work in normal unix fashion.

      I guess the reason I have a problem with this is that my own computer usually has 3 drive letters listed - the internal hard drive, an external hard drive, and my USB flash drive, which I plug in when I sign on, usually. The typical user drags and drops a folder called "photos" from their flash drive to their desktop, which - unfortunately - also contains a folder called "photos"... they click the wrong button thinking it will replace duplicate files WITHIN the folder, not the folder itself (a careful wording change that could easily be missed in a hurry) and bam - all of the photos that were on the desktop to begin with are gone! For a user who seems reasonably knowledgable about Apples to say that the easiest way to do a simple directory merge is to whip out a command prompt and do some Unix-style command prompt kung-fu proves just how flawed Apple's little Finder thing is. It's time for a total rework.

      Enough of the fanboys being wowed by cute translucent graphics and crap... improve the functionality first, for goodness sake. Oh... and when I'm closing a maximized window in Windows 95, 98, ME, NT, 2000, XP, or Vista, I can click in the top right corner of the screen (not actually on the "X" to close the window) - and it closes the window. On a Mac... if you can even figure out how to maximize, you gotta click right on. Don't click that piece of desktop showing in the middle of the CD icon on your screen on a Mac - you didn't click the icon PICTURE, so it won't click the icon. My mom with her arthritis has no problem with the PC - click in the vicinity of the icon and it knows what you're doing. How is even something as simple as scroll-bar manipulation, window manipulation, and icon manipulation STILL so flawed in Apple's OS? God-damnit, I want my file menu at the top of the window not at the top of the screen with that stupid little Apple icon. When I click "FILE" in an inactive window on a PC, it opens the menu without trouble. On a mac... click the window first to activate, wait for the menu at the top to change to that program's menu, then go click on file. Waste of time. Programming design flaws. Stop trying to hold onto the past... make something NEW and FUNCTIONAL for a change.

      I used to recommend Macs because they were easy to use and relatively safe when manipulating files and data - so I told people I liked to get them. Now I recommend them to people I hate - I hope they lose their precious family photos because of a basic programming glitch... and blew $1800 on an overpriced piece of shit that some has-been in a turtleneck brainwashed them into thinking was the best thing in the world.

    10. Re:Par for the course? by earthbound+kid · · Score: 2, Interesting

      Simple solution: Change the dialog that pops up and says, "[Cancel] [Replace]" to one that says"[Cancel] [Replace] [Merge]". Done.

    11. Re:Par for the course? by Tim+C · · Score: 2, Insightful

      You'd wouldn't expect dragging a Word file named "happy.doc" into a folder already containing a "happy.doc" to perform a merge operation; so why would you expect that with a folder in the same situation?
      Because folders are containers. To use a real-world analogy, it's perfectly possible to take the paper out of a folder and put it in another, rather than to throw out the original folder and put the new one in its place.

      Of course, it's also perfectly possible to have identically-labelled pieces of paper in a folder, so you can't take the analogy too far...

      I'm a Windows and Unix guy, so to me merging folders makes perfect sense. I know I'm biased, but I'd have thought that a new user would think "hang on, if folders contain files, how come I can't just put all the files from the new folder into the old one like this? Why does it replace them all?" I know you could do it manually, but then you have to manually recurse through all the subdirectories. (And I appreciate you can use the command line, but that just raises another question - how come the GUI operates on a completely different principle?)
    12. Re:Par for the course? by MobyDisk · · Score: 2, Insightful

      The term "spatial" is B.S. If I pick up a folder on my desk named "Documents" and I drag it on top of another folder named "Documents" then both folders are there. It neither merges, nor replaces. If I wanted a "spacial" setup I would not have bought a computer, I wold have bought a filing cabinet.

  9. Take advantage of Time Machine by tji · · Score: 3, Funny


    Not to be glib, but.. This would be a great demonstration of the value of "Time Machine" backups. Time Machine is not perfect, but it is a good start on a backup system well integrated into the OS. The example problem, data loss, would be really easily recovered via Time Machine.

    Beyond the basics that every decent backup app does, the things I like about Time Machine are:

    - Integration into Applications. For example: "Show me what my iTunes library or iPhoto library looked like last Thursday"

    - Integration into OS install. In the case of disk failure, recovery to previous state is simple - rather than multi-step with a separate backup app.

    Some things that need improving:

    - Better handling of file exceptions. I keep work data in encrypted disk volumes (DMGs). If I change one byte, the whole huge file needs to be backed up as each change is detected (generating MANY copies of that big DMG). The only other choice is to say "ignore this file/directory". Same thing applies to any large file, such as a VMware VM file. A better option would be to say "Back this file up, but only keep 'n' versions".

    - Time Machine has gotten twice, pegging the CPU/fans on my MacBook Pro.

  10. Wow by Zebra_X · · Score: 4, Interesting

    Unbelieveable. Forgot to check the result of the copy operation eh? So basically this is a catastropic defect for people who deal with very large media files to and from remote stores or people who deal with virtual machine images.

    Back in the day when I used to use my mac I dropped a directory (A) into another directory (B) but there was an existing directory (C) with the same name as (A). The finder asked me something, I clicked OK. I was dismayed to find that the dialog had asked me "Would you like to replace directory C, with A?" - Why on earth would that ever be the default option for a directory move? From the users perspective you aren't really moving the directory, the intention is to move the files, thus the sane response would be to merge A with C not replace it.

    Whatever.

    1. Re:Wow by Tack · · Score: 2, Insightful

      I was curious, so I tried this scenario with Nautilus (the file manager in GNOME). It prompted me: "A folder named 'A' already exists. Do you want to replace it?" which sounds rather much like the Mac OS behavior your described. But it goes onto explain: "The folder already exists in 'B'. Replacing it will overwrite any files in the folder that conflict with the files being copied." This suggests instead that unlike the dialog heading, B/A will not be replaced, but the two directories' files merged. Indeed this is what it does.

      I'd call this a bug. (The wording of the dialog, that is.)

  11. Ah, the "outsourcing" coding model.. by eniac42 · · Score: 5, Funny

    Advert on Amazon Mechanical Turk:
    Write OS-X compatible application to Move a file between two filesystem devices..
    Time Allotted:: 6 hours. Reward: $10.00..

    --
    "A nation that forgets its past is doomed to repeat it." - Churchill
    1. Re:Ah, the "outsourcing" coding model.. by Larry+Lightbulb · · Score: 4, Funny

      rm $from Now where is my $5?

    2. Re:Ah, the "outsourcing" coding model.. by megaditto · · Score: 2, Funny
      Don't you mean

      cp $from $to || rm -r $from ?
      --
      Obama likes poor people so much, he wants to make more of them.
    3. Re:Ah, the "outsourcing" coding model.. by beav007 · · Score: 5, Informative

      Um... no. REALLY no. Please don't do that.

      The syntax for "||" is:
      If command 1 fails, do command 2 - otherwise exit (where you used "command1 || command2").

      In this case, your command will either copy all the files from $from to $to or delete all files at $from.

      What you probably meant is cp $from $to && rm -r $from, which only performs the second command if the first succeeded. This solution is far from perfect for reasons mentioned by other posters, but it's still significantly safer and more useful than yours...

    4. Re:Ah, the "outsourcing" coding model.. by megaditto · · Score: 5, Funny

      And that's probably why you don't work for Apple!

      --
      Obama likes poor people so much, he wants to make more of them.
    5. Re:Ah, the "outsourcing" coding model.. by Magic5Ball · · Score: 2, Interesting
      Not FC6, appearently...

      [root@alpha tmp]# echo "foo" > file
      [root@alpha tmp]# mv file /dev/null
      mv: overwrite `/dev/null'? y
      [root@alpha tmp]# ls -al /dev/null
      -rw-r--r-- 1 root root 4 Nov 5 14:17 /dev/null
      [root@alpha tmp]# cat /dev/null
      foo
      [root@alpha tmp]#
      --
      There are 1.1... kinds of people.
    6. Re:Ah, the "outsourcing" coding model.. by fractoid · · Score: 2, Funny

      All about branding hey?
      alias iMove mv

      --
      Rampant carbon sequestration destroyed the Dinosaurs' tropical paradise. I'm here to help repair the damage.
    7. Re:Ah, the "outsourcing" coding model.. by BKX · · Score: 2, Informative

      Actually I meant this but posted too soon. It pretty much guards against most things (the shell will do all the escaping necessary). The only thing i foresee a problem with is if names that are legal on one filesystem that are illegal on the other. I don't think rsync takes care of the either.

      cp -aRp "$from" "$to" && rm -r "$from"

    8. Re:Ah, the "outsourcing" coding model.. by Brian+Gordon · · Score: 2, Funny

      Which operating system uses the trash bin to burn discs?

    9. Re:Ah, the "outsourcing" coding model.. by rizzo320 · · Score: 2, Interesting

      Which operating system uses the trash bin to burn discs?

      That's just one of several ways to burn a disc in Mac OS X. You can also:

      1. Click on the disc on the desktop and then go to the File menu and select "Burn Disc", or...

      2. Double click on the disk, review its contents in a Finder window, and click the "Burn" button, or...

      3. Right-click (or command click with a pesky one button mouse) on the disc and select "eject disc". If you have copied any files to the blank disk, it will ask if you want to burn it. If you haven't, it will eject the disc. This is the same procedure as dragging the disc to the trash (which starts the eject disc process).

      Personally, I think triggering the burn process by dragging to the trash is a good idea. If you start to compile a disc, and forget about it, you will be queried to burn that disc upon attempting to eject the blank disc. It's good that there are several different, convenient ways to burn a disc in Mac OS X. So yeah, I'm happy it uses the trash to burn discs. Aren't you?
    10. Re:Ah, the "outsourcing" coding model.. by CaptnMArk · · Score: 2, Funny

      For the paranoid, check if $to is a subdirectory of $from.

      If you're lucky, it will take forever and then delete all your data.

    11. Re:Ah, the "outsourcing" coding model.. by space_in_your_face · · Score: 3, Insightful

      But that's exactly what the Leopard Finder is doing!
      Not exactly. The Leopard finder is doing something like:

      cp "$from" "$to" ; rm -rf "$from"
      like in "remove $from regardless if the copy was successful or not".
  12. Every System have critical bugs by El+Lobo · · Score: 2, Insightful
    but NEW system have even more bugs. Every new system have children diseases: some simple bugs, cosmetical, but also critical. A modern OS is a VERY complex thing, and Abbles MakOS is not different.

    I guess, more bugs are to be revealed when the number of users continue to rise, but they will also be fixed, so the system will become more and more stable with the time.

    The difference is, how the media and people in general reacts to an error of such a kind. Could yu imagine what people would scream and cry is Vista happened to just loss a bite of information? Oh, christ, I don't want to even THINK about this. Now, Abble, does that mistake, and... that's OK, nobody is perfect... Will get fixed.... People have double standards, but in the end, Vista was not THAT bad, and Abble's OSX was not THAT good. The true, is as always there, somewhere in the middle.

    --
    It's time to realise that Abble's products are the biggest abomination these days. Just say NO to the dumb iAbble way!!
  13. I don't understand by DarkOx · · Score: 2, Insightful

    Move is usually a destructive operation, on almost every platform I have ever used. Here are my experiences

    Target diskete failure doing a move from C: to A: on DOS, yep your data is gone.

    Network error moving from one windows box to another, yep your data is gone.

    NFS write failure on Linux 2.4, check your data is gone.

    Maybe move should be implemented as copy, completly then delete but its often not. I don't think there is any convention that demands it be that way. If you care about the data, at all you should always copy, check(maybe cursory, maybe md5 depending on how much you care) then delete.

    I tell my users all the time, "move it only if you can lose it."

    I don't think this is really a "bug" so much as a behavior, ie there is no handling of media exceptions when doing a move. Now if you data sometime went bye bye with two working devices that would be bug, and that is not what is being described here.

    I don't think its fair to single MAC OS out for this either. As far as I know most mainstream OS seem to handle move operations with media exceptions badly. I am also not a MAC appologist. I don't have nor have every had any Apple products. Sure maybe the OS should copy, check at least no exception events happened durring and then delete but its not a bug. I don't think you can blame the OS for problems when the hardware under it be it a disk, NIC card, or memory flakes out. If it handles it gracefully then that is a virtue of the system, if does not handle it then its room for improvement in terms of features but not really a "bug".

    --
    Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
    1. Re:I don't understand by EastCoastSurfer · · Score: 2, Insightful

      I don't think its fair to single MAC OS out for this either. As far as I know most mainstream OS seem to handle move operations with media exceptions badly. I agree. I always copy then delete, especially when dealing with network shares. Windows used to lose data if anything went wrong when moving something across the network. I don't have a Vista box handy to test if it is still an issue.

      That said, I've never understood why move isn't implemented as a copy, check, delete and only be destructive before completing if the move process figures out you don't have enough space and then prompts you.
    2. Re:I don't understand by myowntrueself · · Score: 4, Funny

      I agree. I always copy then delete, especially when dealing with network shares.

      Despite its many shortcomings, Windows ME (*NOT* the more recent ME2) had this truly wonderful feature where if you delete something from a network share it would *copy* the data across the network into your trash folder.

      Really handy when you delete 10G of data on a network share and your local hard drive has 5G available and you are on a 10mbps network.

      --
      In the free world the media isn't government run; the government is media run.
    3. Re:I don't understand by CaseyB · · Score: 3, Interesting

      I call bullshit on Windows and Linux, and I'm pretty sure you're wrong even for DOS.

      Maybe move should be implemented as copy, completly then delete but its often not.

      Why on earth wouldn't you? Doing it any other way is not only obviously dangerous, it's far harder to implement! What would you do, map the file on disk, unlink the file and then copy and wipe each raw disk block? I could see doing something crazy like this in specialized applications, where freeing storage at the source is priority one, but in the general case it's insane.

      The Apple issue is clearly just a stupid exception handling bug.

    4. Re:I don't understand by t35t0r · · Score: 5, Informative

      NFS write failure on Linux 2.4, check your data is gone.

      Uhh no. In linux mv's always make sure the data moved then delete the original file (as far back as 2.4). You can test this by dd'ing a large file (use if=/dev/urandom), then run a md5sum on it, then do a mv within the same drive, over nfs, over samba/cifs, to floppy (not sure what happens here because linux caches writes to floppies until umount), to usb drive, whatever. While the mv is in operation just pull the plug on the system (target or source system). Your old file will still be there!

    5. Re:I don't understand by crabpeople · · Score: 2, Informative

      "Network error moving from one windows box to another, yep your data is gone."

      Have you ever used a computer? Youre quite simply wrong. Ive had many move operations fail and never lost a file doing it. You can test by moving a large file, pulling the network cable out. The file is still on your PC. With your "bad disk" example, well yeah if the disk lies to the OS saying that files are copied when theyre not then that could happen. This would be very rare as bad disks tend to advertise rather loudly (to the OS) that they are going bad.

      --
      I'll just use my special getting high powers one more time...
    6. Re:I don't understand by Captain+Segfault · · Score: 2, Insightful

      linux caches writes to floppies until umount

      The nasty case here is that, as far as mv is concerned, the write is complete as soon as it's done writing to cache.

      Your test of interrupting the mv in the middle doesn't hit this case because mv hasn't finished yet. If the cached write then fails there's nothing it can do. Unless mv uses uncached writes or does a sync you're gong to have this sort of problem.

  14. Apple Customer Quality Feedback (CQF) Program by SinceEBCDIC · · Score: 3, Insightful

    If it's true that Apple's products seem less-tested these days, it's because they've tossed lots of seasoned customer quality-assurance testers to the wayside.

    Many years ago, think System 7, Apple had this great Customer Quality Feedback (CQF) program. We tortured our systems between the alpha-testers and the great unwashed masses. There were Apple staff who (gasp) listened to our bug reports and got back to us reasonably quickly. It was grand.

    Then someone got fired, or promoted, or whatever, and the CQF program got lost in the shuffle. Every few years I get an email from someone at Apple telling me that they're reconstituting it, but nothing ever comes of it, and - you know - it's hard to understand how they can ignore a free, highly-motivated bunch of fanboys.

    --

    I was born not knowing and have had only a little time to change that here and there. -- Richard Feynman
  15. Thread bug? by mveloso · · Score: 2, Insightful

    This may be a bug in the Finder thread code. Why?

    Think about it: safe data movement has been around since filesystems existed. However, the new Finder is multi-threaded. It could be that the error handler is doing the wrong thing with the thrown exception...after all, what -do- you do with an exception in a subthread? What mechanism do you use to throw it upwards to the parent thread?

    That's the joy of error handling, which is totally separate (though completely integral) to your normal architecture issues.

  16. Finder Has A 'Move' Now? by GaryPatterson · · Score: 2, Insightful

    Okay, this is a terrible bug, but to me the real news is that the Finder has a move operation. I've only ever used the simple drag (ie copy) when transferring files to other disks. That might also be why I've never had this disconnection-delete problem.

    The workaround is trivial - copy files until you're certain. In fact, I'd recommend doing that in all OSs anyway. Moves or cut-pastes are fraught with potential badness. I've lost files in Windows doing that, and always wondered what's wrong with just moving and deleting manually later on.

  17. "haha" by MutantEnemy · · Score: 5, Interesting

    Why is every destructive computer bug that happens tagged with "haha"?

    Data Loss Bug In OS X 10.5 Leopard
    bug, macosx, apple, haha

    Symantec Updates Cause Chaos in China
    haha, security, bug, windows, feature

    Banner Ad on Myspace Serves Adware to 1 Million
    haha, myspace, pwnd, security, adware

    Ubuntu May Be Killing Your Laptop's Hard Drive
    linux, haha, storage, bug, spam

    Islamists exploit buffer overflow, hack U.S. nuclear command; world doomed
    eschaton, religion, waronterror, haha

    OK, I made one of those up. But it doesn't even matter what OS or company is responsible for the problem - whoever makes the tags seems to take great delight in all computer snafus. How does the tagging system work anyway? It's always been mysterious to me.

    --
    Grr! Arg!
    1. Re:"haha" by gsking1 · · Score: 2, Informative

      In case you are serious about this question - I believe it is a reference to the Simpsons. A quick google found this...http://www.allposters.com/-sp/Nelson-Posters_i424903_.htm

  18. Not default behavior by Have+Blue · · Score: 3, Informative

    Someone should point out that by default, the Finder will copy files dragged to a different volume. You have to hold down a modifier (Command) to force a move operation. So while this is a severe bug that should be fixed immediately, it's much less likely to happen by accident than the article implies.

  19. AFAIK, this has always been an issue with Macs by toadlife · · Score: 2, Funny

    Hunter Kressel has been warning people about this for years now.

    --
    I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
  20. Re:No it isn't by tf23 · · Score: 4, Informative

    You have to pay to be able to participate in the program

    Wrong-o!! You absolutely do not have to pay anything to involved in the Appleseed program.

  21. Not just 10.5 by rir · · Score: 2, Informative

    This has been standard Mac OS operation for a long time. I know for sure that the same happens under OSX 10.4, and as I recall, older versions of the Mac OS (7/8/9) all did the same thing. Granted this is a stupid way of implementing file moving, the alarmist headline is a little unnecessary.

    1. Re:Not just 10.5 by SEE · · Score: 2, Insightful

      Hmm, so a move coded such that it doesn't actually verify the copy before the delete is standard for MacOS?

      I've heard of a phrase for this sort of thing -- "defective by design".

  22. File The Bug!! by EccentricAnomaly · · Score: 3, Informative

    Go Here: http://developer.apple.com/bugreporter/ And File a bug. And They'll fix it.

    --
    There are 10 types of people in this world, those who can count in binary and those who can't.
  23. Re:Data deletion in Mac OS X by w3woody · · Score: 2, Informative

    That behavior is by design and has been the way Apple handles directory overwrites since 1985.

  24. That's silly? You're silly. by Nirvelli · · Score: 3, Insightful

    There's absolutely no reason that a modern "move" command shouldn't already be implementing the exact process you've just described, no matter where it is moving to.

  25. Re:defectivebydesign by klubar · · Score: 4, Funny

    You have to word the dialog box more precisely. "Do you wish to not allow data corruption or success on loss of destination meda?" Cancel? Retry? Abort? Ok?

  26. This may not be a bug in Leopard by ChrisA90278 · · Score: 3, Insightful

    There is a good chance the disk drive or the networked computer is giving the finder an "OK I got it" signal BEFORE the data is actually written to the physical disk drive. So it gives this signal, then the finder deletes the old data and then the disk drive "goes away" before the data is written out of the cache and to the drive. Don't blame Finder, blame those huge disk caches where many megabytes sit and wait to be written to the drive.

    If this is true then the bug is im the copy of Samba running on the file server. We do not yet have enough information to know.

    1. Re:This may not be a bug in Leopard by El_Oscuro · · Score: 2, Interesting

      We lots of databases deployed on crappy wintel servers in remote locations. Prior to deploying any server, we lose the write cache. The group that handled deployments before us did not, and sure enough:

      1. Server gets to about 3 years old.
      2. Cache battery goes dead.
      3. Power loss. Those committed transactions that were "written" to the redo logs on disk are gone.
      4. Database fubar. Got backups?

      Friends don't let friends have write cache turned on

      --
      "Be grateful for what you have. You may never know when you may lose it."
    2. Re:This may not be a bug in Leopard by Cantus · · Score: 4, Insightful

      The default Finder behavior when you drag a file from one volume to another is to copy the file. To do a move you press the Command key and drag the file to its new destination.

      The second you drop the file, it begins copying the file to the destination volume, but the original file disappears... poof, gone. If you stop the move operation, you're left with an incomplete file in the destination volume and with nothing in the original volume. This is to me a major bug.

      This is why, for large files, I always copy.

  27. I had this happening to me with WinXP aswell by Lisandro · · Score: 4, Informative

    That's it, moving a file, network failure and poof, moved files deleted from the source. Most probably a bizarre coincidence, but after it happened a few times i now copy and then delete when working on a SMB network.

    (Or maybe Samba has something to do with it?)

  28. Re:Mod Parent Up! by Lunzo · · Score: 2, Insightful

    It's not logical at all. Why should moving one folder delete an existing one?

    As for the warnings etc, how many users actually read those warning pop-ups? And if they do read them do you reckon they'd understand exactly what was meant?

    Mac's are usually pretty good for usability. I'm surprised they'd make such glaring errors, such as not protecting a User's work, not letting them undo, and having strange behaviour which is difficult to learn on the basic file-system interface, which in theory any user should be able to figure out how to operate on the first go.

    See: http://www.asktog.com/basics/firstPrinciples.html for more info on usability.

  29. Re:Problems by Space+cowboy · · Score: 3, Funny
    No need to mod you down. You're just wrong.

    simon% dd if=/dev/zero of=test bs=1m count=17
    17+0 records in
    17+0 records out
    17825792 bytes transferred in 0.297437 secs (59931329 bytes/sec)
     
    simon% ls -l test
    -rw-r--r-- 1 simon 501 17825792 Nov 5 18:32 test
     
    simon% /usr/bin/time cp test ~/Desktop
            0.44 real 0.00 user 0.03 sys
     
    simon% ls -l ~/Desktop/test
    -rw-r--r-- 1 simon 501 17825792 Nov 5 18:33 /Volumes/Users/Users/simon/Desktop/test
     
      simon% uname -a
    Darwin mac 9.0.0 Darwin Kernel Version 9.0.0: Tue Oct 9 21:35:55 PDT 2007; root:xnu-1228~1/RELEASE_I386 i386
    ... I suspect you have a hardware problem if it's really taking that long to copy files. The above 0.44 secs (wall-clock time) is on a standard internal SATA disk. No RAID or anything special.

    Simon.
    --
    Physicists get Hadrons!
  30. Temporal problem by Roger+W+Moore · · Score: 4, Funny

    In any case, you should be using Shadow Copy...er...Time Machine which would have protected you from going and losing track of your own files.

    Great! So now not only don't we know where our data is but when it is. Perhaps in a week or two's time the data will materialize in the folder it was supposed to be moved to with an accompanying "whorping" sound coming from the speakers?

  31. That's missing the point... by megaduck · · Score: 5, Interesting

    Speaking as one of those IT people, NTFS is probably one of the coolest pieces of software ever to come out of Redmond. ACLs, alternate data streams, directory junctions, single-instance stores, shadow copy, the list of useful features is huge. Even more surprisingly, it works pretty much as advertised. Frickin' cool.

    There's another angle, though. On paper, Vista's NTFS-based backup technology walks all over Time Machine. However, the USABILITY of Vista's technology is crap. This morning, I enabled Time Machine by plugging in a USB drive and clicking "Use as Backup Disk" when prompted. To do restores, I launch the cleverly named "Time Machine" application. I've already used it twice today just because it's fun to watch the spacey animations.

    Compare that to Vista's clunky "Backup and Restore Center", which you have to use if you want to backup your files on an alternate volume. I guarantee you that using "Backup and Restore Center" is beyond most average users. Sure, it might be "better", but what good is it if it never gets used?

    --
    This .sig for rent.
  32. Re:Problems by Daengbo · · Score: 3, Informative

    How can you have a 5-digit UID and still have never seen the 17MB troll? Did you buy your account on ebay? P200. How old do you think the troll is?

  33. Re:Or [possibly], go fix it. by tftp · · Score: 4, Insightful

    Apple charges good money for Leopard, so let them fix it.

  34. Re:Or [possibly], go fix it. by andreyw · · Score: 4, Informative

    Finder, and any GUI parts of OS X in general, are not part of Darwin.

  35. Re:No it isn't by tftp · · Score: 4, Interesting

    Someone already mentioned that the bug is not in copy or delete functions of the kernel - it is in the Finder GUI that is not open source.

  36. Re:No it isn't by JEB_eWEEK · · Score: 3, Informative
    Not quite.

    How can I sign up for this program?

    We are not seeking new participants. You must have an invitation in order to log in.

    https://appleseed.apple.com/cgi-bin/WebObjects/SeedPortal.woa/wa/faq

    OR, there's:

    Become an ADC Select Member US$499.00

    Upon purchase and activation, you'll receive:

    * ADC Software Seeding Program

    http://developer.apple.com/products/select.html
  37. osx ? by l3v1 · · Score: 2, Informative

    I don't think this is an OSX specific bug. Just this weekend I moved some video files over from a Windows desktop pc to my also Windows media pc (Windows based custom box) to a shared folder, then I went out for a tea, came back in, and I forgot the move was in process, and I switched off the media pc. About half an hour later I went back to my desktop pc, to see an error message about a failed write, then all the files I wanted to move have been deleted from the desktop pc. Checking the media pc, the first file was there, but damaged.

    --
    I am putting myself to the fullest possible use, which is all I can think that any conscious entity can ever hope to do.
  38. All O/Ses have it wrong. by master_p · · Score: 2, Interesting

    First of all, files should never be deleted, they should only be hidden, unless the disk is full, of course.

    Secondly, "move" across different devices should be copy and then delete.

    Thirdly, if you copy a folder over another one with the same name, the computer should ask you what the purpose is: merge or replace? merge is often as catastrophic as replace if merging results in undesirable file combinations.

    Forthly, files should be versioned by the O/S, as in VMS. It was a great feature, I don't know why it's missing from all modern O/Ses.

  39. This may not get read, but still by analog_line · · Score: 3, Informative

    This is a bug with the FINDER ONLY, just so everyone is clear. The Unix "mv" command in Leopard is NOT affected by this.

    http://www.macintouch.com Obviously this is the front page story today.

    This only affects "move" operations between logical volumes. You have to hold down Command while you're doing this, inside the Finder, to get this to happen. Yes, it's a bad bug. It's not something, however, that you're going to run into if you're thinking sensibly about how you treat important data, or if you didn't know that the Command-drag functionality was built into the Finder (which I didn't, and I can't think of a time when I would use it now that I do, even if it was working correctly).

  40. STOP by anomaly · · Score: 2, Insightful

    The fact that someone mentioned complexity associated with command-line actions means the conversation is over. Apple's model for file copy has NOTHING to do with the command-line, switches or flags. That complexity is abstracted from the customer.

    rsync is VERY powerful. VERY powerful. In order to glean benefit of that power, you have to be educated about how to use it. Could Apple have defaulted the app to use the "include apple-specific-stuff?" Sure. Should they have? Probably.

    Regardless, rsync is HARD and complex for "joe sixpack" and it's not simpler for him to run
    rsync -e ssh --recursive -l -t -g --compress * joe@destination:dest_dir

    than it is to run
    rsync -e ssh --recursive -l -t -g --compress * joe@destination:dest_dir --includeAppleSpecificStuffHere

    It's the same to them - all gibberish.

    --
    But Herr Heisenberg, how does the electron know when I'm looking?
  41. Re:No it isn't by jeremyp · · Score: 2, Informative

    The Finder is not open source and the problem is in the Finder.

    FYI the kernel has a syscall called rename which only works if both source and destination are on the same file system. If they are not, it fails and sets errno to EXDEV. Moves between file systems are simulated by userland programs doing a copy then a delete. I'm pretty sure that cp issues a rename and then falls back to copy-delete if it gets EXDEV back. The Finder must already know that the destination is on a different file system because default behaviour is to copy when a file is dragged onto a different file system and move iif it is dragged onto the same file system.

    --
    All I want is a secure system where it's easy to do anything I want. Is that too much to ask ~~ Randall Munroe