Univention Bugzilla – Attachment 5086 Details for
Bug 30520
dh-umc-module-install installs files with permission 0755 instead of 0644
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add missing -m644
dh-umc-module-install.diff (text/plain), 2.17 KB, created by
Philipp Hahn
on 2013-02-20 14:02:31 CET
(
hide
)
Description:
Add missing -m644
Filename:
MIME Type:
Creator:
Philipp Hahn
Created:
2013-02-20 14:02:31 CET
Size:
2.17 KB
patch
obsolete
>--- /home/phahn/GIT/branches/ucs-3.1/ucs/management/univention-management-console/dev/dh-umc-module-install 2012-11-09 15:04:34.000000000 +0100 >+++ /tmp/dh-umc-module-install 2013-02-20 13:54:08.473445829 +0100 >@@ -107,26 +107,26 @@ def do_package( package, core ): > # get destination path > destFile = 'debian/%s/usr/share/univention-management-console-frontend/js/umc/modules/%s' % ( package, srcFile[len(module.js_path):] ) > # copy the .html file >- dh_ucs.doIt( 'install', srcFile, destFile ) >+ dh_ucs.doIt( 'install', '-m', '644', srcFile, destFile ) > > # copy XML definitions >- 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 ) > > if module.xml_categories: >- 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 ) > > if not core: > # copy translation files (python) > for lang in dh_umc.LANGUAGES: > mo_file = os.path.join( module.python_path, '%s.mo' % lang ) > module[ 'lang' ] = lang >- dh_ucs.doIt( 'install', mo_file, 'debian/%(package)s/usr/share/locale/%(lang)s/LC_MESSAGES/%(package)s.mo' % module ) >+ dh_ucs.doIt( 'install', '-m', '644', mo_file, 'debian/%(package)s/usr/share/locale/%(lang)s/LC_MESSAGES/%(package)s.mo' % module ) > > # copy translation files (javascript) > for lang in dh_umc.LANGUAGES: > json_file = os.path.join( module.js_path, '%s.json' % lang ) > module[ 'lang' ] = lang >- dh_ucs.doIt( 'install', json_file, 'debian/%(package)s/usr/share/univention-management-console-frontend/js/umc/modules/i18n/%(lang)s/%(Module)s.json' % module ) >+ dh_ucs.doIt( 'install', '-m', '644', json_file, 'debian/%(package)s/usr/share/univention-management-console-frontend/js/umc/modules/i18n/%(lang)s/%(Module)s.json' % module ) > > # copy translation files (xml) > for lang in dh_umc.LANGUAGES:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 30520
: 5086