fix permissions: apps
fix permissions: 3rdparty
use persistent userapps dir
fix permissions: userapps