On Tue, Sep 04, 2012 at 10:31:49PM +0530, Ritesh Raj Sarraf wrote:
> On Tuesday 04 September 2012 09:05 PM, Agustin Martin wrote:
> > apt-get sets normal permissions under /var/lib/apt/lists/ as 
> >
> > -rw-r--r-- 1 root root
> >
> > for downloaded files and only keeps the lock file not world readable.
> >
> > However, when that stuff is installed by apt-offline only Sources and
> > packages files stay world readable, but not Release and Release.gpg files.
> 
> Which debian release are you on? The latest, Wheezy, does not seem to
> use Release file any more.
> It uses the new InRelease approach.

It was a testing box, but I do not remember now if apt-cache error was
triggered by Release* from official Debian repo or from a personal
repository still using Release and Release.gpg. 
 
> But I'll still fix it. World readable is not a troublesome permission.
> 
> > This causes "Permission denied" errors when using "apt-cache search",
> > apparently for no good reason.
> >
> > Also, *.deb packages installed by apt-offline under
> > /var/cache/apt/archives are not world readable, while "apt-get" installs
> > them world readable.
> >
> >
> I'll check this too. Thank  you.

Thanks a lot for your quick reply and for fixing both things.

Regards,

-- 
Agustin


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to