diff options
author | Florian Pritz <bluewind@xinu.at> | 2017-09-13 11:38:01 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2017-09-13 11:38:01 +0200 |
commit | 3f20895c4db60362590ccabb285c20828b472f7a (patch) | |
tree | 892acc0ef513b5eb3003b13df14e9e597d3aa77c | |
parent | ea90a58189a1461f3eb46816b97fd89e57991f9b (diff) | |
download | bin-3f20895c4db60362590ccabb285c20828b472f7a.tar.gz bin-3f20895c4db60362590ccabb285c20828b472f7a.tar.xz |
ch: Output namei -l when permissions are incorrect
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-x | ch | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -41,6 +41,8 @@ umask 022 if [[ ! -d "$CHROOTS" ]]; then echo "chroot base directory '$CHROOTS' does not exist or is not readable" + echo "directory permissions are:" + namei -l "$CHROOTS" return 1 fi |