Christian Heusel pushed to branch main at Arch Linux / Packaging / Packages / 
apt


Commits:
f4656eec by Daan De Meyer at 2025-01-04T09:42:08+01:00
Stop creating directories in /etc owned by the apt user

It's questionable whether these directories should always be created
if they're just going to be empty, but they definitely should not be
owned by the _apt user, as _apt is the sandbox user apt uses to perform
downloads and such, and this sandbox user should not be able to modify
apt's configuration files, as that would be a security issue.

- - - - -


1 changed file:

- apt-tmpfiles.conf


Changes:

=====================================
apt-tmpfiles.conf
=====================================
@@ -1,8 +1,3 @@
 Z /var/cache/apt 0755 _apt _apt -
 Z /var/lib/apt 0755 _apt _apt -
 Z /var/log/apt 0755 _apt _apt -
-z /etc/apt/apt.conf.d 0755 _apt _apt -
-z /etc/apt/preferences.d 0755 _apt _apt -
-z /etc/apt/sources.list.d 0755 _apt _apt -
-z /etc/apt/trusted.gpg.d 0755 _apt _apt -
-z /etc/apt/apt.conf 0644 _apt _apt -



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/apt/-/commit/f4656eec79ae62c136ab98b4875d895665ef3abb

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/apt/-/commit/f4656eec79ae62c136ab98b4875d895665ef3abb
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to