From 335c1bc8affbe8cb6afbd1148c73caa1796617b0 Mon Sep 17 00:00:00 2001 From: Stagnant <82290573+iStagnant@users.noreply.github.com> Date: Fri, 17 Feb 2023 14:31:44 +0000 Subject: [PATCH] Fixed android device not mounting to root owned directories (#1273) --- .local/bin/mounter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/mounter b/.local/bin/mounter index edab8af..d7c1b06 100755 --- a/.local/bin/mounter +++ b/.local/bin/mounter @@ -87,7 +87,7 @@ case "$chosen" in echo "OK" | dmenu -i -p "Tap Allow on your phone if it asks for permission and then press enter" chosen="${chosen%%:*}" chosen="${chosen:1}" # This is a bashism. - simple-mtpfs --device "$chosen" "$mp" + sudo -A simple-mtpfs -o allow_other --device "$chosen" "$mp" notify-send "🤖 Android Mounted." "Android device mounted to $mp." ;; esac