最近翻出来一个老旧的nuxus 6手机,准备烧个系统玩玩,烧个带su的user版本的android 7.1,烧出来之后,出现一个奇葩的问题,root用户竟然不能访问/data/目录(selinux也关了)shamu:/ # cd /datashamu:/data # lsls: .: Permission denied1|shamu:/data # lsls: .: Permission denied1|shamu:/data # whoamirootshamu:/data # ls -alls: .: Permission denied1|shamu:/data # cd ..shamu:/ # getenforcePermissiveshamu:/ # ls -altotal 2570drwxr-xr-x 19 root root 0 1970-01-09 10:50 .drwxr-xr-x 19 root root 0 1970-01-09 10:50 ..drwxr-xr-x 29 root root 0 1970-01-09 10:50 acctlrwxrwxrwx 1 root root 50 1970-01-01 00:00 bugreports -> /data/user_de/0/com.android.shell/files/bugreportsdrwxrwx--- 6 system cache 4096 1970-01-09 10:50 cachelrwxrwxrwx 1 root root 13 1970-01-01 00:00 charger -> /sbin/healthddrwxr-xr-x 4 root root 0 1970-01-01 00:00 configlrwxrwxrwx 1 root root 17 1970-01-01 00:00 d -> /sys/kernel/debugdrwxrwx--x 43 system system 4096 1970-01-09 10:50 data-rw-r--r-- 1 root root 1076 1970-01-01 00:00 default.propdrwxr-xr-x 17 root root 4220 1970-01-09 10:50 devlrwxrwxrwx 1 root root 11 1970-01-01 00:00 etc -> /system/etc-rw-r--r-- 1 root root 102517 1970-01-01 00:00 file_contexts.bin
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课
caocaofff system用户?你干脆把目录权限改掉,操作完再改回去?