cmd 창에서
adb shell "su root ls /abc/def"
하면 /adb/def 폴더아래 내용을 ls 관리자 명령어로 볼 수 있습니다.
ex)
adb shell "su root chmod -Rf 777 /abc/def"
하면 /def 폴더와 그 하위 파일의 rw 권한이 모두 허가됩니다. (chmod 777 명령어)
adb shell "su root ls /abc/def"
하면 /adb/def 폴더아래 내용을 ls 관리자 명령어로 볼 수 있습니다.
adb shell "su root chmod -Rf 777 /abc/def"
하면 /def 폴더와 그 하위 파일의 rw 권한이 모두 허가됩니다. (chmod 777 명령어)