readall: fix permissions