[arch-general] pacman caches packages with u=rw, g=, o= permissions

u34 at net9.ga u34 at net9.ga
Tue Jan 18 12:40:57 UTC 2022


mpan via arch-general <arch-general at lists.archlinux.org> wrote:

> > Lately, possibly starting at mid December, files in /var/cache/pacman/pkg/
> > are kept with mode u=rw,g=,o= . Am I the only one having it?
>    Not observed here:
> -----
>   $ find /var/cache/pacman/pkg/ -iname '*.tar.zst' -exec stat -c '%a' {} 
> + | sort -u
> 644
> -----
> 
>    Check what `umask` prints before invoking pacman. If not 0022, here???s 
> the culprit. 

Right to the point. A systemd timer script had a too strict Umask setting.

Thank for all replies.

--
jadon

> Otherwise please post the EXACT, COMPLETE command line you 
> are invoking.


More information about the arch-general mailing list