mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-25 18:05:33 +02:00
[279829] [local] Save conflict dialog keeps popping up on mounted drive
This commit is contained in:
parent
de7cdd7d58
commit
0fdcdaf37d
1 changed files with 4 additions and 1 deletions
|
@ -46,6 +46,7 @@
|
||||||
* Martin Oberhuber (Wind River) - [286129][api] RemoteFileException(String) violates API contract
|
* Martin Oberhuber (Wind River) - [286129][api] RemoteFileException(String) violates API contract
|
||||||
* David McKnight (IBM) - [299140] Local Readonly file can't be copied/pasted twice
|
* David McKnight (IBM) - [299140] Local Readonly file can't be copied/pasted twice
|
||||||
* Martin Oberhuber (Wind River) - [314461] NPE deleting a folder w/o permission
|
* Martin Oberhuber (Wind River) - [314461] NPE deleting a folder w/o permission
|
||||||
|
* David McKnight (IBM) - [279829] [local] Save conflict dialog keeps popping up on mounted drive
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.rse.internal.services.local.files;
|
package org.eclipse.rse.internal.services.local.files;
|
||||||
|
@ -676,7 +677,9 @@ public class LocalFileService extends AbstractFileService implements ILocalServi
|
||||||
throw new SystemOperationCancelledException();
|
throw new SystemOperationCancelledException();
|
||||||
// return false;
|
// return false;
|
||||||
} else if (destinationFile!=null) {
|
} else if (destinationFile!=null) {
|
||||||
destinationFile.setLastModified(localFile.lastModified());
|
// commented out as per the following bug:
|
||||||
|
// [279829] [local] Save conflict dialog keeps popping up on mounted drive
|
||||||
|
// destinationFile.setLastModified(localFile.lastModified());
|
||||||
//TODO check if we want to preserve permissions
|
//TODO check if we want to preserve permissions
|
||||||
//if(!localFile.canWrite()) destinationFile.setReadOnly();
|
//if(!localFile.canWrite()) destinationFile.setReadOnly();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue