Set user permissions for viewing files