Page MenuHomePhabricator

file permissions cause 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/UniversalLanguageSelector/data/fontrepo/fonts/ComicNeue/ComicNeue-Bold.eot

  1. Files which should have permissions set to 644

UniversalLanguageSelector/data/fontrepo/fonts/ComicNeue/ComicNeue-Bold.eot
UniversalLanguageSelector/data/fontrepo/fonts/ComicNeue/ComicNeue-Bold.ttf
UniversalLanguageSelector/data/fontrepo/fonts/ComicNeue/ComicNeue-Bold.woff
UniversalLanguageSelector/data/fontrepo/fonts/ComicNeue/ComicNeue-Regular.eot
UniversalLanguageSelector/data/fontrepo/fonts/ComicNeue/ComicNeue-Regular.ttf
UniversalLanguageSelector/data/fontrepo/fonts/ComicNeue/ComicNeue-Regular.woff
UniversalLanguageSelector/data/fontrepo/fonts/ComicNeue/ComicNeue-Regular-Oblique.eot
UniversalLanguageSelector/data/fontrepo/fonts/ComicNeue/ComicNeue-Regular-Oblique.ttf
UniversalLanguageSelector/data/fontrepo/fonts/ComicNeue/ComicNeue-Regular-Oblique.woff
UniversalLanguageSelector/tests/browser/Gemfile

  1. Technical details

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

Sincerely Yours,
Kent


Version: master
Severity: minor
OS: Linux

Details

Reference
bz71934

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:46 AM
bzimport set Reference to bz71934.
bzimport added a subscriber: Unknown Object (MLST).

Change 166178 had a related patch set uploaded by KartikMistry:
Fix permission to fonts and Gemfile to 644

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

Change 166178 merged by jenkins-bot:
Fix permission to fonts and Gemfile to 644

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