Fix app directory ownership