notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
All times are UTC
Ukraine
non port: sysutils/nut-devel/files/nut.newsyslog
SVNWeb

Number of commits found: 1

Fri, 10 Feb 2023
[ 18:26 Cy Schubert (cy) search for other commits by this committer ]    commit hash:a4cc1509a9b65367f76bbdf6b684035d0c3bfbc3  commit hash:a4cc1509a9b65367f76bbdf6b684035d0c3bfbc3  commit hash:a4cc1509a9b65367f76bbdf6b684035d0c3bfbc3  a4cc150 
sysutils/nut*: Fix nut file access

Preexisting nut files will have uucp group permissions, which will no
longer be available to nut because it runs under its own GID. For the
time being add code to nut_prestart() adjusting the ownership of the
files to UID nut and GID nut.

This code should be removed approximately a year from now as it is
expected that most if not all nut installations will have correct file
ownership by then.

While here, also fix nut.newsyslog to refer to the new nut UID/GID.

Reported by:	avg, Mathieu <sigsys@gmail.com>
Fixes:		02c038c8cc15

Number of commits found: 1