Questions tagged [permission-denied]

This tag refers to a situation in which you are refused access to a particular system, file, database, etc. that is protected. The most common cause of this is improper credentials (i.e. usernames, passwords, etc.)

Use this tag for questions related to being unable to access a particular system, file, database, etc. that is protected because of permission issues.

1520 questions
708
votes
42 answers

Error: EACCES: permission denied, access '/usr/local/lib/node_modules'

What might be causing the error Error: EACCES: permission denied, access '/usr/local/lib/node_modules'? npm ERR! path /usr/local/lib/node_modules npm ERR! code EACCES npm ERR! errno -13 npm ERR! syscall access npm ERR! Error: EACCES: permission…
hendra dedi
  • 7,124
  • 3
  • 9
  • 10
403
votes
11 answers

Permission denied on accessing host directory in Docker

I am trying to mount a host directory in Docker, but then I cannot access it from within the container, even if the access permissions look good. I am doing sudo docker run -i -v /data1/Downloads:/Downloads ubuntu bash and then ls -al It gives…
user3753011
  • 4,131
  • 3
  • 12
  • 3
365
votes
35 answers

Node.js EACCES error when listening on most ports

I'm testing out an app (hopefully to run on heroku, but am having issues locally as well). It's giving me an EACCES error when it runs http.Server.listen() - but it only occurs on some ports. So, locally I'm running: joe@joebuntu:~$ node > var h =…
jwegner
  • 7,043
  • 8
  • 34
  • 56
338
votes
29 answers

How to fix Error: laravel.log could not be opened?

I'm pretty new at laravel, in fact and I'm trying to create my very first project. for some reason I keep getting this error (I haven't even started coding yet) Error in exception handler: The stream or file…
frankelot
  • 13,666
  • 16
  • 54
  • 89
259
votes
17 answers

Github permission denied: ssh add agent has no identities

This is my first time accessing GitHub and I'm not experienced using a console. I am on a MacBook using Bash. When I try to access GitHub, I get this: git clone git@github.com:dhulihan/league-of-legends-data-scraper.git Cloning into…
Dark
  • 2,709
  • 2
  • 11
  • 4
182
votes
25 answers

Cannot open backup device. Operating System error 5

Below is the query that I am using to backup (create a .bak) my database. However, whenever I run it, I always get this error message: Msg 3201, Level 16, State 1, Line 1 Cannot open backup device 'C:\Users\Me\Desktop\Backup\MyDB.Bak'. Operating…
Smiley
  • 3,207
  • 13
  • 49
  • 66
99
votes
15 answers

Pods-resources.sh Permission denied in iOS Project

I have got an existing project from a client and I tried to run this in my MAC using XCode 5.0 But I am facing this following error. I installed Cocoa Pods but still doesn't work. This project is running fine in other developer's machine. I badly…
Tasnim Alam Shovon
  • 1,149
  • 1
  • 8
  • 12
95
votes
24 answers

EC2 ssh Permission denied (publickey,gssapi-keyex,gssapi-with-mic)

I got this permission denied problem when I want to ssh to my ec2 host. I tried existing solution chmod 600 "My.pem" but still didn't work. Here is my debug information: debug1: Reading configuration data /etc/ssh/ssh_config debug1:…
lawzlo
  • 983
  • 1
  • 6
  • 8
84
votes
20 answers

Cannot open output file, permission denied

So I keep getting this error when trying to compile C++ code using CodeBlocks. cannot open output file [filename.exe] permission denied It only started today, and it's sporadic and inconsistent. It usually goes away if I shut CodeBlocks down and…
GarrickW
  • 2,181
  • 5
  • 31
  • 38
65
votes
4 answers

How to give folder permissions inside a docker container Folder

I am creating a folder inside my Dockerfile and I want to give it a write permission. But I am getting permission denied error when I try to do it FROM python:2.7 RUN pip install Flask==0.11.1 RUN useradd -ms /bin/bash admin USER admin COPY app…
Shivanand T
  • 1,093
  • 1
  • 10
  • 18
61
votes
7 answers

createdb: database creation failed: ERROR: permission denied to create database

I am pretty much confused about root user,super user,user and permissions! I am not able to create a database inside user "athleticu". Following are the commands I used:- athleticu@ip-172-30-4-103:/home/ubuntu$ createdb -T template0…
SonamGupta
  • 1,727
  • 2
  • 10
  • 14
50
votes
2 answers

SocketException: Permission Denied?

My LogCat reads: 08-19 09:29:01.964: WARN/System.err(311): java.net.SocketException: Permission denied 08-19 09:29:02.204: WARN/System.err(311): at org.apache.harmony.luni.platform.OSNetworkSystem.createStreamSocketImpl(Native Method) 08-19…
Mxyk
  • 10,678
  • 16
  • 57
  • 76
40
votes
8 answers

Permission denied on CopyFile in VBS

I'm trying to automate pushing a file into my users' home directories, but am stuck on a "Permission Denied" error — is thrown on line 6 here, with the CopyFile call. There are other parts of the script (not shown) that create and copy folder…
Triz
  • 757
  • 2
  • 10
  • 19
37
votes
2 answers

getUserMedia() in chrome 47 without using https

In chrome version 47 they force you to use https to be allow using getUserMedia(). Unfortunately, I can't use https in my whole web, I only use it in the login rest (It a SPA - single page app). So, the address to the web is without https, only the…
Noampz
  • 1,185
  • 3
  • 11
  • 19
36
votes
4 answers

What permissions are required for "Run Script" during a build phase?

In the "Run Script" build phase of my project, everything works if I type in the script into the text box for "run script" in build phases. But to make editing / diffing etc easier, I thought I would save the script as a file as part of my project,…
Rahul Iyer
  • 19,924
  • 21
  • 96
  • 190
1
2 3
99 100