[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problems with _apt user privileges in upgrading from Jessie to Stretch [solved?]



On 2017-06-19 11:03 -0700, Jim McCloskey wrote:

> Sven Joachim (svenjoac@gmx.de) wrote:
>
>         |>  On my system, only /var/lib/apt/lists/partial is owned by
>         |>  the  _apt   user,  and it's not world-readable:
>  
>    |>  All the regular files in /var/lib/apt/lists are owned by 
>    |>  root:root and have standard 0644 permissions
>
> Thank you. How strange. I just reverted my own earlier change so that
> the  ownerships and permissions are as you describe in your
> reply. /var/lib/apt/lists/ and the files within it are owned by
> root:root and:
>
>      # ls -ld /var/lib/apt/lists/partial
>                   drwx------ 2 _apt root 20480
>                 Jun15:52 /var/lib/apt/lists/partial
>
> and the warning/issue immediately returned:
>
>   Reading package lists... Done
>   W: Download is performed unsandboxed as root as file
> '/var/lib/apt/lists/partial/deb.debian.org_debian_dists_stretch_InRelease'   couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission   denied)

Are /var/lib/apt/lists/ and its parent directories world-readable and
world-executable?

Cheers,
       Sven


Reply to: