acaeff2187
local-attach and local-detach require root permissions to execute successfully. This patch adds checks if user has such privileges. Change-Id: Ia05e3edebf2d1ffb046c56e78c81d469856c8f46