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

Re: Bug#160705: apt: Wrong permission for /etc/apt/sources.list



On Thu, 12 Sep 2002, Pierre Machard wrote:

> strace say :
>  open("/etc/apt/sources.list", O_RDONLY|O_LARGEFILE) = -1 EACCES
>  +(Permission denied)
> 
> apt-cache show is not working properly
> apt-cache search is not working porperly
> apt-get source doesn't work for common users
> 
> /etc/apt/sources.list have the mode 600
> sources.list should have mode 644 

Try 'chmod 644 /etc/apt/sources.list'

APT never writes to that file, so something else changed the permissions.

Jason



Reply to: