fixed permissions issue when upgrading apps

eom

Signed-off-by: Robert Tipton <tret@tretflix.com>