Skip to content
This repository was archived by the owner on Jul 22, 2021. It is now read-only.
This repository was archived by the owner on Jul 22, 2021. It is now read-only.

Can't execute root commands #20

Open
@Sarlay

Description

@Sarlay

Hello,
I am rooted with Magisk and I am using the latest version from the play store

I tried to execute the following script:

#!/system/bin/sh

su -c rm -r /data/data/com.google.android.youtube/cache/image_manager_disk_cache/*.0

The output is:

rm /data/data/com.google.android.youtube/cache/image_manager_disk_cache/*.0: no such file or directory

The expected behavior is the removal of the files ending in .0 in the directory, which works with other apps (such as SH SCRIPT RUNNER) on the play store but doesn't work with Script manager.
The app has root privileges and su -c is supposed to execute the command as root.

Am I missing something here ?

Sorry if the issue is on my side I am a beginner with root and commands

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions