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:
parent
e2d9f5123d
commit
3ff63536d7
1 changed files with 10 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue