Page MenuHomePhabricator

extensions/Thanks - file permissions trigger debian lintian warnings
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 shell script with 644 permissions, rather than 755, lintian will throw a warning like:

W: wp-mirror-mediawiki: script-not-executable usr/share/wp-mirror-mediawiki/extensions/Thanks/scripts/pre-commit

  1. Files which should have permissions set to 755


  1. Technical details

DEB standards version: 3.9.6
GIT branch: master

Event Timeline

wpmirrordev assigned this task to kaldari.
wpmirrordev raised the priority of this task from to Medium.
wpmirrordev updated the task description. (Show Details)
wpmirrordev added a subscriber: wpmirrordev.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
wpmirrordev renamed this task from extension/Thanks - file permissions trigger debian lintian warnings to extensions/Thanks - file permissions trigger debian lintian warnings.Sep 7 2015, 11:22 PM
wpmirrordev set Security to None.

Hey, this seems to be a kind of simple bug i guess. I will like to work on this bug and will like to know a step to move ahead. Any help will be appreciated. Is the bug still open to be worked on?

Ohhh, i did not even check. It has been assigned already. :)

In T111738#1655511, @D3r1ck01 wrote:

It has been assigned already. :)

@D3r1ck01: @wpmirrordev assigned this to @kaldari but I am sure that you could still this task from him! Looking forward to your patch in Wikimedia Gerrit!

@D3r1ck01: Go for it! Looks like it's just a permissions change, so should be pretty straightforward :)

Change 240071 had a related patch set uploaded (by D3r1ck01):
Permission file problem.

Change 240071 merged by jenkins-bot:
Permission file problem.

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

I am happy to hear that. I am glad i fixed the bug that cured the probblem and willing to fix more bugs. :)