summaryrefslogtreecommitdiffstats
path: root/idrop-web/grails-app/controllers/org/irods/mydrop/controller/FileController.groovy
diff options
context:
space:
mode:
Diffstat (limited to 'idrop-web/grails-app/controllers/org/irods/mydrop/controller/FileController.groovy')
-rwxr-xr-xidrop-web/grails-app/controllers/org/irods/mydrop/controller/FileController.groovy2
1 files changed, 1 insertions, 1 deletions
diff --git a/idrop-web/grails-app/controllers/org/irods/mydrop/controller/FileController.groovy b/idrop-web/grails-app/controllers/org/irods/mydrop/controller/FileController.groovy
index 971b89e..714c505 100755
--- a/idrop-web/grails-app/controllers/org/irods/mydrop/controller/FileController.groovy
+++ b/idrop-web/grails-app/controllers/org/irods/mydrop/controller/FileController.groovy
@@ -236,7 +236,7 @@ class FileController {
IRODSFile targetFile = irodsFileFactory.instanceIRODSFile(absPath)
try {
- targetFile.delete()
+ targetFile.deleteWithForceOption()
log.info("file deleted")
render(view:"deleteResult", model:[absPath:targetFile.parent])
} catch (CatNoAccessException e) {