Bug 562957 - Exporting files to local filesystem doesn't allow overwrites
Summary: Exporting files to local filesystem doesn't allow overwrites
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 4.15   Edit
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-08 04:42 EDT by Torbjörn Stabo CLA
Modified: 2020-05-08 04:56 EDT (History)
1 user (show)

See Also:


Attachments
Error popup after 2nd export (42.41 KB, image/png)
2020-05-08 04:42 EDT, Torbjörn Stabo CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Torbjörn Stabo CLA 2020-05-08 04:42:41 EDT
Created attachment 282753 [details]
Error popup after 2nd export

To reproduce:
(The Eclipse workspace is in my /home folder)
1. In PHP perspective(unsure whether this matters)
2. Select some files/folders in Project Explorer
3. Right click on them and select Export..., General->File System
4. Select /tmp as "To directory", and "Create only selected directories" under Options
5. Click Finish. 
6. The export finishes
7. Now repeat step 3-5, i.e export to a target folder with existing files/folders that Eclipse asks if you want to overwrite or not
8. Click "Yes To All" in the Question popup that asks whether you want to overwrite files in target folder
9. There's an error popup saying there were errors(see attachment)

Expected behavior:
Since I selected "Yes To All" I expected the files in /tmp to be updated. If I run "cp <some file in my local workspace> /tmp/" from bash/command line I can run it as many times as I wish, with no problems regarding overwriting files.

So I can get around, running cp from command line. But exporting from within Eclipse is a pretty fundamental part of my workflow in this case.