/usr/lib/keyringer/actions/rmdir is in keyringer 0.3.8-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #!/usr/bin/env bash
#
# Remove folders.
#
# Load functions
LIB="`dirname $0`/../functions"
source "$LIB" || exit 1
# Aditional parameters
CWD="`pwd`"
# Avoid leading slash
shift
ARGS="`echo "$*" | sed -e "s|^/*||"`"
# Run rmdir command
cd "$KEYDIR/$RELATIVE_PATH" && rmdir $ARGS
cd "$CWD"
|