Hi Armin,

Am 24.04.2013 16:28, schrieb Armin Haas:
> Package: apt-show-versions
> Version: 0.20
> Severity: normal
> 
> Dear Maintainer,
> 
> directly after I installed apt-show-versions I was able to run it as root and
> as non-root. Now it still works when I run it as root, but when I try to run
> it as non-root, I get this:
> 
> can't open /var/cache/apt-show-versions/files: Permission denied at 
> /usr/bin/apt-show-versions line 188
> 
> And indeed /var/cache/apt-show-versions/files has permissions 0600.
> 
> I didn't change permissions manually on that file, but I did run
> 'apt-show-versions --initialize' manually as root after installing updates.
> root's umask on my system is 0077.

You are right. The permission were set wrong because of your umask.
Default umask is 0022. You have to chmod all files in
/var/cache/apt-show-versions/. I will think about a bugfix in a future
version.

Christoph

-- 
============================================================================
Christoph Martin, Zentrum für Datenverarbeitung, Uni-Mainz, Germany
 Anselm Franz von Bentzel-Weg 12, 55128 Mainz
 Telefon: +49(6131)3926337
 Instant-Messaging: Jabber: mar...@uni-mainz.de
  (Siehe http://www.zdv.uni-mainz.de/4010.php)

<<attachment: martin.vcf>>

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to