interface FilePermissionService
Modifier and Type | Method and Description |
---|---|
boolean |
limitAccessToOwner(java.io.File file)
Change the permissions of a file so that only the owner can access it.
|
boolean limitAccessToOwner(java.io.File file) throws java.io.IOException
file
- the file whose permissions should be changedtrue
if the permissions were successfully changed, or
false
if the implementation does not support changing
permissions on this file systemjava.io.IOException
- if an error happens when changing the permissionsApache Derby V10.11 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.