In CentOS 7 and Ubuntu22.04, use the ls -l command to view the permissions of the shadow file, and you get (----------) for CentOS 7, and (-rw-r-----), but the root user has read and write permissions to the file, so why are the permissions seen by using ls -l to view the shadow file different?