aboutsummaryrefslogtreecommitdiffstats
path: root/testing/udevil/udevil.pre-install
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2015-05-05 00:26:28 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2015-05-05 06:54:39 +0000
commitf78426d7796bfa1982c67e4a25826b38d1761740 (patch)
tree866a955f3e3971a15325807045c47ec71bb967d9 /testing/udevil/udevil.pre-install
parent0eff8a29f717b1d635f95203156bcb5d0bfd5bc0 (diff)
downloadaports-f78426d7796bfa1982c67e4a25826b38d1761740.tar.bz2
aports-f78426d7796bfa1982c67e4a25826b38d1761740.tar.xz
testing/udevil: new aport
the build server will need the plugdev group for chown to succeed udevil is an alternative to udisks: https://ignorantguru.github.io/udevil/ Mount / unmount removable devices without being root (also mounts ISO / nfs://, smb://, ftp://, ssh:// WebDAV URLs, and tmpfs/ramfs. SUID bit removed & tested as in & out of the plugdev group.
Diffstat (limited to 'testing/udevil/udevil.pre-install')
-rw-r--r--testing/udevil/udevil.pre-install4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/udevil/udevil.pre-install b/testing/udevil/udevil.pre-install
new file mode 100644
index 0000000000..bd4b7de4ec
--- /dev/null
+++ b/testing/udevil/udevil.pre-install
@@ -0,0 +1,4 @@
+#!/bin/sh
+addgroup -S plugdev 2>/dev/null
+exit 0
+