make directory readonly