Grant storage permission in Termux on Android 6 and higher

HOW TO GRANT PERMISSION IN TERMUX ON ANDROID 6 OR HIGHER

Hi ! Welcome to Termux World... In this post  I am going to show you how to give storage permission in Termux on Android 6 or higher devices, without giving Storage permission you can unable to access sdcard or external storage in termux terminal and you can also get a permission denied error.
So there are two methods to grant permission by going to setting on your android device and give storage  there or you can directly give permission using Termux terminal by running a simple command.
METHOD 1
  1. First open your settings in your Mobile
  2. Now goto Apps or Manage Apps
  3. Select Termux
  4. Click to Permissions or App Permissions
  5. Turn the Storage permission to True. 
  6. Grant storage permission in Termux on Android 6 and higher
METHOD 2
  1. First open you Termux app in your device
  2. Now type the command given below
    termux-setup-storage
  3. After running the command you will get a prompt for permission like as the screenshot  I attached below . 
  4. storage permission in Termux on Android 6 and higher
  5. Simply click on Allow. Now you have done.

3 Comments

Previous Post Next Post