aboutsummaryrefslogtreecommitdiff
path: root/sbopkglint.d
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-09-16 17:01:00 -0400
committerB. Watson <urchlay@slackware.uk>2023-09-16 17:01:00 -0400
commit681722e1e340a5e931940eb9b09f9fc580cef02b (patch)
treed03e7262fd347cbbc802d12b3c5e9cf234f0bb16 /sbopkglint.d
parenta69bdc0ef63343373773995f7e87d11a29ed4259 (diff)
downloadsbo-maintainer-tools-681722e1e340a5e931940eb9b09f9fc580cef02b.tar.gz
sbopkglint: complain if anything is owned by UID or GID >= 1000.
Diffstat (limited to 'sbopkglint.d')
-rw-r--r--sbopkglint.d/05-basic-sanity.t.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/sbopkglint.d/05-basic-sanity.t.sh b/sbopkglint.d/05-basic-sanity.t.sh
index 04d5ef9..d172cf9 100644
--- a/sbopkglint.d/05-basic-sanity.t.sh
+++ b/sbopkglint.d/05-basic-sanity.t.sh
@@ -201,3 +201,6 @@ find_warnfiles "package contains broken relative symlinks:" \
# we ignore any empty dirs under /var because lots of packages need these.
find_warnfiles --note "package contains empty dirs, are these necessary?" \
. -type d -a -empty -a \! -path "./var/*"
+
+find_warnfiles "package contains files owned by UID/GID >= 1000" \
+ . \( -uid +999 -o -gid +999 \)