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