Bug 36790

Summary: UMC XML files should not have executable permission
Product: UCS Reporter: Philipp Hahn <hahn>
Component: UMC (Generic)Assignee: UMC maintainers <umc-maintainers>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P5 CC: best, gohmann
Version: UCS 4.0Flags: best: Patch_Available+
Target Milestone: UCS 4.x   
Hardware: Other   
OS: Linux   
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=29233
https://forge.univention.org/bugzilla/show_bug.cgi?id=30520
What kind of report is it?: --- What type of bug is this?: ---
Who will be affected by this bug?: --- How will those affected feel about the bug?: ---
User Pain: Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional):
Max CVSS v3 score:

Description Philipp Hahn univentionstaff 2014-11-18 09:54:29 CET
/usr/share/univention-management-console/modules# ls -l
insgesamt 84
-rwxr-xr-x 1 root root 3908 Nov 11 16:28 appcenter.xml
-rw-r--r-- 1 root root 1539 Nov 14 13:04 apps.xml
-rwxr-xr-x 1 root root  593 Nov 11 16:28 apps.xml.debian
-rwxr-xr-x 1 root root  522 Nov  5 14:25 diagnostic.xml
-rwxr-xr-x 1 root root  268 Nov 10 16:36 ipchange.xml
-rwxr-xr-x 1 root root  785 Okt 29 11:22 join.xml
-rwxr-xr-x 1 root root  682 Nov 10 16:49 lib.xml
-rwxr-xr-x 1 root root  448 Okt 22 09:59 mrtg.xml
-rwxr-xr-x 1 root root  338 Nov 10 13:40 passwordchange.xml
-rwxr-xr-x 1 root root  663 Okt 27 16:03 pkgdb.xml
-rwxr-xr-x 1 root root  843 Nov  7 18:57 quota.xml
-rwxr-xr-x 1 root root  346 Okt 29 13:09 reboot.xml
-rwxr-xr-x 1 root root  760 Okt 14 18:55 services.xml
-rw-r--r-- 1 root root  552 Nov 14 08:11 setup-certificate.xml
-rwxr-xr-x 1 root root 2492 Nov 13 21:10 setup.xml
-rwxr-xr-x 1 root root  658 Okt 14 19:23 sysinfo.xml
-rwxr-xr-x 1 root root  412 Okt 24 16:19 top.xml
-rwxr-xr-x 1 root root  677 Okt 31 22:05 ucr.xml
-rwxr-xr-x 1 root root 5047 Nov 10 14:49 udm.xml
-rwxr-xr-x 1 root root 2116 Nov 13 13:55 updater.xml
Comment 1 Florian Best univentionstaff 2014-11-19 11:01:30 CET
diff --git a/ucs-4.0-0/management/univention-management-console/dev/dh-umc-module-install b/ucs-4.0-0/management/univention-management-console/dev/dh-umc-module-install
index 66f7a93..0a358db 100755
--- a/ucs-4.0-0/management/univention-management-console/dev/dh-umc-module-install
+++ b/ucs-4.0-0/management/univention-management-console/dev/dh-umc-module-install
@@ -114 +114 @@ def do_package(package, core):
-                       dh_ucs.doIt('install', module.xml_definition, 'debian/%(package)s/usr/share/univention-management-console/modules' % module)
+                       dh_ucs.doIt('install', '-m', '644', module.xml_definition, 'debian/%(package)s/usr/share/univention-management-console/modules' % module)
@@ -117 +117 @@ def do_package(package, core):
-                       dh_ucs.doIt('install', module.xml_categories, 'debian/%(package)s/usr/share/univention-management-console/categories' % module)
+                       dh_ucs.doIt('install', '-m', '644', module.xml_categories, 'debian/%(package)s/usr/share/univention-management-console/categories' % module)
Comment 2 Philipp Hahn univentionstaff 2015-12-03 13:20:39 CET

*** This bug has been marked as a duplicate of bug 30520 ***