Fixed wrong uid/gid for directories