Fixed permission issues with XBMC