termux / termux-app

Termux - a terminal emulator application for Android OS extendible by variety of packages.
https://f-droid.org/en/packages/com.termux
Other
31.28k stars 3.32k forks source link

[Bug]: Termux SAF cannot delete non-empty directory #3916

Closed zavocc closed 1 month ago

zavocc commented 1 month ago

Problem description

When trying to delete a folder recursively either using DocumentsUI (Google Files) app or third party apps like FX, it doesn't delete folders that is not empty whether if it's hidden or not.

Steps to reproduce the behavior.

  1. Create a directory with a file or folder (nested folder without a file would do)
  2. Open DocumentsUI or third party file management apps that support SAF browsing
  3. Delete a non-empty directory, compared to deleting a file or empty directory

What is the expected behavior?

it should delete

System information

agnostic-apollo commented 1 month ago

That is currently not supported among some other operations, will be available in next main 0.119.0 release.