Skip to content

Android 16: Terminal cannot create regular files in /sdcard although editor can. #2692

Description

@etherealaporia-alt

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

Expected behaviour:
The embedded terminal should be able to create files and initialize Git repositories in directories under /sdcard, just as the editor can create and edit files in those directories.

Actual behaviour:
The editor can create and save files in a folder under /sdcard, but the embedded terminal cannot create regular files in the same location.
Because of this, git init fails when Git attempts to create its repository files.

Steps to reproduce:

  1. Create an empty folder under /sdcard.
  2. Open it in Acode.
  3. Open the embedded terminal.
  4. Run:
    cd /sdcard/
    touch test

Expected:
A file named test is created.

Actual:
touch: test: Operation not permitted

  1. Run:
    git init

Expected:
A Git repository is initialized.

Actual:
Git fails because it cannot create files inside .git.

Environment

Environment:
Device: Google Pixel 7a
Android: 16
Acode Play Store: 1.11.8 (967)
Acode F-Droid: 1.12.7 (1002)

If applicable, add mockups / screenshots regarding your vision

No response

If applicable, attach your Acode.log file to this issue.

Acode.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions