]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit - lfs/backup
backup: Set owner of {ex,in}clude{,.user} files to "root"
authorPeter Müller <peter.mueller@ipfire.org>
Mon, 26 Sep 2022 18:50:08 +0000 (18:50 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Tue, 27 Sep 2022 10:53:29 +0000 (10:53 +0000)
commitbd053b99b3feb2e7036822dbbac24b5ce80ce2df
tree5d8cae23e32ea736548b99803ec1b9a593e3fe0d
parentd62babe08e3284c3f18ad574b2a255195348c309
backup: Set owner of {ex,in}clude{,.user} files to "root"

Since these files are static, there is no legitimate reason why they
should be owned (hence writable) by "nobody". Also, according to
configroot's LFS file, this is the intended behaviour for the *.user
files, which is then overwritten by the backup LFS file. Therefore, set
the file mode of these statically - configroot does not feature other
files in /var/ipfire/backup/ anyway.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/backup
lfs/configroot