Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proot permission denied #1316

Closed
nathaneltitane opened this issue Oct 22, 2019 · 2 comments
Closed

proot permission denied #1316

nathaneltitane opened this issue Oct 22, 2019 · 2 comments
Labels

Comments

@nathaneltitane
Copy link

nathaneltitane commented Oct 22, 2019

Problem description
when trying to chroot/proot in a directory other than the Termux environment (ex.: internal memory directory or external sdcard) proot operation fails witha permission denied on --link2symlink.

Steps to reproduce
termux-setup-storage
cd storage/shared
wget https://raw.githubusercontent.com/Neo-Oli/termux-ubuntu/master/ubuntu.sh
bash ubuntu.sh

Expected behavior
completion of script without errors or failure as expected under termux home env.

Additional information
Post output of command termux-info.

Updatable packages:
All packages up to date
Subscribed repositories:
https://dl.bintray.com/grimler/science-packages-24 science/stable
https://dl.bintray.com/grimler/game-packages-24 games/stable
https://dl.bintray.com/termux/termux-packages-24 stable/main
System information:
Linux localhost 4.14.78-16507756 #2 SMP PREEMPT Mon Sep 16 12:41:12 KST 2019 aarch64 Android
Termux-packages arch:
aarch64
Android version:
9
Device manufacturer:
samsung
Device model:
SM-G975W

If you are rooted or have access to adb then capture a logcat with logcat -d "*:W", from a adb or root shell.

NO ROOT

@ghost
Copy link

ghost commented Oct 22, 2019

Shared storage (sdcard) doesn't support symlinks or executable permission.

@ghost ghost closed this as completed Oct 22, 2019
@ghost ghost added the invalid label Oct 22, 2019
@ghost
Copy link

ghost commented Oct 22, 2019

There some work done for sdcard noexec workaround, but not released. Related issue - termux/proot#50.

@ghost ghost locked and limited conversation to collaborators Oct 17, 2021
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant