This repository has been archived by the owner on Oct 11, 2024. It is now read-only.
Replies: 2 comments 1 reply
-
是这样的, chroot 要真实root 权限。 |
Beta Was this translation helpful? Give feedback.
1 reply
-
吶,这个问题实际上是因为权限的问题。proot的权限是虚拟出来的,但chroot不同,所有chroot的权限都是真实的(应该吧。。。),比如说在chroot中 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
在安卓设备中,安装有chroot容器位于./rootfs中,在容器外部,./rootfs/可以被正常访问看到里面的内容,但是./rootfs/下的文件夹home、usr、etc……,试图访问内容时显示不允许(
ls: cannot open directory 'usr': Permission denied
),但是确定试图访问的文件夹所有者与组为root,权限为755,这是什么原因问newbing,告诉我:这可能是因为你的设备的文件系统加密,或者你没有正确地设置chroot环境 。你可以尝试使用一些工具或命令来解决这些问题,比如adb shell,gksu nautilus,openat()函数等。
设备是一台小米平板3,安卓7的老古董,确定chroot容器可以正常运行,没有配置密码,我要怎样才能从termux访问容器内部数据呢?
Beta Was this translation helpful? Give feedback.
All reactions