Open ghost opened 2 years ago
Sorry for the late reply. related issue: https://github.com/2moe/tmoe-linux/issues/105
This may be a permission problem. If you have root privileges, then it is easy to fix. Otherwise, it is necessary to use other methods.
method 1: Remove proot dir : ~/.local/share/tmoe-linux/containers/proot
method 2: Reset termux data. This is a bad idea. It will clear all data from your termux app.
method 3:
Modify the container directory. Make the container install to the specified directory instead of the default directory. ps: This feature may be added to edition 2022.
method 4: Determine the problem step by step and fix it.
Check the file & dir size and permissions:
cd ~/.local/share/tmoe-linux/containers/
ls -lah proot proot/ubuntu-focal_arm64 proot/ubuntu-focal_arm64/root
du -sh proot/ubuntu-focal_arm64
Do some tests:
mkdir -pv proot/ubuntu-focal_arm64/root/tmp
...
Are you using tmoe?
Yes
Are you rooted?
No
Desktop environment
🌿 mate
Describe the bug
The Bug I Always encounter is
If There is any way to fix this please let me know
How to reproduce
No response
Expected behavior
it used to work fine before but from few days it has stopped working anymore
Screenshots
No response
Error Logs
failed to change mode of '/data/data/com.termux/files/home/.local/share/tmoe-linux/containers/proot/ubuntu-focal_arm64/root' from 4426 (r-S-w-rw-) to 0002 (-------w-) cp: target '/data/data/com.termux/files/home/.local/share/tmoe-linux/containers/proot/ubuntu-focal_arm64/root' is not a directory bash: line 1001: cd: /data/data/com.termux/files/home/.local/share/tmoe-linux/containers/proot/ubuntu-focal_arm64/root: No such file or directory proot error: '/usr/bin/env' not found (root = /data/data/com.termux/files/home/.local/share/tmoe-linux/containers/proot/ubuntu-focal_arm64, cwd = /root, $PATH=(null)) fatal error: see
proot --help
. shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory proot error: '/usr/bin/env' not found (root = /data/data/com.termux/files/home/.local/share/tmoe-linux/containers/proot/ubuntu-focal_arm64, cwd = /root, $PATH=(null)) fatal error: seeproot --help
. Press enter to return.Container type
No response
Configuration
Additional context
No response