 
     publicIpView = new KDView
       partial   : @machine.ipAddress or 'N/A'
+
+    fixPermissionLink = if running and @machine.getOldOwner()
+    then "<span class='link-view permission'>fix permissions</span>" else ''
 
     @addSubView @form = new KDFormViewWithFields
       cssClass          : 'AppModal-form'

  bindViewEvents: ->

    { hasClass } = kd.dom
    { nickname, nickEdit, buildlogs, publicIp, stackInfo } = @form.inputs

    nickname.on 'click', (e) =>

      return  unless e.target.tagName is 'SPAN'

      buildlogs.updatePartial 'loading...'
      computeController.showBuildLogs @machine
      kd.utils.wait 1000, @lazyBound 'emit', 'ModalDestroyRequested'


