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
10
votes
0 answers

Android - Workaround the ACCESS_CONTENT_PROVIDERS_EXTERNALLY permission?

I'm building an application which gives this exception because i call some internal methods Permission Denial: Do not have permission in call getContentProviderExternal() from pid=2520, uid=10047 requires…
Ahmad
  • 1,157
  • 8
  • 16
10
votes
1 answer

Permission denied executing any gcc-compiled c program on OS X (10.8.2) Mountain Lion

When executing any C program that I have compiled with gcc from the terminal, I get a permission denied error. To start, I have verified and repaired permissions on my drive (before doing this, the same problem was happening). To illustrate and…
Michael I
  • 307
  • 2
  • 3
  • 8
9
votes
6 answers

Linux permission denied after chmod a=rwx

So I have a little Linux problem, geez that will teach me to spend so many years on Windows. Anyway I did a little java app, wrapped nicely with the Java Service Wrapper script, but when I run that script: sh ./wrapper.sh console I get permission…
Lancelot
  • 2,417
  • 12
  • 39
  • 46
9
votes
1 answer

AWS Root User Permission Denied on S3 Bucket policy

I created a new bucket on AWS S3 from the web wizard. I was logged in as root user I am attempting to add a Bucket policy as follows { "Version": "2012-10-17", "Statement": [{ "Sid": "AddPerm", "Effect": "Allow", …
auerbachb
  • 857
  • 11
  • 25
9
votes
4 answers

Added SSH key to Gitlab but it still asks for my credentials

GitLab's HTTP pull & push are working when I enter my credentials. But when using an added SSH key, it is always is asking for my password, which I don't know. Why is GitLab doing this? Is it a server fault? And when calling ssh -vT git@git.com…
Jānis Blaus
  • 163
  • 1
  • 2
  • 7
9
votes
2 answers

Android Studio Adb Transfer Protocol Error

I've just started using Android Studio. I've got an HTC one (m7) running rooted Lollipop. I'm trying to run the test app I've created on this physical device. When I go to run it I get "Adb Transfer Protocol Error: Permission Denied". The device…
REAL O G
  • 693
  • 7
  • 23
9
votes
2 answers

Permission denied after using setfacl

There are 3 users: A, B, C. A has mydir in his home folder /home/A/mydir B can read /home/A contents C can read and write /home/A contents I tried in this way: setfacl -Rm u:B:r /home/A/ setfacl -Rm u:C:rw /home/A/ su B ls /home/A ls: cannot access…
filippo
  • 839
  • 2
  • 13
  • 25
9
votes
1 answer

Unhelpful error message on Liking / Unliking Page

We've built a Facebook Page Tab application with a Like Gate. We've done this countless times before and there's nothing unusual about this application in that regard. Within our ASP.Net 4.0 Web Forms application, we used the Facebook C# SDK, with…
Owen Blacker
  • 4,117
  • 2
  • 33
  • 70
9
votes
11 answers

C compile error: Id returned 1 exit status

For some reason, when I try compiling a program, the compiler says permission denied and Id returned 1 exit status. Could anyone tell me what that means? Thank you #include /* Library…
C_Intermediate_Learner
  • 1,800
  • 3
  • 18
  • 22
9
votes
1 answer

CURL permission denied via browser, works on ssh

Yesterday I have changed my usergroup/user on my linux host for a group of files. Today I found out that CURL is rising a permission denied (only on browser access, works on SSH) Couldn't send request: Failed to connect to : Permission…
Bartu
  • 2,189
  • 2
  • 26
  • 50
9
votes
2 answers

Suppressing "permission denied" errors in Javascript

I have a JS function that polls for the current url in an iframe, the purpose being to ascertain whether or not the iframe is pointing to the same site as the main document. As such, the code is basically: function urlCheck() { var location =…
Mala
  • 14,178
  • 25
  • 88
  • 119
8
votes
2 answers

storage\logs/laravel.log" could not be opened in append mode: failed to open stream: Permission denied

I have developed my application in Laravel 8, it's working fine in localhost and Linux server. But When I deployed it in Plesk Windows Server it's showing permission denied error. UnexpectedValueException The stream or file…
Samad
  • 91
  • 1
  • 1
  • 3
8
votes
6 answers

virt-install error

I have setup kvm, libvirt on one of Dell poweredge1000m blades. I am using the following syntax for installing a virtual machine from an existing image (executing as root). virt-install --name=vm_test --ram=1024 --arch=i686 --vcpus=1 --os-type=linux…
Jatin Kumar
  • 2,635
  • 9
  • 36
  • 46
8
votes
1 answer

Android Q : java.io.FileNotFoundException: /proc/self/net/dev: open failed: EACCES (Permission denied)

I want to open the file "/proc/self/net/dev" with a FileReader. In the Android 10 there comes a java.io.FileNotFoundException: /proc/self/net/dev: open failed: EACCES (Permission denied) In older versions it's no problem to open this file. What…
Bafoeg
  • 91
  • 1
  • 3
8
votes
5 answers

ubuntu java environment path, bash: /etc/environment: permission denied?

Using UBUNTU, I installed java 8 with the following command $ sudo add-apt-repository ppa:webupd8team/java $ sudo apt-get update $ sudo apt-get install oracle-java8-installer $ sudo apt-get install oracle-java8-set-default and I'm trying to set…
Davide Buoso
  • 140
  • 1
  • 1
  • 5