Comment 2 for bug 186149

Revision history for this message
Kow (kow) wrote :

I should clarify that this cannot happen. When you copy an entire folder what is being copied is evaluated on-the-fly as you are copying it. In other words, copying a folder inside itself will result in recursion (happens in any OS, this is standard behavior) BUT the bug is that nautilus lets it happen and the error is ugly. This could be/is a security vulnerability. I never checked to see how far the recursion occurred for but it happened until the path length exceeded what the filesystem allows for a max path length. The copy shouldn't start at all and nautilus should provide a nice user friendly error message saying something to the effect of "Cannot copy source folder to destination folder which is inside source folder - result is endless recursion."