Page MenuHomePhabricator

File permissions trigger debian lintian warnings: TranslateSandbox.php
Closed, ResolvedPublic


0. Context

DEB packages of mediawiki and many of its extensions, are prepared as part of the WP-MIRROR project.

  1. Lintian

During the build process, lintian performs a great number of sanity checks, including seeing if each file has file permissions appropriate to its file type.

When lintian sees a non-executable file with 755 permissions, rather than 644, lintian will throw a warning like:

W: wp-mirror-mediawiki: executable-not-elf-or-script usr/share/wp-mirror-mediawiki/extensions/Translate/utils/TranslateSandbox.php

  1. Files which should have permissions set to 644


  1. Technical details

DEB standards version: 3.9.6
GIT branch: master

Event Timeline

wpmirrordev assigned this task to Nikerabbit.
wpmirrordev raised the priority of this task from to Medium.
wpmirrordev updated the task description. (Show Details)
wpmirrordev added a subscriber: wpmirrordev.
Nikerabbit renamed this task from extensions/Translate - file permissions trigger debian lintian warnings to File permissions trigger debian lintian warnings: TranslateSandbox.php.Jun 27 2015, 7:37 AM
Nikerabbit removed Nikerabbit as the assignee of this task.
Nikerabbit lowered the priority of this task from Medium to Low.
Nikerabbit set Security to None.

Change 221408 had a related patch set uploaded (by Alex Monk):
chmod 644 utils/TranslateSandbox.php

Change 221408 merged by jenkins-bot:
chmod 644 utils/TranslateSandbox.php

I confirm that the above mentioned debian lintian warning is cured.