Description: Make snmpd pidfile word-readable Almost all pid files are mode 644, including snmptrapd. For some unknown reason, snmpd had mode 0600. Now it has 644 like everyone else. Author: Craig Small Bug-Debian: https://bugs.debian.org/528103 Reviewed-by: Craig Small Last-Update: 2025-12-23 --- a/agent/snmpd.c +++ b/agent/snmpd.c @@ -955,7 +955,7 @@ * already exists. */ unlink(pid_file); - fd = open(pid_file, O_CREAT | O_EXCL | O_WRONLY, 0600); + fd = open(pid_file, O_CREAT | O_EXCL | O_WRONLY, 0644); if (fd == -1) { snmp_log_perror(pid_file); if (!netsnmp_ds_get_boolean(NETSNMP_DS_APPLICATION_ID,