Bug#170977: apt-get update sets Source/Release/Packages unreadable by group and world
severity 170977 wishlist
retitle 170977 Preserve permissions of /var/lib/apt/lists/* when a new version is fetched
thanks
> apt-get update sometimes sets the files in /var/lib/apt/lists to mode 0600
> preventing group and world from reading them. If all the Release,Sources,
> and Packages files were set to 0644 then regular users can browse the
> package tree.
>
> As it is now, we always need root, just to read a package description.
These files are created using the current umask, so if you set a umask which
allows world readability, the files will be created as such.
It does seem that the permissions are reset whenever the file is downloaded,
though, and it would be nice if they were not.
--
- mdz
Reply to: