Skip to content

Icons directory permissions issue with recommended setup #68

@SuspectTyrannosaurus

Description

@SuspectTyrannosaurus

Problem description

Following the steps listed in README.md to setup the /data/data/com.termux/files/home/.shortcuts/icons directory results in the user being unable to copy icon files into the directory.

Steps to reproduce

  1. Create the icons directory and set permissions using the sample commands from README.md:

mkdir -p /data/data/com.termux/files/home/.shortcuts/icons
chmod 600 -R /data/data/com.termux/files/home/.shortcuts/icons

  1. Copy an icon file into the new directory:

cp ~/sample.png /data/data/com.termux/files/home/.shortcuts/icons/

This yields an error:

cp: cannot stat '/data/data/com.termux/files/home/.shortcuts/icons/chrome.png': Permission denied

Expected behavior

The icon file should be copied into the directory.

Additional information

The directory should be set with 0700 permissions instead of 0600.

  • Termux application version: 0.117 via F-Droid
  • Android OS version: Android 11
  • Device model: Google Pixel 4a

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