在/ sys子目录中创建文件

时间:2016-12-15 10:17:48

标签: android bash root tvbox

我正在使用电视盒,我需要在 / sys 子目录中创建一个包含“1”的文件。
如果不对设备进行生根,这是否可行?

谢谢

1 个答案:

答案 0 :(得分:1)

您在此文件夹中没有权限。所以不能这样做。

shell@heroqltechn:/sys $ ls -al
drwxr-xr-x root     root              2016-12-15 18:43 bcm-dhd
drwxr-xr-x root     root              2016-12-15 16:48 block 
drwxr-xr-x root     root              2016-12-15 18:43 bus
drwxr-xr-x root     root              2016-09-08 16:04 class
drwxr-xr-x root     root              2016-12-15 18:43 dev
drwxr-xr-x root     root              2016-09-08 16:04 devices
drwxr-xr-x root     root              2016-12-15 18:43 firmware
drwxr-xr-x root     root              2016-09-08 16:04 fs
drwxr-xr-x root     root              2016-09-08 16:04 kernel
drwxr-xr-x root     root              2016-09-08 16:04 module
drwxr-xr-x root     root              2016-09-08 16:04 power
shell@heroqltechn:/sys $ mkdir abc
mkdir: 'abc': Permission denied
相关问题