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.)
1,230
questions
0
votes
1answer
64 views
I set permission_required as “is_staff” and I got error 403 permission denied
I developped a webapp with Django and I want to protect a class view with permission. It should be only authorized for admin so I added this :
permission_required = 'is_staff'
But when I try to access ...
3
votes
1answer
2k views
Deploy NodeJS with Elastic Beanstalk permission problem
I'm trying to upload my NodeJS app into Elastic Beanstalk in Amazon AWS. But when npm install is executed it rises some permission denied and so it's unable to run the app. This is the log
...
15
votes
3answers
27k views
android createTempFile throws permission denied?
This is simple, but not working. I am trying to create a temp file (later a permanent storage file) for preview of an MP3 file. I have tried the following variants of the suffix as following ...
13
votes
5answers
32k views
Error on git pull error : cannot open .git/FETCH_HEAD: Permission denied
I'm looking for help !!
I am getting the following error message when trying to complete a git pull;
C:\Jenkins\Repo> git pull error: cannot open .git/FETCH_HEAD: Permission denied
The machine in ...
1
vote
0answers
75 views
How to solve Docker for Windows permission error
I am currently facing some "permission denied"-issues with Docker for Windows 10.
I am using this image: Intersystems IRIS
My Dockerfile for this image is:
FROM store/intersystems/iris-...
0
votes
0answers
64 views
Problem Pyinstaller Miniconda 3 Windows 10 “PermissionError: [Errno 13] Permission denied” when PYZ buillding
I have a problem when i want to convert my python file to exe with Pyinstaller.
I use Pyinstaller 3.6 and Python 3.7.3 with Miniconda3 on Windows 10
I use the command line : pyinstaller --clean --...
-1
votes
1answer
178 views
BitmapFactory.decodeFile e/bitmapfactory unable to decode stream java.io.filenotfoundexception EACCES (Permission denied)
I tried to take a picture from storage, and display it in ImageView using BitmapFactory.decodeFile but i found error unable to decode stream java.io.filenotfoundexception EACCES (Permission denied), i'...
2
votes
1answer
83 views
SQL Server 2019 cross-database function call permission
I have come across some interesting behaviour in SQL Server 2019 - it does not seem to occur in earlier versions.
If, in database1, I call a function in the same database, which calls a function in ...
0
votes
0answers
43 views
Cannot ssh into remote instances from intermediate jump boxes in GCP
About the Question
I want to create a hierarchy of servers : There is a bastian host in one VPC allowing ssh connection only from my local IP address. Then there is one more instance (Let's call it B) ...
0
votes
1answer
325 views
Android write to secondary external storage (Permission denied)
When I am trying to write to a file in secondary external storage (SD Card), I am getting the following error:
java.io.FileNotFoundException: /storage/70F7-83E4/file.txt (Permission denied)
I have ...
0
votes
1answer
771 views
Permission denied when running stat command from android
Hey guys I have the following code to inspect file stats in Android
Runtime runtime = Runtime.getRuntime();
Process proc = runtime.exec("stat -c \"%x\" "+file.getAbsolutePath());
...
0
votes
1answer
352 views
Restarting service remotely as non-admin?
We host (on Server 2019) a few server apps that someone else knows and configures the internal settings through a web interface or client application. Occasionally, the manager of the application ...
1
vote
2answers
336 views
Permission Denied error with Get-ChildItem in PowerShell script
Whenever I try to run my PowerShell script, I get an error. Please note that I don't have much programming knowledge.
Here is the code (with some folder names replaced)
cd -Path "F:\****\folder1&...
2
votes
1answer
960 views
Git rewrite history using filter-branch 'Permission denied'
When I try to slim my repo using command:
git filter-branch --force --tree-filter 'rm -rf `/Volumes/RamDisk/FF/large_files.txt | cut -d " " -f 2` ' --prune-empty master
I get the output in my ...
-2
votes
2answers
342 views
php unlink() function permission denied issue [closed]
file delete from database but not unlink from local folder warning appear: permission denied on file path
if(isset($_POST['delete'])){
$checkedCandidates = 0;
$id = implode(",", $_POST['deletecb']...
1
vote
0answers
826 views
Spring Security 4 Exception Access is denied
help me.I try to follow online.In The Screen 1, I used the username and password to login. but when i press to the login button then appears The Error Message [Exception error message Access is denied]...
0
votes
2answers
3k views
“Kill” / “FileCopy” leads to permission denied
I'm having a problem with my Access VBA macro which for some reason is breaking on those lines with error "Permission Denied [Run-time error 70]:
sOutputFile = CurrentProject.Path & "\Output ...
0
votes
1answer
490 views
copyfile ini to txt: permission-denied
I just want to copy the Content of a ini-File into a txt-file. But it tells me, that permission is denied.
The source file is closed
the Ini-file "Aly_complete.ini" was previously executed in the ...
1
vote
1answer
189 views
Excel VBA Runtime Error '70': Permission Denied
Here's the VBA module script:
Sub ExportToTXT()
Dim wsData As Variant
Dim myFileName As String
Dim FN As Integer
Dim p As Integer, q As Integer
Dim path As String
Dim myString As String
Dim lastrow As ...
1
vote
1answer
90 views
EC2 | SSH works but GIT does not
I just set up an EC2 server and I am trying to push local files from my machine to the server with git.
On the server, I initialized a git repo inside of /home/ec2-user/:
mkdir project.git
cd project....
0
votes
1answer
485 views
Trying to create a new react native project
I want to create a new react native project. At first, I faced a problem when I ran npm install -g expo-cli and I solved it by installing nvm, then installing node and npm by nvm. When I ran expo init ...
0
votes
1answer
535 views
os.execv PermissionError Errno13 Permission denied
I am trying to run the same program recursively but with a different argument. I am doing it like this:
os.execv(file_dir, ['python'] + [sys.argv[0]] + [str(last_line)])
quit()
This is a snippet of a ...
1
vote
0answers
384 views
Python DataFrame to_csv Errno 13 Permission denied
I'm working on Windows 10, Python code is executed in Spyder (Python 3.7).
Writing does not work in my main file folder (D:/main_file_folder), however it works on the higher level (D:) or just created ...
0
votes
0answers
25 views
Create file in root access folder
I'm trying to create a project that will be saved in /usr/local/lib/python3.8/dist-packages (Python directory).I need the script, that will create file.txt, but no matter how hard I try, I always get ...
0
votes
2answers
584 views
Laravel - failed to open stream: Permission denied
I'm trying to install a laravel app on digital ocean. When I run the command php artisan migrate --seed I'm getting the following error when it reaches one of the seeders:
The stream or file "/...
0
votes
1answer
106 views
PHPMyAdmin - How to fix #1006 - Can't create database 'database_name' (errno: 13 “permission denied”) in Ubuntu 20.04?
In my Ubuntu 20.04 (Desktop/Laptop not server) OS based machine I recently install XAMPP (Version: 7.4.7).
Now when I try to create a database it shows #1006 - Can't create database 'database_name' (...
1
vote
1answer
334 views
Tensorflow failed because it has no write permission in conda environment
In the conda environment which was created by me, I try to run tensorflow-hub, it fails when tensorflow try to get write access.
error message:
tensorflow.python.framework.errors_impl....
0
votes
0answers
85 views
Permission denied to create files on C:/ through Debian WSL
I'm trying to compile VLC on my Win10 computer via Debian WSL, but at the end of the build, it stops because I can't create a file under /mnt/c/build/contrib/x86_64-w64-mingw32/include/libplacebo/...
0
votes
0answers
48 views
Can't create empty file via python script running through VirtualBox cmd
I have a simple python script that doing nothing but empty file creation:
if __name__ == "__main__":
with open("empty_file.txt", "a"):
pass
Now I just try to ...
0
votes
1answer
29 views
how to Find files on Mac Terminal
there is a file I have to find, context.xml. I tried find / -name context.xml on terminal, but I got many Permission denied.
Then I tried sudo find / -name context.xml, and I was told to enter ...
3
votes
1answer
221 views
Cannot install node-pty-prebuilt - too many errors
I'm trying to run expo opt-in-google-play-signing but it throws an error after I paste the encryption key of:
fatal error: too many errors emitted, stopping now [-ferror-limit=]
11 warnings and 20 ...
5
votes
11answers
57k views
Can't edit the host file
I've been trying to edit my host file for a while now and I keep failing.
I tried to open notepad as administrator and then click File --> Open and choosing the host file but I get this error message:
...
0
votes
2answers
145 views
Flutter: error permission when delete file from removable storage
I have a file in this address:
path = '/storage/084C-1C0F/Yalin - Deva Bize Sevisler [128].mp3'
So after inserting this permission in android manifest:
<uses-permission android:name="android....
0
votes
0answers
107 views
Python: Download file from google drive when only you can access it
I want to download a file from google drive using python and just the id of the file. I have the ids and the files are not sharable by the links. Thus the access is restricted just to me. What is the ...
1
vote
1answer
148 views
Permission denied problem using pip3 install command
I'm new to Github and I tried using Sherlock, installing the requirements with the code
python3 -m pip install -r requirements.txt
But it says permission denied, so I tried turning off UAC and ...
0
votes
0answers
21 views
You don't have write permissions-despite using sudo
ishandutta2007@MacBook-Pro:~/Documents/Projects$ sudo gem install sass
Password:
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /usr/bin ...
-2
votes
1answer
2k views
Git Bash gives “Permission Denied” problem [duplicate]
I wanted to try and install something from github the command is python3 -m pip install -r requirements.txt i did this after git cloning im using Windows 10 and the "Run as admin" solution doesnt work ...
0
votes
0answers
174 views
Failed to open directory using opendir() in PHP 5.3 with 777 folder permission
I am working on a PHP localhost project. I am trying to copy a folder recursively using the below function.
$src = '/Users/username/Desktop/test/a/b/';
$dst = '/Users/username/Desktop/test/1/2';
...
0
votes
1answer
53 views
How to get rid of “Error: permission_denied” when logging out? (Angular-Firebase)
Hi, I am new to Angular and Firebase and baffled by the next problem:
I have two components-
authorized-zone (parent component) and folders (child component). authorized-zone has a logout button, ...
0
votes
0answers
89 views
Error during make gcc: “cp: Permission denied”
What I did
In my initially empty build directory, I configure gcc with
/home/anthony/Documents/gcc-pi/gcc/configure --prefix=/opt/gcc --enable-multilib --disable-shared --enable-static --disable-...
0
votes
1answer
38 views
Permission denied while running native commands in Tomcat
I'm trying to build an webapp as wrapper for youtube-dl. I'm calling the youtube-dl command using Runtime.getRuntime().exec() but all I'm getting is permission denied saying File system is read-only
...
32
votes
7answers
106k views
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 ...
0
votes
0answers
206 views
PermissionError: [Errno 13] Permission denied. Using graph-tool on Python
I have taken a look at the similar questions posted on this topic, but unfortunately I have not been able to use previous responses to solve my particular problem.
What I am trying to do is use a ...
1
vote
2answers
2k views
Node-red container can't be installed
I tried for so many hours now and tried so many things that I have to ask now.
On my docker I can't get nodered to run on it. I get permissions error for the shared volume all the time. My other ...
0
votes
0answers
35 views
I get 'PermissionError: [Errno 13] Permission denied'
I get this error when typing 'python3 server.py --port 445'
**Traceback (most recent call last):
File "server.py", line 1241, in <module>
main()
File "server.py", line 144, in main
...
0
votes
0answers
30 views
Laravel Log file ownership being changed
I have a question/case: How the existing Laravel log file ownership could be changed? (Laravel 6.x and 5.5) that caused permission denied for web process when trying to do logging.
If I set logging ...
-1
votes
2answers
497 views
Why print functionality in javascript is not working in edge, but works in chrome
Hi I have the below code to achieve print functionality . The code works fine in Chrome, but doesnt work in Edge. Getting the follwing error in edge.I am building the layout in javascript in ...
0
votes
1answer
1k views
Problem while initializing the repo [Errno 13] Permission denied [duplicate]
I have a problem. I tried initial repo (https://github.com/AOSPA/manifest -b quartz), but I can't because I have a error:
Traceback (most recent call last):
File "/home/wojciech/WORKSPACE/.repo/...
3
votes
1answer
349 views
Git SSH issue: Terminal works fine, but all GUI clients fail
So, I'm having this issue with git & Github where things work as expected when I use the terminal however tying to do anything from Git GUI Clients like the GitHub desktop app, SourceTree, Fork ...
0
votes
1answer
30 views
Generating SSH key in git bash, i can't get git agent
When I am trying to generate SSH key in git bash, I can't get git agent when we run this command
eval $(ssh-agent -s)
then I will get this error
unix_listener: cannot listen on path /tmp/ssh-...