diff options
| author | Stagnant <82290573+iStagnant@users.noreply.github.com> | 2023-02-17 14:31:44 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-17 14:31:44 +0000 |
| commit | 335c1bc8affbe8cb6afbd1148c73caa1796617b0 (patch) | |
| tree | ef894c9ead3aaacb93055e9b7551bd4efd8e355a /.local | |
| parent | 12167f3dda4a4fc58f7aa441ad93cfa3bb446dbb (diff) | |
| download | eibhear-335c1bc8affbe8cb6afbd1148c73caa1796617b0.tar.gz eibhear-335c1bc8affbe8cb6afbd1148c73caa1796617b0.tar.zst eibhear-335c1bc8affbe8cb6afbd1148c73caa1796617b0.zip | |
Fixed android device not mounting to root owned directories (#1273)
Diffstat (limited to '.local')
| -rwxr-xr-x | .local/bin/mounter | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
