I’m very new to Termux and very much appreciate its capabilities!
Using Android 10 tablet I’ve installed both Termux and Termux:Tasker from Google Play to use with DroidScrips following their tutorial, however I quickly find out the the Turmex version from Google Play is limited compared to F-Droid’s, so I’ve uninstalled both Termux and the plugin and installed F-droid’s Termux APK and plugin instead; I’ve set Storage allowed under App permissions, and I’ve also executed:
termux-setup-storage
Following DroidScrips tutorial, executed:
mkdir -p .termux /sdcard/termux/scripts
However I get an error when trying to execute the next command:
ln -s /sdcard/termux/scripts .termux/tasker
ln: failed to create symbolic link '.termux/tasker/scripts': operation not permitted
do you have root, or do you have write permissions in the folder where you want to place the link?
check if the folder doesn’t already exist and has different rights.
check the folders with ‘ls -l <folder_path>‘ to see the permissions, then post them here for further instructions.
sorry but not this folder I ment …
when you stated : mkdir -p .termux /sdcard/termux/scripts
you created the two folders .termux in your home folder and /sdcard/termux/scripts
the only plausible possibility for your error message is that for some reason the folder /sdcard/termux/scripts already existed at that time and was created and had the rights of a user other than yours, or your user has no rights there.
Then you tried to create a symlink with the name “tasker” in the folder .termux in your home, and this was denied, indicating that you don’t have permissions in the /sdcard/termux/scripts folder. The creation of the symlink is thus forbidden
So we are not interested in ls -ld ~/storage/shared/test
but in ls -ld /sdcard/termux/scripts
and your user as comparison either : ls -ld .termux
or whoami
the tutorial i was following is the official tutorial from DroidScript, not termux; hopefully, with your support, it will be updated to a working walkthrough.
Now I start to understand. DroidScript is a proprietary product, from Gplay etc.?
Just noticed tutorial says
Note: This function is a premium feature. Please consider subscribing to Premium to use this feature and support DroidScript in its further development.
Did you subscribe for the premium feature?
Maybe there is a better, more free software way. “pkg search javascript” in termux gives a few options.