setting permissions ok