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.)
485
questions with no upvoted or accepted answers
0
votes
0answers
83 views
Shinyproxy error 500 : Failed to start container / Caused by: java.io.IOException: Permission denied
The shinyproxy page is displayed and after authentication I can see the nav bar, 2 links to the 2 applications. Then, when I click on one of them, I got en error 500 / "Failed to start container&...
0
votes
0answers
68 views
IAM permission 'dialogflow.agents.get' denined
I run into a problem when integrate dialogflows like line and facebook, when I hit start it says
IAM permission 'dialogflow.agents.get' on 'projects / xxxxxxx-xxxx-' denied.
Initially, I couldn't try ...
0
votes
0answers
31 views
Why is permission denied on a file after editing “in-place” with sed?
After spinning up a docker container on DigitalOcean and editing any file (in home dir of non-root user) using sed's "in-place" option, I'm getting a 'permission denied' error when trying to ...
0
votes
0answers
26 views
How to solve java.io.IOException: No such file or directory or Permission denied issue on executing sh file from android in windows machine
I need to execute an sh file using commandline option from the android program. I tried using Runtime.getRuntime().exec. I tried to pass the command as string as well as string[]. But still the issue ...
0
votes
0answers
197 views
Rooted Android 10, ioctl Permission denied errors
When I try to run some commands on Android 10 (Galaxy A11) with root access, I get the ioctl "Permission denied" errors. For example:
# ip tuntap add mode tun
ioctl(TUNSETIFF): Permission ...
0
votes
0answers
81 views
E/libprocessgroup: set_timerslack_ns write failed: Operation not permitted
The app that I am developing has a Google Map in its home fragment which is inside a navigation drawer. When I press the back button from a fragment opened by the menu in the navigation drawer the app ...
0
votes
0answers
339 views
Flutter Permission Handler not re-asking for permission if already denied
I am trying to access the microphone of the users device, I have managed to integrate the permissions_handler package somewhat successfully. When I clicked the mic icon the request permission message ...
0
votes
0answers
183 views
jupyter notebook ERROR PERMISSION DENIED:UNTITLED IPYNB
when i type jupyter notebook in command prompt i get it in a web browser but when i open a python-3 notebook its showing error
A dialoq box comes with the following things
Creating Notebook Failed
An ...
0
votes
0answers
50 views
Cannot read the file /sys/kernel/debug/irq_domain_mapping although with “read” permission
I am facing this very strange issue.
I wrote a C-function to read value from path "/sys/kernel/debug/irq_domain_mapping" on my linux runing board. Although the that file has "read" ...
0
votes
0answers
119 views
Docker custom user Permission Denied, while accessing container's file system
I've created a custom user using my Dockerfile. Here is my Dockerfile:
FROM python:3.7-alpine3.10
# Make /opt/ working directory in docker container.
WORKDIR /opt/
# Copy source code to image
COPY ...
0
votes
1answer
23 views
How do I resolve a permission error with django?
I am using Django to display my code in an html format using class based views. My code reads a log file and displays stats based on what is in there. When I try to access the log file from my ...
0
votes
0answers
66 views
“Error: [Errno 13] Permission denied:” while executing the command “py -m venv .venv” in windows power shell in MS Visual Studio Code
Am getting an error "Error: [Errno 13] Permission denied: 'C:\Users\ppalak\Desktop\AZURE_Func\.venv\Scripts\python.exe'" while executing the command : "py -m venv .venv" in windows ...
0
votes
0answers
37 views
About Heroku Dyno Linux module installation (sudo don't working)
I like to know how can have access to heroku CLI bash command for installation Linux module, i can not run apt-get update and sudo because of permission problem like this:
~ $ apt-get update
Reading ...
0
votes
0answers
21 views
Error when reading pickle file - permission error
I'm trying to read a pickle file.
df= pd.read_pickle(r'C:\\Users\\Downloads\\pickle_file')
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\Downloads\\pickle_file'
I have no other ...
0
votes
0answers
260 views
Permission denied on shared memory segments in /dev/shm/ on Ubuntu 20.04
in Ubuntu 20.04 I'm having problem with accessing shared memory segments by different users. The associated files are created using shm_open() with the combination of O_CREAT and O_RDWR flags and ...
0
votes
0answers
24 views
“IOError: [Errno 13] Permission denied” on a linode server
I have read plenty of other posts and frankly I still don't understand. (Something to do with "permission"?)
I was trying to do this
with open(file_name, "w") as csv_file:
And got ...
0
votes
0answers
36 views
How can I debug a Firebase Android Studio app that fails an upload with Permission Denied?
I followed the procedure on Google Cloud to register my application by package name with Firebase, installed the resulting google-services.json file in the project’s app folder, and selected the ...
0
votes
0answers
81 views
How to display “permission_denied_message” in custom 403.html page in Django
How do we correctly display exception message in custom 403 error in Django?
In my signup view I am using:
class SignUpView(LoginRequiredMixin, PermissionRequiredMixin, CreateView):
login_url = '...
0
votes
1answer
2k views
“PermissionError: [Errno 13] Permission denied:” In flask application
Problem:
I'm getting the following error
"PermissionError: [Errno 13] Permission denied:
'/home/[user]/daily_events_20200722.txt'
from this line of code:
with open(settings.HOME_PATH + f'...
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 --...
0
votes
1answer
28 views
Micronaut installing using sdkman, accession micronaut command line permission denied
Did sdkman install micronaut
called mn command and got the error as
$ mn
-bash: /Users/xxxxxx/.sdkman/candidates/micronaut/current/bin/mn: Permission denied..
how to fix this issue ?
This is happening ...
0
votes
1answer
342 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 ...
0
votes
0answers
42 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
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
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' (...
0
votes
0answers
83 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 ...
0
votes
2answers
143 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
105 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 ...
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 ...
0
votes
0answers
172 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
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
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
205 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 ...
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 ...
0
votes
0answers
27 views
Cannot access directory with non-root even with permissions granted
I am working with device with QNX OS on it.
I am trying to enter /var directory, which is drwxr-xr-x with non-root user, but get sh: cd: /var - Permission denied. The structure of /:
dr-xr-xr-x 11 ...
0
votes
1answer
345 views
Operation not permitted with sudo chown on mac
I got this error and I have tried to follow many instructions but it didn't work. Please help me,thanks!
I have run php artisan migrate and then I got this :
UnexpectedValueException
The stream ...
0
votes
1answer
37 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
...
0
votes
0answers
292 views
Rails 6:Connecting Rails application to the database (Cannot load database configuration: Permission denied @ rb_sysopen)
This is my 1st post and I am a beginner. I am just trying to launch my 1st demo project for ruby on rails. I am just following steps to start my rails. I have created databases and finally when I have ...
0
votes
0answers
78 views
C# Raw Socket Permission denied exception
I have this piece of code and I'm trying to use Raw Socket to access packets on Network communication to find out which ports are open via Udp Protocol.
Socket s;
try{
s = new Socket(...
0
votes
0answers
55 views
import cv2 returns error in jupyter notebook with python 3.6
I need to download opencv to run a project that requires python 3.6 and opencv. I have downloaded opencv.
I know my error is similar to OpenCV giving an error whenever import cv2 is used but I have ...
0
votes
0answers
241 views
Microsoft SQL Server Management Studio 18 - can't perform any action [user doesn't have permission]
Suddenly my SQL Server Management Studio 18 is not working properly. I can't create any db or access old db.
I tried doing this
Log in as Administrator on my PC
Log in SQL Server Management Studio ...
0
votes
0answers
52 views
Is there any other way to get the GTest configured on MAC OS Catalina Version 10.15.4? Rather than cpoing .a & includes to usr/* directory
Configuring GTest for on Mac OS Catalina Environment. Step in configuring GTest is copy static Library to /usr/bin location & next, is to copy include directory to /usr/local/include location.
...
0
votes
0answers
23 views
HERE reverse geocode API throws error: User denied permission on phone browser, same API works fine on desktop browser
I am observing an error while fetching the current location on "Phone Browser" using the HERE reverse geocode API, it throws an error, image attached. Geolocationpositionerror {Code: 1, message: "User ...
0
votes
0answers
38 views
Change registry - no administrators group has write permission - SYSTEM only
I am trying to change the "FriendlyName" registry using PowerShell.
The write permission for this registry is set for the SYSTEM, but the administrators' group is not allowed to modify it.
Normally I ...
0
votes
0answers
44 views
permission denied every time I start the Git Bash in Windows
Every time I start the Git Bash on Windows and try to pull the code, it will return the following message:
$ git pull
git@gitee.com: Permission denied (publickey).
fatal: Could not read from remote ...
0
votes
0answers
54 views
Access-Denied when uploading to AWS S3 via PHP; but it works via CLI
CLI
When I upload a file to the store via command line interface, the upload works without problems:
aws s3api put-object --bucket <mybucket> --key <myfile> --body <sourcefile>
...
0
votes
0answers
31 views
Windows Server 2012 & 2019 folder permission changes not persisting
I have launched a fresh AWS EC2 Windows 2012 and/or 2019 server and have installed Dropbox. During the install the folder Dropbox creates seems to have certain permissions on it that restricts me ...