Bug 290806 - net-mgmt/smokeping: change etc/smokeping_secrets.sample file permission
Summary: net-mgmt/smokeping: change etc/smokeping_secrets.sample file permission
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Rodrigo Osorio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-05 06:02 UTC by MIHIRA Sanpei Yoshiro
Modified: 2025-11-11 21:14 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (rodrigo)


Attachments
change etc/smokeping_secrets.sample file permission (1.83 KB, patch)
2025-11-05 06:02 UTC, MIHIRA Sanpei Yoshiro
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description MIHIRA Sanpei Yoshiro freebsd_committer freebsd_triage 2025-11-05 06:02:40 UTC
Created attachment 265174 [details]
change etc/smokeping_secrets.sample file permission

The files etc/smokeping_secrets and the sample file should not be world-readable.

However, when installing Smokeping, the following message currently appears on the webpage:
Software error:
ERROR: /usr/local/etc/smokeping/config, line 120: File '/usr/local/etc/smokeping/smokeping_secrets' is world-readable or writable, refusing it

Therefore, the file mode should be changed to 600 if it's a recommendation