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
14
votes
2 answers

process_usershare_file: stat of failed. Permission denied Samba

I created a shared folder using samba in ubuntu to enable windows machines can access it with the following command: $ sudo net usershare add documents /home/developer/documents "Developer documents" everyone:F guest_ok=y I give 777 permissions to…
13
votes
4 answers

Troubles installing programmatically an app with INSTALL_PACKAGES permission from /system/app

I'm trying to install programmatically an app without user interaction and i'm getting this error SecurityException: Neither user 10057 nor current process has android.permission.INSTALL_PACKAGES My installer is located in /system/app on rooted…
Zorb
  • 726
  • 11
  • 24
13
votes
3 answers

Is possible to set System DateTime from my Android App?

I want to set system clock by SystemClock.setCurrentTimeMillis, but met following error: "Unable to open alarm driver: Permission denied" Below is the Description of setCurrentMillis API from Android Developers Site: public static boolean…
Eclipses
  • 1,008
  • 1
  • 9
  • 17
13
votes
8 answers

IntelliJ, unable to share Project on GitHub (Permission Denied)

I'm new to Git and GitHub/GitLab. I try to share my project to GitHub but it throws this exception: Can't finish GitHub sharing process Successfully created project 'LiveGame1' on GitHub, but initial push failed: git@github.com:…
Lockna
  • 691
  • 1
  • 8
  • 24
12
votes
4 answers

Laravel: Permission denied in laravel Blade File

I have the following issue when trying to install Laravel http://laravel.com Any help, would be greatly appreciated. Unhandled Exception Message: file_put_contents(/Users/alvincrespo/Sites/apollo/storage/views/26bdebca7505781c753aa21663170a1b) …
alvincrespo
  • 9,224
  • 13
  • 46
  • 60
11
votes
4 answers

Cannot start PostgreSQL Docker container – "'/docker-entrypoint-initdb.d/': Operation not permitted"

Trying to start a PostgreSQL container according to the instructions at https://hub.docker.com/_/postgres (How to use this image → start a postgres instance), docker run -e POSTGRES_PASSWORD=mysecretpassword postgres:14 gives the following…
knittl
  • 246,190
  • 53
  • 318
  • 364
11
votes
1 answer

permission error while making ugc video post on linkedin

I am trying to create video post on linkedin with new ugc endpoint there are two steps to create this type of post 1). Upload video asset on linkedin server (done) 2). make post request to ugc endpoint with request body I have successfully uploaded…
sachin jangid
  • 123
  • 1
  • 7
11
votes
2 answers

PHP Warning ZipArchive::extractTo(): Permission denied

I created an application, which using method extractTo() in class ZipArchive (standard in php) and I tested it on my localhost apache server on Windows 7 without any problem. But after I tried it on some unix production server, it just throws…
Lukáš Jelič
  • 529
  • 3
  • 8
  • 22
10
votes
2 answers

Permission denied to access property 'href'

I try to reload parent web page from iframe. Here is my code: But it doesn´t work. Firebug says: Permission denied to access…
user887799
10
votes
1 answer

Docker run "error while creating mount source path '[...]': mkdir [...]: permission denied"

I'm trying to mount a directory in Docker run: docker run --restart always -t -v /home/dir1/dir2/dir3:/dirX --name [...] But I get the error: error while creating mount source path '/home/dir1/dir2/dir3': mkdir /home/dir1/dir2/dir3: permission…
Izik
  • 746
  • 1
  • 9
  • 25
10
votes
1 answer

can't remove "permission denied" file - even with "sudo" and proper user/group set

I couldn't delete a file even I change its mode, its user, group properties to proper ones, and even I tried sudo it. I keep receiving "permission denied". Looked online and this forum to no avail. This happened in a Ubuntu v.18.04 subsystem for…
J.E.Y
  • 1,173
  • 2
  • 15
  • 37
10
votes
0 answers

How to fix ' You either need MANAGE_USERS or CREATE_USERS permission to: getting profiles related to user 0' error?

I search lots of to fix this error but I can't get success. So I post question here. This error is mainly in Xioami device. Redmi 5A ,Redmi 5 ,Redmi 6A. I test in Redmi 7A but it is working fine in that. I have error…
10
votes
2 answers

In onRequestPermissionsResult grantResults on some device return empty when user decline the permission

In Shot:, In onRequestPermissionsResult grantResults on some device return empty and some device have a value PackageManager.PERMISSION_DENIED when user decline the permission. I have implmeneted a solution for identify user has selected accepted…
MJM
  • 5,119
  • 5
  • 27
  • 53
10
votes
2 answers

app crashed wiht classes.dex permission denied error

My app is crashed with following error, E/dex2oat: Failed to create oat file:/data/dalvik-cache/arm/data@app@com.stvgame.xiaoy.remote-1@split_lib_dependencies_apk.apk@classes.dex: Permission denied And our app use mutipule dex, does they have…
happyburglar
  • 121
  • 1
  • 1
  • 8
10
votes
8 answers

How to solve Permission Denied when running Sublime Text 3 from the terminal?

The system is a Mac OS X El Capitan running Sublime Text 3. I was perfectly able to run ST3 from the terminal, using the symbolic link by typing "subl". I have no idea what could have possibly changed. Now everytime I try to start subl from the…