After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 534270 - Recursive folder copy
Recursive folder copy
Status: RESOLVED DUPLICATE of bug 530720
Product: nautilus
Classification: Core
Component: File and Folder Operations
2.22.x
Other All
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-05-21 23:17 UTC by vexorian
Modified: 2008-05-21 23:23 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description vexorian 2008-05-21 23:17:24 UTC
Please describe the problem:
Nautilus allows the user to copy a folder into itself, this can have some consequences but it is more of an issue that could only happen by an user accident.


Steps to reproduce:
1. Go to your home folder.
2. Create an empty test folder
3. Right click and copy this test folder
4. Enter the folder
5. Try paste.



Actual results:
Nautilus will now create a lot of nested "test" folders until it hits the file length limit.

If you want to try, do it on a folder that got content, if you don't cancel the process this will create a lot of files.





Expected results:
GNU's cp command seems to take this into consideration:

vx@ubuntuvx:~$ cp -R ./test ./test/omg
cp: cannot copy a directory, `./test', into itself, `./test/omg'




Does this happen every time?
Yes.

Other information:
Comment 1 Cosimo Cecchi 2008-05-21 23:21:59 UTC
Thanks for taking the time to report this bug.
This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. It should be solved in the next software version. You may want to check for a software upgrade.


*** This bug has been marked as a duplicate of 530720 ***
Comment 2 vexorian 2008-05-21 23:23:27 UTC
I am sorry, for some reason I wasn't able to find the previous entry.