]> git.ipfire.org Git - thirdparty/fcron.git/commit
build: install programs as owner rw (#3)
authorEli Schwartz <eschwartz93@gmail.com>
Sun, 19 Apr 2020 08:36:22 +0000 (04:36 -0400)
committerGitHub <noreply@github.com>
Sun, 19 Apr 2020 08:36:22 +0000 (09:36 +0100)
commit9552c76eadee7c8387c6513313de3366ae5a5c49
tree97b06b035049e5d326ed9b23cea8effff74b9185
parent288f3ec35f20737e4c3a6b094f78c73bde7ba31e
build: install programs as owner rw (#3)

Principle of least privilege suggests that for security-relevant
programs, no permissions other than those strictly necessary should be
applied. Hence the historic permissions for fcron were "executable, and
that's it". However, this causes problems for some legitimate use cases,
such as analysis of soname dependencies via readelf, use of strip, etc.

Slightly relax the install permissions to grant the owner, at least, rw
permissions. The owner can already trivially obtain these permissions at
will using chown, this merely saves them the bother.

Fixes #2
Makefile.in