adjusting permissions