Issue
A light Ubuntu user here (WSL).
I issued the command in rails 7 (even as the root user) bin/importmap pin bootstrap
and ./bin/importmap pin bootstrap
but got a permission denied error -bash: bin/importmap: Permission denied
.
Importmap is installed and present in .bin/importmap
Solution
Ran into the same issue on Mac OSX Catalina. The importmap file had exactly the same permissions as the other files in the bin directory (bundle, rake, etc.). All of them were set to rw-r--r--
. What worked for me was adding executable rights for the owner (i.e. chmod 744 bin/importmap
).
Not sure why the importmap file requires different permissions than the other files.
Answered By - ddb Answer Checked By - Timothy Miller (PHPFixing Admin)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.