Page MenuHomePhabricator

VisualEditor: Some file permissions are causing lintian warnings
Closed, ResolvedPublic

Description

Dear Sir or Madam,

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/extensions/VisualEditor/modules/ve-mw/ui/styles/images/broken-image.png

  1. Files which should have permissions set to 644

VisualEditor/modules/ve-mw/tests/browser/Gemfile
VisualEditor/modules/ve-mw/ui/widgets/ve.ui.MWMediaResultWidget.js
VisualEditor/modules/ve-mw/ui/widgets/ve.ui.MWMediaSearchWidget.js

  1. Technical details

DEB standards version: 3.9.6
GIT branch: wmf/1.24wmf22

Sincerely Yours,
Kent


Version: unspecified
Severity: minor

Details

Reference
bz71933

Event Timeline

Change 166275 had a related patch set uploaded by Alex Monk:
Sort out some odd file permissions

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

Change 166275 merged by jenkins-bot:
Sort out some odd file permissions

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