Introduction
Introduction Statistics Contact Development Disclaimer Help
Set some more permissions so scripts will work. - annna - Annna the nice friend…
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit bcf71df46395b8acb5a5511a875b95834f54705c
parent a6ea6af5917d6dfbdd860b53c4be2d48bceecab9
Author: Annna Robert-Houdin <[email protected]>
Date: Wed, 29 Oct 2025 23:30:02 +0100
Set some more permissions so scripts will work.
Diffstat:
M annna-join-channels | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/annna-join-channels b/annna-join-channels
@@ -12,12 +12,16 @@ do
# Permissions for helpers.
[ -d ${ANNNA_IRCBASE} ] && chmod o+rx ${ANNNA_IRCBASE}
[ -d ${IRC_SERVERBASE} ] && chmod o+rx ${IRC_SERVERBASE}
+
+ # This is needed so scripts can traverse further down.
+ [ -d "${IRC_SERVERBASE}/${IRC_CHANNEL}" ] \
+ && chmod o+x "${IRC_SERVERBASE}/${IRC_CHANNEL}"
# annna-say
[ -p "${IRC_SERVERBASE}/${IRC_CHANNEL}/in" ] \
&& chmod o+w "${IRC_SERVERBASE}/${IRC_CHANNEL}/in"
# Scripts like comic irc output.
- [ -p "${IRC_SERVERBASE}/${IRC_CHANNEL}/in" ] \
- && chmod o+r "${IRC_SERVERBASE}/${IRC_CHANNEL}/in"
+ [ -p "${IRC_SERVERBASE}/${IRC_CHANNEL}/out" ] \
+ && chmod o+r "${IRC_SERVERBASE}/${IRC_CHANNEL}/out"
annna-channel-service
done
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.