Page MenuHomePhabricator

extensions/Echo - file permissions trigger debian lintian warnings
Closed, ResolvedPublic

Description

0) Context

DEB packages of mediawiki and many of its extensions, are prepared as part of the WP-MIRROR project.
See https://www.mediawiki.org/wiki/Wp-mirror.

  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/Echo/includes/api/ApiEchoMarkSeen.php

  1. Files which should have permissions set to 644

extensions/Echo/includes/api/ApiEchoMarkSeen.php

  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 Normal.
wpmirrordev updated the task description. (Show Details)
wpmirrordev added a subscriber: wpmirrordev.
Restricted Application added a project: Collaboration-Team-Triage. · View Herald TranscriptSep 7 2015, 11:09 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Legoktm added a subscriber: Legoktm.Sep 8 2015, 3:52 PM

(Please don't assign bugs to random people who are listed as authors, it discourages other people from working on these easy bugs.)

Legoktm removed kaldari as the assignee of this task.Sep 8 2015, 3:52 PM
Legoktm set Security to None.

Change 236820 had a related patch set uploaded (by Southparkfan):
chmod 644 for php files

https://gerrit.wikimedia.org/r/236820

Change 236820 merged by jenkins-bot:
chmod 644 for php files

https://gerrit.wikimedia.org/r/236820

Southparkfan closed this task as Resolved.Sep 8 2015, 4:21 PM
Southparkfan claimed this task.
Southparkfan added a subscriber: Southparkfan.

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