class RpcSystemFileCommandsHelper extends SymbolicLinkHelper {

    @Override
    public boolean setWritable(String fileName, boolean writable) {
        // skip symbolic; Java changes the link's target permission not the link
        if(SymbolicLinkHelper.isSymbolicLink(fileName)) {
            return true;
        }
        return new File(fileName).setWritable(writable);
    }

}