
use https://packages.debian.org/dh-sysuser
(available since 9/stretch)


debian-systraq@nusku:~$ find /etc -perm -a+r -type f >/dev/null
find: `/etc/lvm/backup': Permission denied
find: `/etc/lvm/archive': Permission denied
find: `/etc/ssl/private': Permission denied
find: `/etc/polkit-1/localauthority': Permission denied
find: `/etc/publicfile/httpd': Permission denied
find: `/etc/publicfile/ftpd': Permission denied
find: `/etc/cups/ssl': Permission denied
ls: cannot access /home/*/.ssh/a*: No such file or directory

apt gives ugly output due to /etc/apt/apt.conf.d/20systraq and
/etc/systraq/Makefile

should be

-perm -a-r

change to

root@nusku:~# find /etc -perm -a+r  -type f

and fix the

ls -1 /home/*/.ssh/a*

while we're at it: do not complain if set is empty

parse stderr, grep permission denied, run as user debian-systraq

debian-systraq@nusku:~$ find /etc -perm -a+r -type f > /tmp/oo 2>/tmp/err; grep -v '^find: .* Permission denied$' /tmp/err




joostvb's build instructions
----------------------------

joostvb@janacopoulos:~/lo...n/systraq/systraq-latest% uscan --verbose --force-download
joostvb@janacopoulos:~/lo...local/src/debian/systraq% mv systraq-20151214/* systraq-latest 

(sid)joostvb@agni:~/git/build-area% rm -r systraq-20201231 ; tar xf systraq-20201231.tar.xz; cd systraq-20201231

(sid)joostvb@agni:~/git/build-area/systraq-20201231% cp -a ~/git/systraq/debian .

(sid)joostvb@nusku:~/lo...n/systraq/systraq-latest% debuild -uc -us

(sid)joostvb@nusku:~/lo...n/systraq/systraq-latest% rm -rf *

joostvb@nusku:~/lo...local/src/debian/systraq% cp -a systraq-20160316/* systraq-latest 
joostvb@janacopoulos:~/lo...n/systraq/systraq-latest% cp -a ~/git/systraq/debian/trunk/debian .

(sid)joostvb@nusku:~/lo...n/systraq/systraq-latest% debuild

joostvb@nusku:~/lo...local/src/debian/systraq% dupload --to anonymous-ftp-master  systraq_20160316-1_amd64.changes

(sid)joostvb@agni:~/git/build-area/systraq-20201231% debuild -us -uc -S

joostvb@agni:~/git/build-area% debsign -k B8FAC2E250475B8CE940A91957930DAB0B86B067 systraq_20201231-5_source.changes


