1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-09 09:15:38 +02:00

David McKnight (IBM) - [264607] Unable to delete a broken symlink

This commit is contained in:
David McKnight 2009-03-05 19:40:15 +00:00
parent e2d9f5123d
commit 3ff63536d7

View file

@ -2742,9 +2742,16 @@ public class SystemViewRemoteFileAdapter
return false; return false;
} }
else { else {
// for deletion, you need write access to the containing directory /*
IRemoteFile parentFile = file.getParentRemoteFile(); if (file.getHost().getSystemType().isWindows()){
return parentFile.canWrite(); return true;
}
else {
// for deletion, you need write access to the containing directory
IRemoteFile parentFile = file.getParentRemoteFile();
return parentFile.canWrite();
}*/
return true;
} }
} }