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

why wont Xcode save my files?

I have been working on an app in XCode for a while now and added a new file to the app today. When I went to save it, XCode came up with an alert saying that I did not have permission to save the file and to check in the info part of the file. I…
cory ginsberg
  • 2,907
  • 6
  • 25
  • 37
0
votes
2 answers

Apache/PHP + LibreOffice

I've installed the LibreOffice RPMS (have tried both 3.5.3 and 3.4.6) on my CentOS machine, and I'm trying to make PHP run a shell script that calls LibreOffice. In the shell script, it runs executes this line: /opt/libreoffice3.4/program/soffice…
Patrickdev
  • 2,341
  • 1
  • 21
  • 29
0
votes
1 answer

window.location.replace : permission denied and uncaught exception

I am writing oauth client in javascript using the page, after user enters credentials on the auth server, it tries to redirect back to my javascript page (using: window.location.replace) and fails with 'permission denied' what are the restrictions…
Asad Iqbal
  • 3,241
  • 4
  • 32
  • 52
0
votes
3 answers

Permission denied error in wordpress 3.3.1

I once moved my wordpress directory one level up on my server (its now in the root). Everything seems to work fine for a while but niow i'am starting to have troubles with uploading images. When i try to include an image by uploading it from my…
jorrebor
  • 2,166
  • 12
  • 48
  • 74
0
votes
2 answers

"Permission Denied" when trying to fetch location

I'm getting "Permission Denied" all the time when I'm trying to fetch my location with this code: function initialize() { $('.map-fullsize').hide(); $('#weather-map').hide(); $('#weather-data').hide(); if(geo_position_js.init()) { …
Airikr
  • 6,258
  • 15
  • 59
  • 110
-1
votes
1 answer

Read permission on file denied

I have a problem with reading a bunch of files using the following C# code in my VS2008 project public void FindFiles() { //Root targetPath = Directory.GetDirectoryRoot(Directory.GetCurrentDirectory()) + "WriteToCSVFolder"; } public void…
Mnescat
  • 195
  • 1
  • 13
-1
votes
1 answer

Getting Access Forbidden in IIS

I Have hosted a website in IIS 7.5.Which was working fine till yesterday.But suddenly today am not able to access any of its pages and am getting following error. Access forbidden! You don't have permission to access the requested object. It is…
Suhas
  • 417
  • 1
  • 5
  • 18
-1
votes
1 answer

Newbie in Python zsh: permission denied: /Users/myName

I'm trying to run Python on Terminal and typed in ~ $python but I get this error message ~ $python3 zsh: permission denied: /Users/myName I dragged Python folder in the Terminal and I'm denied I also checked the permission of the folder, I already…
-1
votes
1 answer

Why is my local git config user not overriding my global user when pushing to a remote repo?

Why am I getting permission denied error while pushing code to remote in git ? My global config user is ninadraj221 however I have added one local config user as ninadraj321. Now I'm trying to push to ninadraj321's repo from the same ninadraj321…
-1
votes
1 answer

Permission denied when use Winston

In my nodeJS application I used "Winston" module for manage loggers. But when api run give me error given below. node:internal/fs/utils:344 throw err; ^ Error: EACCES: permission denied, mkdir '/var/log/api/general' at Object.mkdirSync…
-1
votes
1 answer

Python .exe PermissionError: [Errno 13] Permission denied

Here's the code for my reprex: from PyPDF2 import PdfFileReader as rdr from PyPDF2 import PdfFileWriter as wtr import os SELF_PATH = os.path.dirname(__file__) file_name = 'pdf_file' in_path = fr'{SELF_PATH}\{file_name}.pdf' assert…
-1
votes
1 answer

On MacOS Monterey 12.5 all IDE terminal sessions open at $HOME in stead of project root

As usual, not sure what caused the problem. Started laptop as usual. But now every project i open, opens in $HOME directory instead of start directory, which is project root by default. Tried vscode, webstorm, intellij - results were the…
-1
votes
1 answer

Docker [Errno 13] Permission denied error when running with --u=$(id -u $USER):$(id -g $USER)

I try to run a docker container with a tkinter gui app in python and x11 forwarding for a machine learning application. When I run the image with sudo docker run --runtime=nvidia --gpus='all' --net=host --env="DISPLAY"…
-1
votes
1 answer

FileSystemException: Cannot copy file (OS Error: Operation not permitted, errno = 1)

Since my migration to android 11, it is impossible for me to copy/move an image without using the "MANAGE_EXTERNAL_STORAGE" permission. My code to store in tempDir: void _takePicture() async { try { final p = await…
Nicolas
  • 13
  • 5
-1
votes
1 answer

How to fix permission denied error in python?

I was trying to create a dot file to visualize my decision tree, but getting the permission denied error credit_df=pd.read_csv('credit.csv', index_col=0) #importing the dataset X = credit_df.drop("default" , axis=1) #defining independent…
Ranjan
  • 19
  • 1
  • 1
  • 8