pixel-backup-gang
pixel-backup-gang copied to clipboard
start_global_shell.sh throws a "Can't Execute: Permission Denied" error
I have a rooted pixel xl (1st gen) I have done su and installed the scripts using sh -c "$(curl -fSs https://raw.githubusercontent.com/master-hax/pixel-backup-gang/install/install.sh)" install.sh
marlin:/storage # sh -c "$(curl -fSs https://raw.githubusercontent.com/master-hax/pixel-backup-gang/install/install.sh)"
install.sh: downloading version 0.0.6 from github
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 1604 100 1604 0 0 959 0 0:00:01 0:00:01 --:--:-- 223k
install.sh: unpacking the release archive (requires root)
pixel-backup-gang/mount_ext4.sh
pixel-backup-gang/remount_vfat.sh
pixel-backup-gang/unmount.sh
pixel-backup-gang/find_device.sh
pixel-backup-gang/show_devices.sh
pixel-backup-gang/enable_tcp_debugging.sh
pixel-backup-gang/disable_tcp_debugging.sh
pixel-backup-gang/start_global_shell.sh
install.sh: making the release executable (requires root)
install.sh: pixel backup gang successfully installed to /storage/pixel-backup-gang
when I try to run a script, I get can't execute: Permission denied ex.
./start_global_shell.sh
/system/bin/sh: ./start_global_shell.sh: can't execute: Permission denied
I have tried chmod +x the script but same error.
Any idea?
sorry for the late reply, didn't notice the issue.
try installing to the folder from the example - /data/local/tmp - it has increased permissions
if that works, i'll add a note to the README and update the install script. if it doesn't work, please share the output of ls -alh ./pixel-backup-gang here and we can investigate further.
hey @yeahman45 - were you able to try this out?
bump @yeahman45
try installing to the folder from the example -
/data/local/tmp- it has increased permissions
This worked for me. But the mount command doesn't work.
Hey! Just wanted to raise that I had the same issue: "Can't Execute: Permission Denied".
Using /data/local/tmp indeed solved the problem, I could mount without not issue but I had to blindly use /dev/block/sdi1 (sdi instead of sdg) and hope for the best.
I've found that the output of ./show_devices.sh was quite confusing to understand 🤔
i have updated the install script so it should show an error message if enabling execute permission on the scripts fail: https://github.com/master-hax/pixel-backup-gang/blob/da7de2d995f569be23033ac8c56dfc0111dedf28/install.sh#L17
i also added a note about this in the README: https://github.com/master-hax/pixel-backup-gang/commit/c8a87b38cda2d4c4d310cc846f0dbd63732b4385