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
0
votes
1 answer

AWS ec2 SSH permission denied (publickey)

So far I have: Created a keypair and assigned it to my elastic beanstalk instance. I have downloaded the keypair and given it 400 permissions. I have acquired the current public DNS host name for the instance. I have determined that the username i…
0
votes
1 answer

delete .git directory. locked and permission denied

I have tmp .git files that I can't remove no matter what I try. I've tried chmod and rm from terminal: chmod a+wx zzz_delete/ seth-laptop:Lepton_Master Seth_Mac$ sudo rm -rf zzz_delete/ rm: zzz_delete//.git/objects/tmp_object_git2_a03228: Permission…
sweeds
  • 539
  • 6
  • 18
0
votes
0 answers

HDFS Permission denied

I'm trying to start a MapReduce job from java. But when I try to submit the job I get Permission Denied exception. I'm able to run hdfs dfs -ls / from command line without any error. But it doesn't work from my java program. Here's my code public…
manthosh
  • 165
  • 1
  • 1
  • 14
0
votes
1 answer

FFMPEG build error : Permission Denied

So I'm trying to build ffmpeg by following this exact guide: http://www.roman10.net/how-to-build-ffmpeg-with-ndk-r9/ This is my build_android.sh…
Parikksit Bhisay
  • 163
  • 1
  • 5
  • 20
0
votes
1 answer

Can run jar from command line but not from shell script + permission denied

why can't I run a jar from a shellscript when double clicking it? Failed to execute child process "~/start.sh" (Permission denied) #!/bin/bash java -jar test.jar I'm running on Arch linux x64
8bitboy
  • 63
  • 3
  • 11
0
votes
3 answers

Is possible not allow user access the specify folder?

Is there any way to do this Is possible not allow user access the specify folder? was created by me, Actually After downloaded images from URL. I want store some images into this folder, But I not want allow user can go there. People who know please…
0
votes
1 answer

Write permissions denied even after 777

I am running a python CGI script which must create a video at a directory location. Platform : Ubuntu 14.04 64-bit Python Version : 2.7.6 The script is being run by the user : www-data I have a directory mydir. The permissions to mydir are 777…
psiyumm
  • 6,437
  • 3
  • 29
  • 50
0
votes
0 answers

How to eliminate permission denied as a warning while using move_upload_file?

When I try to upload a file on my system using and moving it using move_upload_file, it shoots the following error: Warning: move_uploaded_file(/Data/destination_folder/file_name.csv): failed to open stream: Permission denied in …
abhilashLenka
  • 101
  • 1
  • 12
0
votes
0 answers

FileLoadException - acces denied in SharePoint application bin directory

I have following lines of code: System.Reflection.AssemblyName assemblyName = System.Reflection.AssemblyName.GetAssemblyName(@"C:\inetpub\wwwroot\wss\VirtualDirectories\22687\bin\log4net.dll"); After executing it, I get a System.IO.FileLoadException…
Nicolas
  • 950
  • 1
  • 7
  • 15
0
votes
0 answers

Permission denied when using IMGKIT

I am using IMGKIT for creating image from HTML but getting error Errno::EACCES i.e Permission denied for folder in which I want to store image. I have tried chmod/chown owner of folder and user who is running nginx is same Is there any conf /…
Niket
  • 1,105
  • 12
  • 15
0
votes
1 answer

Restoring Cassandra fails

I try to restore a Cassandra table from snapshot , but when i try to see the result the query give me a rpc_timeout so i tried to see the log files java.lang.RuntimeException: java.lang.RuntimeException: java.io.FileNotFoundException:…
Mostafa Jamareh
  • 1,389
  • 4
  • 22
  • 54
0
votes
0 answers

How to avoid "Error: Permission denied to access property 'API'" running locally

I have a webpage with an iframe, I'm loading any website from local storage to that iframe. The host contains the API object which website loaded to iframe wants to access. Both run locally but from different locations. Is there a way to avoid this…
Lukasz 'Severiaan' Grela
  • 6,078
  • 7
  • 43
  • 79
0
votes
1 answer

PHP mkdir failed to created directory in server

I have problem in creating folder in server (centos), there is a form with file upload field, where the ajax callback always returned error as: Warning: mkdir(): Permission denied in /home/sitename/public_html/inc/callback/request_update.php on…
conmen
  • 2,377
  • 18
  • 68
  • 98
0
votes
1 answer

Delete file Permission denied in production ruby on rails

I am struggling to delete a file in production mode.I have tried several options that are 1) File.delete(filename) 2) FileUtils.rm_rf(filename) It says permission denied in production mode when i run in development it works fine.Also when i…
0
votes
0 answers

bash variable part of path

I apologize if this question has been answered before. The search terms I could come up with were just too generic to be useful. In a bash script, I want a parameter to be part of a path. The script says: P=$1 sudo cp…
user3457334
  • 171
  • 2
  • 5