Wrong permission for /etc/apt-cacher-ng

Bug #1788001 reported by Hồng Quân
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt-cacher-ng (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

The /etc/apt-cacher-ng should be under "apt-cacher-ng" user, but this is its default permission. This causes apt-cacher-ng failed to run.

$ exa /etc/apt-cacher-ng -lg
Permissions Size User Group Date Modified Name
.rw-r--r-- 23k root root 5 Feb 23:48 acng.conf
.rw-r--r-- 0 root root 20 Aug 23:55 backends_debian
lrwxrwxrwx 46 root root 5 Feb 23:48 backends_debian.default -> /var/lib/apt-cacher-ng/backends_debian.default
.rw-r--r-- 0 root root 20 Aug 23:55 backends_debvol
lrwxrwxrwx 46 root root 5 Feb 23:48 backends_gentoo.default -> /usr/lib/apt-cacher-ng/backends_gentoo.default
.rw-r--r-- 31 root root 20 Aug 23:55 backends_ubuntu
lrwxrwxrwx 46 root root 5 Feb 23:48 backends_ubuntu.default -> /var/lib/apt-cacher-ng/backends_ubuntu.default
.rw-r----- 401 root apt-cacher-ng 6 Nov 2017 security.conf
.rw-r--r-- 618 root root 20 Aug 23:55 zz_debconf.conf

Revision history for this message
Eduard Bloch (edi-gmx) wrote :

Really?
$ ls /etc/apt-cacher-ng/ -ld
drwxr-xr-x 3 root root 4096 Jul 4 20:34 /etc/apt-cacher-ng/

It has all the permissions it needs to read the files. You might have something more fishy in the system.

Revision history for this message
Hồng Quân (ng-hong-quan) wrote :

Sorry. I made mistake.

Changed in apt-cacher-ng (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.