.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.40) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "WHO-PERMITS-UPLOAD 1" .TH WHO-PERMITS-UPLOAD 1 "2022-06-21" "Debian Utilities" " " .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" who\-permits\-upload \- look\-up Debian Maintainer access control lists .SH "SYNOPSIS" .IX Header "SYNOPSIS" \&\fBwho-permits-upload\fR [\fB\-h\fR] [\fB\-s\fR \fIkeyring\fR] [\fB\-d\fR \fIdm_url\fR] [\fB\-s\fR \fIsearch_type\fR] \fIquery\fR [\fIquery\fR ...] .SH "DESCRIPTION" .IX Header "DESCRIPTION" \&\fBwho-permits-upload\fR looks up the given Debian Maintainer (\s-1DM\s0) upload permissions from ftp\-master.debian.org and parses them in a human readable way. The tool can search by \s-1DM\s0 name, sponsor (the person who granted the permission) and by package. .SH "OPTIONS" .IX Header "OPTIONS" .IP "\fB\-\-dmfile=\fR\fIdm_url\fR, \fB\-d\fR \fIdm_url\fR" 4 .IX Item "--dmfile=dm_url, -d dm_url" Retrieve the \s-1DM\s0 permission file from the supplied \s-1URL.\s0 When this option is not present, the default value \fIhttps://ftp\-master.debian.org/dm.txt\fR is used. .IP "\fB\-\-help\fR, \fB\-h\fR" 4 .IX Item "--help, -h" Display a usage summary and exit. .IP "\fB\-\-keyring=\fR\fIkeyring\fR, \fB\-s\fR \fIkeyring\fR" 4 .IX Item "--keyring=keyring, -s keyring" Use the supplied GnuPG keyrings to look-up \s-1GPG\s0 fingerprints from the \s-1DM\s0 permission file. When not present, the default Debian Developer and Maintainer keyrings are used (\fI/usr/share/keyrings/debian\-keyring.gpg\fR and \&\fI/usr/share/keyrings/debian\-maintainers.gpg\fR, installed by the \fIdebian-keyring\fR package). .Sp Separate keyrings with a colon \*(L":\*(R". .IP "\fB\-\-search=\fR\fIsearch_type\fR, \fB\-s\fR \fIsearch_type\fR" 4 .IX Item "--search=search_type, -s search_type" Modify the look-up behavior. This influences the interpretation of the \fIquery\fR argument. Supported search types are: .RS 4 .IP "\fBpackage\fR" 4 .IX Item "package" Search for a source package name. This is also the default when \fB\-\-search\fR is omitted. Since package names are unique, this will return given ACLs \- if any \- for a single package. .IP "\fBuid\fR" 4 .IX Item "uid" Search for a Debian Maintainer. This should be (a fraction of) a name. It will return all ACLs assigned to matching maintainers. .IP "\fBsponsor\fR" 4 .IX Item "sponsor" Search for a sponsor (i.e. a Debian Developer) who granted \s-1DM\s0 permissions. This will return all ACLs given by the supplied developer. .Sp Note that this is an expensive operation which may take some time. .RE .RS 4 .RE .IP "\fIquery\fR" 4 .IX Item "query" A case sensitive argument to be looked up in the \s-1ACL\s0 permission file. The exact interpretation of this argument is dependent by the \fB\-\-search\fR argument. .Sp This argument can be repeated. .SH "EXIT VALUE" .IX Header "EXIT VALUE" .IP "0" 4 Success .IP "1" 4 .IX Item "1" An error occurred .IP "2" 4 .IX Item "2" The command line was not understood .SH "EXAMPLES" .IX Header "EXAMPLES" .IP "who-permits-upload \-\-search=sponsor arno@debian.org" 4 .IX Item "who-permits-upload --search=sponsor arno@debian.org" Search for all \s-1DM\s0 upload permissions given by the \s-1UID\s0 \*(L"arno@debian.org\*(R". Note, that only primary UIDs will match. .ie n .IP "who-permits-upload \-s=sponsor ""Arno Töll""" 4 .el .IP "who-permits-upload \-s=sponsor ``Arno Töll''" 4 .IX Item "who-permits-upload -s=sponsor Arno Töll" Same as above, but use a full name instead. .IP "who-permits-upload apache2" 4 .IX Item "who-permits-upload apache2" Look up who gave upload permissions for the apache2 source package. .ie n .IP "who-permits-upload \-\-search=uid ""Paul Tagliamonte""" 4 .el .IP "who-permits-upload \-\-search=uid ``Paul Tagliamonte''" 4 .IX Item "who-permits-upload --search=uid Paul Tagliamonte" Look up all \s-1DM\s0 upload permissions given to \*(L"Paul Tagliamonte\*(R". .SH "AUTHOR" .IX Header "AUTHOR" \&\fBwho-permits-upload\fR was written by Arno Töll and is licensed under the terms of the General Public License (\s-1GPL\s0) version 2 or later. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBgpg\fR(1), \fBgpg2\fR(1), \fBwho-uploads\fR(1) .PP \&\fIhttps://lists.debian.org/debian\-devel\-announce/2012/09/msg00008.html\fR