Improve error for invalid permissions on Linux
See original GitHub issueI’m running into this on ubuntu 20.04 while having prisma@2.20.1
installed globally.
prisma db push --preview-feature
Environment variables loaded from prisma/.env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "debug-migrate", schema "public" at "playground-database-postgres.cluster-clfeqqifnebj.eu-west-1.rds.amazonaws.com:5432"
PostgreSQL database debug-migrate created at playground-database-postgres.cluster-clfeqqifnebj.eu-west-1.rds.amazonaws.com:5432
🚀 Your database is now in sync with your schema. Done in 2.54s
Running generate... (Use --skip-generate to skip the generators)
Error: EACCES: permission denied, copyfile '/home/millsp/.cache/prisma/master/60ba6551f29b17d7d6ce479e5733c70d9c00860e/debian-openssl-1.1.x/query-engine' -> '/usr/local/lib/node_modules/prisma/query-engine-debian-openssl-1.1.x'
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Troubleshoot Permission Issues - Bitnami Documentation
Permission errors are usually associated with Linux and macOS installations. ... To improve user-experience, the bitnami user can have ownership (with write ...
Read more >How To Resolve Permission Denied Error On Ubuntu/Debian?
Method 1: Sudo command missing. Step 1: This is one of the very common mistakes that experienced Linux users also make and has...
Read more >How to fix Error You do not have permission to access…
How to fix Error You do not have permission to access… · 1. Log into cPanel · 2. Follow the File Manager icon...
Read more >Invalid File Permission Error When Enabling SSH Key In ...
I added a keypair to the /root/.ssh folder. Cockpit recognized it and it showed up under the Authentication screen. Attempting to enable it ......
Read more >How do I solve "Incorrect permission on/usr/lib/policykit-1 ...
1 Answer 1 · Thanks, sudo chmod 5755 /usr/lib/policykit-1/polkit-agent-helper-1 is secure. It worked for me. · Worked perfectly, should be flagged ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Right, I just remembered now that we mentioned this should handled in
fetch-engine
. Thanks.@omar-dulaimi You need to fix permissions of your npm cache folder, please read this part of npm documentation:https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally