Bug#452425: desktop-base: odd perms on /usr/share/gnome-background-properties
Package: desktop-base
Version: 4.0.3
Severity: minor
Tags: patch
jbr@hurakan:~$ stat -c%a=%A /usr/share/gnome-background-properties
655=drw-r-xr-x
What no owner-executable bit?
I'm no Makefile expert, especially when cdbs is involved, but the
problem seems to be the 'INSTALL=install -m 0644' followed by
'$(INSTALL) -d $(DESTDIR)/usr/share/gnome-background-properties'.
Changing that to plain
'install -d $(DESTDIR)/usr/share/gnome-background-properties'
and rebuilding cures it:
jbr@hurakan:~$ stat -c%a=%A /usr/share/gnome-background-properties
755=drwxr-xr-x
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing'), (50, 'unstable')
Architecture: i386 (i586)
Kernel: Linux 2.6.22.custom
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages desktop-base depends on:
ii librsvg2-common 2.18.2-1 SAX-based renderer library for SVG
desktop-base recommends no packages.
-- no debconf information
--
JBR
Ankh kak! (Ancient Egyptian blessing)
--- Makefile.old 2007-11-22 19:32:20.000000000 +0000
+++ Makefile 2007-11-22 19:17:30.000000000 +0000
@@ -46,6 +46,6 @@
mkdir -p $(DESTDIR)/usr/share/desktop-base/profiles/xdg-config/xfce4-session
$(INSTALL) $(wildcard profiles/xdg-config/xfce4-session/*) $(DESTDIR)/usr/share/desktop-base/profiles/xdg-config/xfce4-session
# GNOME background descriptor
- $(INSTALL) -d $(DESTDIR)/usr/share/gnome-background-properties
+ install -d $(DESTDIR)/usr/share/gnome-background-properties
$(INSTALL) gnome-backgrounds.xml $(DESTDIR)/usr/share/gnome-background-properties/debian.xml
Reply to: