/var/permission

Origin link 2025-11-18

 

from link, /var/mail should have correct permissions 2775 root:mail

The first digit "2" represents the setgid (Set Group ID) special permission:

The s represents the setgid bit. It appears in the group execute position:
  • Normal group permissions: rwx (read, write, execute)
  • With setgid: rws (read, write, setgid)
  • With setgid but no execute: rwS (capital S)