Bug#561238: Permissions for backup files is 777

2009-12-15 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Package: tellico
Version: 2.1.1-2
Severity: normal

As said in the subject, the mode (kde expression is permissions) of
backup files is set to 777.

I locate the bug (line 254 in src/core/filehandler.cpp) but as it uses
the KDE gedöns KIO::* and KFileItem::* I do not know how to patch that
correctly. However, KIO::chmod(..., -1, 0, ...) seems to be not the
correct way.

- -- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (700, 'unstable'), (600, 'stable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-1-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) (ignored: LC_ALL set to 
de_DE)
Shell: /bin/sh linked to /bin/dash

Versions of packages tellico depends on:
ii  kdebase-runtime 4:4.3.4-2runtime components from the offici
ii  kdelibs54:4.3.4-1core libraries for all KDE 4 appli
ii  libc6   2.10.2-2 GNU C Library: Shared libraries
ii  libexempi3  2.1.1-1  library to parse XMP metadata (Lib
ii  libgcc1 1:4.4.2-5GCC support library
ii  libkcddb4   4:4.3.4-1CDDB library for KDE 4 (runtime)
ii  libksane0   4:4.3.4-1scanner library for KDE 4 (runtime
ii  libpoppler-qt4-30.12.2-2 PDF rendering library (Qt 4 based 
ii  libqimageblitz4 1:0.0.4-4QImageBlitz image effects library
ii  libqt4-dbus 4:4.5.3-4Qt 4 D-Bus module
ii  libqt4-xml  4:4.5.3-4Qt 4 XML module
ii  libqtcore4  4:4.5.3-4Qt 4 core module
ii  libqtgui4   4:4.5.3-4Qt 4 GUI module
ii  libstdc++6  4.4.2-5  The GNU Standard C++ Library v3
ii  libtag1c2a  1.6.1-1  TagLib Audio Meta-Data Library
ii  libv4l-00.6.3-1  Collection of video4linux support 
ii  libxml2 2.7.6.dfsg-1 GNOME XML library
ii  libxslt1.1  1.1.26-1 XSLT processing library - runtime 
ii  libyaz3 3.0.52-1 The YAZ Z39.50 toolkit (runtime fi
ii  tellico-data2.1.1-2  collection manager for books, vide
ii  tellico-scripts 2.1.1-2  collection manager for books, vide

Versions of packages tellico recommends:
ii  khelpcenter4  4:4.3.4-2  Help Center for KDE 4

tellico suggests no packages.

- -- no debconf information

- -- 
Klaus Ethgenhttp://www.ethgen.de/
pub  2048R/D1A4EDE5 2000-02-26 Klaus Ethgen kl...@ethgen.de
Fingerprint: D7 67 71 C4 99 A6 D4 FE  EA 40 30 57 3C 88 26 2B
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iQEVAwUBSyeA75+OKpjRpO3lAQoZ9AgAsL1C4ZH+l7LTbGLKm9uiqKkL4HXHjsfB
IRd2pxk4KjC5U8k3cuZRFQySVSDwdC0ZbSwllsKPqqD68l/KzVkObX1uuYCSS+w7
63mYBghEBEL2F2SdVxaavzILw+hk9iVxucczYwrDugiC5wnkcI//qFxJd45Eh6rH
zjLZk2XmADkv1+Rw/on2MlNBdR7AMgMDuj4EMsbsFIvWuBpOtFYC87LpLb3rzli1
jN1Hxic5IY2fHoU/3M5cV1H2ZD3MCVtySF/5n0Y7E7Ia1RiH05knGddvkXCXaMVY
lJTedw5gdGA+H/+eviCf9gFDFxOvBsKRGRq/Rc9Bv7B7W0Lual0wew==
=7Y7v
-END PGP SIGNATURE-



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#561238: Permissions for backup files is 777

2009-12-15 Thread Robby Stephenson
On Tuesday 15 December 2009, you wrote:
 Package: tellico
 Version: 2.1.1-2
 Severity: normal
 
 As said in the subject, the mode (kde expression is permissions) of
 backup files is set to 777.
 
 I locate the bug (line 254 in src/core/filehandler.cpp) but as it uses
 the KDE gedöns KIO::* and KFileItem::* I do not know how to patch that
 correctly. However, KIO::chmod(..., -1, 0, ...) seems to be not the
 correct way.

Oh, you're right, the KIO::chmod is messing thing up. I'll remove that.

All the permissions are handled within KSaveFile::backupFile(...)

Everything seems to work if the backup file exists already with the correct 
permissions.

ro...@homebase:~/documents ls -l books.tc*
-rw-r--r-- 1 robby users 152041 2009-12-15 06:51 books.tc
-rw-r--r-- 1 robby users 152046 2009-12-15 06:51 books.tc~

Robby



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org