Add permission restrict for better secure permission
refs #13006, fixes error reporting problem