Your message dated Wed, 16 Jul 2008 16:17:07 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#475182: fixed in mcabber 0.9.7-0.1
has caused the Debian Bug report #475182,
regarding mcabber should use stat (not lstat) to check config file permissions
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
475182: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=475182
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: mcabber
Version: 0.8.3-1
Severity: minor
Tags: patch
My .mcabberrc is a symlink to an encfs-encrypted file because it
contains a password:
[EMAIL PROTECTED]:~$ ls -l .mcabberrc
lrwxrwxrwx 1 dh3 dh3 16 2008-03-20 09:37 .mcabberrc -> encfs/.mcabberrc
[EMAIL PROTECTED]:~$ ls -l encfs/.mcabberrc
-rw------- 1 dh3 dh3 10004 2008-03-28 14:47 encfs/.mcabberrc
When mcabber starts, it complains about the file permissions:
[EMAIL PROTECTED]:~$ mcabber
MCabber 0.8.3 -- Email: mcabber [at] lilotux [dot] net
[15:31:29] MCabber 0.8.3 -- Email: mcabber [at] lilotux [dot] net
[15:31:29] Bad permissions [/home/dh3/.mcabberrc]
[15:31:29] Permissions have been corrected
I believe this is because mcabber is using lstat when it should be using
stat to check the file permissions. The permissions of the symlink are
irrelevant, it's the permissions on the target file that should be
checked. (Incidentally, the message claiming that the permissions have
been corrected is false because chmod works on the target file not the
symlink.)
I've attached a small patch to fix this.
thanks,
Dave
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages mcabber depends on:
ii libc6 2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii libglib2.0-0 2.12.4-2 The GLib library of C routines
ii libncursesw5 5.5-5 Shared libraries for terminal hand
ii libssl0.9.8 0.9.8c-4etch1 SSL shared libraries
mcabber recommends no packages.
-- no debconf information
--
The Wellcome Trust Sanger Institute is operated by Genome Research
Limited, a charity registered in England with number 1021457 and a
company registered in England with number 2742969, whose registered
office is 215 Euston Road, London, NW1 2BE.
--- mcabber-0.8.3/src/utils.c 2006-11-16 20:54:21.000000000 +0000
+++ mcabber-0.8.3-patched/src/utils.c 2008-04-09 15:36:12.307000000 +0100
@@ -127,7 +127,7 @@
return 0;
#endif
- fd = lstat(name, &buf);
+ fd = stat(name, &buf);
if (fd == -1) return -1;
if (buf.st_uid != geteuid()) {
--- End Message ---
--- Begin Message ---
Source: mcabber
Source-Version: 0.9.7-0.1
We believe that the bug you reported is fixed in the latest version of
mcabber, which is due to be installed in the Debian FTP archive:
mcabber_0.9.7-0.1.diff.gz
to pool/main/m/mcabber/mcabber_0.9.7-0.1.diff.gz
mcabber_0.9.7-0.1.dsc
to pool/main/m/mcabber/mcabber_0.9.7-0.1.dsc
mcabber_0.9.7-0.1_powerpc.deb
to pool/main/m/mcabber/mcabber_0.9.7-0.1_powerpc.deb
mcabber_0.9.7.orig.tar.gz
to pool/main/m/mcabber/mcabber_0.9.7.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Gerfried Fuchs <[EMAIL PROTECTED]> (supplier of updated mcabber package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Wed, 16 Jul 2008 17:51:43 +0200
Source: mcabber
Binary: mcabber
Architecture: source powerpc
Version: 0.9.7-0.1
Distribution: unstable
Urgency: low
Maintainer: Mario Iseli <[EMAIL PROTECTED]>
Changed-By: Gerfried Fuchs <[EMAIL PROTECTED]>
Description:
mcabber - Small Jabber console client
Closes: 475182 479601
Changes:
mcabber (0.9.7-0.1) unstable; urgency=low
.
* Non-maintainer upload.
* New upstream release, which includes:
- using stat instead of lstat for permission check (closes: #475182)
* Fix watchfile to watch only for numbered versions (closes: #479601)
* Updated Standards-Version to 3.8.0:
- Added README.source quick introduction on dpatch usage.
Checksums-Sha1:
512b8e7f8150601f197736e57a32f48859e18a2a 1113 mcabber_0.9.7-0.1.dsc
11876033a2c90e4a32a31ad45437503d65cbf5bb 621068 mcabber_0.9.7.orig.tar.gz
b095e8d01e3a8eeb1c8c1d40858d32e2f9bee53f 5798 mcabber_0.9.7-0.1.diff.gz
c818115027dd6d508ca4fe6eec0fd891c56018a0 284292 mcabber_0.9.7-0.1_powerpc.deb
Checksums-Sha256:
e8b38537fb2e5c3d5b17399a9d1d3aa5bf1b9106d53adf6f90ef8c463833385b 1113
mcabber_0.9.7-0.1.dsc
2664ae52ebd3d0e46cf3a2c1cc105a23080875827e34e1c35bfe81997f61226d 621068
mcabber_0.9.7.orig.tar.gz
1f05405804cf1851716fb76f1ac8a24930f51a55152d0b79b8a2fd797a5c083e 5798
mcabber_0.9.7-0.1.diff.gz
20dedbddd8b6bf53245791b117491c224660cc1bba8e774d7077628b53faadf1 284292
mcabber_0.9.7-0.1_powerpc.deb
Files:
ebc3246c5f6024c6f7881d6422d06ef0 1113 net optional mcabber_0.9.7-0.1.dsc
26680053364abd6f0f09b4d9250a96c3 621068 net optional mcabber_0.9.7.orig.tar.gz
351d214069d6b6e186394407d0d9416f 5798 net optional mcabber_0.9.7-0.1.diff.gz
738e667ef7c5f6f12cf9cdbe6ea4010f 284292 net optional
mcabber_0.9.7-0.1_powerpc.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkh+HpoACgkQELuA/Ba9d8amiQCg1TRIrtM1uTyVyUzc+21pJ9zn
fb8An0gUM/6SxqsS7ZFXTuL6Ria8/VK6
=1nbG
-----END PGP SIGNATURE-----
--- End Message ---