Page MenuHomePhabricator

core - 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-extensions: executable-not-elf-or-script usr/share/wp-mirror-mediawiki/includes/jobqueue/jobs/EnqueueJob.php.

  1. Files which should have permissions set to 644

includes/jobqueue/jobs/EnqueueJob.php
includes/libs/eventrelayer/EventRelayerMCRD.php
includes/libs/eventrelayer/EventRelayer.php
includes/libs/objectcache/WANObjectCache.php

  1. Technical details

DEB standards version: 3.9.6
GIT branch: master

Details

Related Gerrit Patches:

Event Timeline

wpmirrordev raised the priority of this task from to Needs Triage.
wpmirrordev updated the task description. (Show Details)
wpmirrordev added a subscriber: wpmirrordev.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 24 2015, 10:26 PM
wpmirrordev updated the task description. (Show Details)Jun 24 2015, 10:27 PM
wpmirrordev set Security to None.
wpmirrordev triaged this task as Normal priority.Jun 24 2015, 11:54 PM
wpmirrordev renamed this task from file permissions trigger debian lintian warnings to core - file permissions trigger debian lintian warnings.Jun 27 2015, 1:08 AM

Change 221406 had a related patch set uploaded (by Alex Monk):
Set 644 file permissions on some *.php files

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

Krenair claimed this task.Jun 27 2015, 8:21 PM
Umherirrender closed this task as Resolved.Jun 27 2015, 8:47 PM
Umherirrender added a subscriber: Umherirrender.

Change 221406 merged by jenkins-bot:
Set 644 file permissions on some *.php files

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

I confirm that the above mentioned debian lintian warnings are cured.
Thanks.