Can't run tests without sudo permissons
See original GitHub issueGetting the next error, when trying to execute tests without sudo.
Error: EACCES: permission denied, mkdir '/Users/antonnazarenko/Library/Application Support/Cypress/cy/production/projects/myproject-62bffe85f9a4e9b8ad4560f57883854a'
With sudo permissions everything works well, somebody know how to fix it?
The command which I’m using to run tests:
./node_modules/.bin/cypress run --headless
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top Results From Across the Web
permissions - Can't run apps without sudo - Ask Ubuntu
I was thinking adding to group users, but dunno how to do it or if it safe to do this, on the spotify...
Read more >Running a command with root priviliges without SUDO and ...
The best solution for me would be to run a generic binary that requires root privileges but from a non-root user and without...
Read more >Test whether a user has sudo privileges without requiring user ...
I'm afraid the only thing you can test is if the user has sudo privileges without a password. Execute sudo -n true.
Read more >How to check if I have sudo access? - Super User
To find out what you're allowed to run with different privileges, you can use sudo -l . Note that this command requires you...
Read more >Ansible non-root sudo user and "become" privilege escalation
It basically runs its Python script with sudo david in front. the user 'david' on the remote box has sudo privileges. It means...
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
fixed, I just needed to delete this folder, because for some reasons it required the root permissions /Users/antonnazarenko/Library/Application Support/Cypress/
@jennifer-shehane