Skip to content

Commit 025679c

Browse files
committed
fix: DebugAssistant folder permission allowing app access
Signed-off-by: TheSillyOk <priv.ld@proton.me>
1 parent 2ee1b3c commit 025679c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

action.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@
33
# A tool to redact sensitive information from the extremely verbose debug logs of Meow's Debug Assistant.
44
# LICENSE: BSD 3-Clause by ThePedroo
55

6+
SAVE_FOLDER="/data/local/tmp/DebugAssistant"
7+
68
log() {
79
echo "$1"
810
echo ""
911
}
1012

11-
SAVE_FOLDER="/data/local/tmp/DebugAssistant"
12-
mkdir -p "$SAVE_FOLDER"
13-
1413
log "Selecting the latest debug log file..."
1514

1615
LATEST_SUFFIX=$(basename $(ls -t "$SAVE_FOLDER/"DebugAssistant* | grep -v "-Redacted" | head -n 1) | grep -oE "(-[0-9]+)?")

post-fs-data.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
SAVE_FOLDER="/data/local/tmp/DebugAssistant"
77
mkdir -p "$SAVE_FOLDER"
8+
chmod 751 "$SAVE_FOLDER"
89

910
start_log() {
1011
local suffix="$1"

0 commit comments

Comments
 (0)