Skip to content

@capacitor/filesystem downloadFile does not set execute permission #24

@hugoj-goncalves

Description

@hugoj-goncalves

Bug Report

Plugin(s)

@capacitor/filesystem 6.0.1

Capacitor Version

   Capacitor Doctor   

Latest Dependencies:

  @capacitor/cli: 6.1.2
  @capacitor/core: 6.1.2
  @capacitor/android: 6.1.2
  @capacitor/ios: 6.1.2

Installed Dependencies:

  @capacitor/ios: not installed
  @capacitor/cli: 6.1.2
  @capacitor/android: 6.1.2
  @capacitor/core: 6.1.2

[success] Android looking great! 👌

Platform(s)

Android 13

Current Behavior

execute permission not set
-rw-rw---- 1 u0_a153 media_rw 103608940 2024-10-17 15:33 filename.apk

Expected Behavior

set the execute permission
-rwxrwx--- 1 u0_a153 media_rw 103608940 2024-10-17 16:33 filename.apk

Code Reproduction

Just use the downloadFile method and try to download an apk file

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