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,229
questions
0
votes
1answer
5k views
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/...
0
votes
1answer
96 views
Not able to Create file usind PHP?
So what I'm doing is creating a directory with a name from the file , then creating a text file in it.
My directory structure is like this where I am trying to create the file:
/users/username/www/...
0
votes
1answer
2k views
Error installing Homebrew on a fresh Mavericks install
Did a fresh install of Mavericks from a clean disk, installing Homebrew before updating my Ruby versions with rbenv. Getting this error:
error: unable to create file bin/brew (Permission denied)
...
0
votes
2answers
1k views
Trouble downloading a file from the web to a folder on my computer
I am writing a program that basically uses a DAT file of countries from http://dev.maxmind.com/geoip/legacy/geolite/ to run some analysis of IP addresses.
However if the folder in C:\ProgramData\...
0
votes
1answer
47 views
PDF getting created with permission 600?
I'm experimenting a weird issue. Most of the time (almost everytime) my pdf are getting generated with the permission (rwx-r--r--) 644 which is correct.
But 'sometimes'.. and I cannot understand why ...
0
votes
1answer
1k views
LimeSurvey - Saving Changes To A Template
I am trying to make changes to a template but when I try to save changes, I receive the following error:
Forbidden
You don't have permission to access /survey2/index.php/admin/templates/sa/...
0
votes
1answer
70 views
Linux - storing user-independent data having only user privileges
I've designed a Python script that creates a SQLite database and needs to store it somewhere. This script has no need in escalated privileges, however, it needs to store its data somewhere so that it ...
0
votes
2answers
471 views
Android HTC/Sony External Storage Permission Denied
I do not understand what is going on here.
I get permission denied try trying to access External Storage on HTC Wildfire S although i set
<uses-permission android:name="android.permission....
0
votes
1answer
841 views
How to exclude .cpan folder from rsync?
I use rsync to backup the home directory (ext4) of my Ubuntu installation. I use the following command to copy files and folders to a remote server (ext4).
$ rsync -rt --delete --delete-excluded --...
0
votes
1answer
1k views
Apache Phusion Passenger on CentOS fails to start because of permission denied on /tmp after updating to4.0.6
I understand there are a ton of duplicates of this, but non of them have helped, I have updated Passenger from 3.0.19 to 4.0.6, and all the sudden I get a forbidden error,
I looked in the log and the ...
0
votes
2answers
4k views
Munin custom plugin Permission Denied
My tomcat application writes some value in a file under /usr/share/tomcat6/webapps/myApp/munin/. Permissions on this file are default (tomcat:tomcat ownership) 644. I wrote a very simple munin plugin ...
0
votes
2answers
165 views
Block system commands in a C program
I am compiling and executing a C program that uses a PHP System Command on Windows XP Server.
If the C program contains a System command like System("shutdown -a") or any system command, then it ...
0
votes
3answers
51 views
on deploying php project on another system shows an error as permission denied
when i have tried to deploy a php project in another system i got a error like this
Warning: imagejpeg() [function.imagejpeg]: Unable to open 'image.jpg' for writing: Permission denied in /...
0
votes
1answer
2k views
Cannot clone a git repository and have to create a repository locally first and to configure its local remote setting
My ~/.ssh contains two keypairs:
id_rsa_foo&id_rsa_foo.pub
for user foousername on GitHub (github.com)
id_rsa_bar&id_rsa_bar.pub
for user barusername on GitHub (github.com)
for user ...
0
votes
1answer
824 views
Permission denied with error info?
in Django is there an official way to return PermissionDenied exception with some text of error info as response body to browser?
0
votes
1answer
3k views
ADB error=13, Permission denied from ADB, exists=true - Android SDK Setup
This is a recurrent question, and it seems it has several reasons. I cannot discover mine, even after googling. Several people had answered this question, though.
The problem is that when I try to ...
0
votes
1answer
1k views
What causes Permission denied when using sed?
Running the following line in my script gives me a Permission denied error:
$config_out | sed -e 's#name="in" value=""#name="in" value="1600"#' > $config_out".tmp"
Before I had $config_out | sed -...
0
votes
1answer
2k views
Permission denied mkdir for cron and browser
We have an PHP XML parsing script that uploads photos to a folder structure like /content/images/2012/05/31/%object_id%/. This parser runs primarily as a DirectAdmin cronjob. We run into many problems ...
0
votes
2answers
4k views
After checking the related posts, still cannot install GCC 4.7 on Linux without root privilege?
After checking the posts:
Install gcc on linux with no root privilege
https://stackoverflow.com/questions/9316118/installing-gcc-as-non-root
My problem still cannot be solved so I post it here.
I ...
0
votes
2answers
2k views
Permission denied when trying to install gcc, even if logged as root
I'm trying to install gcc 4.7.0 on ubuntu 10.04 following that tutorial http://www.tellurian.com.au/whitepapers/multiplegcc.php. After some time to install the dependencies, I've been able to run make ...
0
votes
1answer
145 views
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 ...
0
votes
1answer
1k views
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 ...
0
votes
1answer
2k views
JDBC on Android
I'm new to Android, and Java altogether for that matter and I'm having a heck of a time trying to connect my Android app to SQL Server 2005. I'm aware that the preferred way of dealing with data is ...
0
votes
2answers
3k views
Android debugging ndk : permission denied
I am developing a 3D App as a native C++ program.
Doing on Eclipse IDE:
* Started the Android application
* launched GDB server on the device
* launched GDB client
Error starting process.
Cannot ...
0
votes
1answer
1k views
MediaRecorder issue - throws FileNotFoundException when I try to write to sdcard
Here is the exact exception that's thrown:
java.io.FileNotFoundException: /mnt/sdcard/example.mp4 (Permission denied)
I literally copied and pasted example code from here. In addition, I also added ...
0
votes
1answer
948 views
AudioRecorder not working anymore. FileNotFoundException: Permission denied
I have an audio recorder class in my application. It worked fine previously and works fine on my HTC Desire but now doesn't work on my LG. It's no longer saving the audio file to the required path. I'...
0
votes
2answers
3k views
Trac after clean install. TracError: IOError: [Errno 13] Permission denied
I have clean CentOS 6. I just install via yum install httpd mysql-server, python, mysql-python.
First Step
$ trac-admin /home/tracprojects/main2 initenv
Project name: Main
SQL Connect string: ...
0
votes
1answer
841 views
File permission (write)
Hello,
Once I got this code to work with out any erros, and it downloaded the file.
Now it gives me a permission error,
I don't get the acesscontrol pop up that window should show.
Anyways,
How can I ...
0
votes
1answer
668 views
Connection to an online mysql database using odbc , getting permission denied error on Accessing Tables
[mysqld-4.1.22-standard]SELECT command denied to user
'mydb_user'@'123.xxx.xxx.xxx' for table 'products'
I have added my PC from which am accessing the online database -- '123.xxx.xxx.xxx' --- in ...
0
votes
1answer
681 views
Win 7 Request for the permission of type 'System.Security.Permissions.SecurityPermission failed
I have a dll which accesses the scanner on the local machine from an intranet web application written in asp.net. The dll is given full trust on the local machine using caspol. Everything worked fine ...
0
votes
1answer
2k views
ASP.net c# File being used by another process
I create thumbnails with the following page, Thumbnail.ashx:
<%@ WebHandler Language="C#" Class="Thumbnail" %>
using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using System....
0
votes
1answer
20 views
Permission Denied in VS Code while writing C code
My c program are not running in VS Code, it is showing that permission denied.
When I turn off my real time scanning[ of MacAfee live safe] then it is working for me.
But I have to do that for my ...
0
votes
0answers
17 views
“PermissionError: [Errno 13] Permission denied” When Opening Folders in Windows 10
I'm trying to read/open a folder in Windows 10 using python. Unfortunately, when I attempt to read a file using this command:
open(r'D:\Documents')
I'm always met with this error:
PermissionError: [...
0
votes
0answers
15 views
Environment.getRootDirectory() returns null on listFiles() function
My ArrayList pdfs returns empty Array list on pass passing Environment.getDataDirectory() , Environment.getRootDirectory() or the deprecated Environment.getExternalStorageDirectory() to it.
static ...
0
votes
0answers
32 views
Avoid permission denied error while copying file using Ansible
The purpose of this exercise / requirement is that I should do a precheck so that I'm informed before getting "Permission Denied" error while transferring file from source to destination.
I ...
0
votes
0answers
13 views
How to install apps in Microsoft store using SYSTEM account?
My requirement is to install apps in Microsoft store using SYSTEM account. But they are all getting installed only using admin user privileges. When I tried to install an app in Microsoft store using ...
0
votes
2answers
52 views
Python permission denied problem on Mac os
I'm using Mac OS Big Sur and Python IDLE 3.8.3
I started studying python recently so I don't know well about python
While studying about the library, I'm trying to learn sys
I m following the below ...
0
votes
0answers
7 views
Error:java.io.FileNotFoundException: /storage/emulated/0/User.csv: open failed: EACCES (Permission denied) [duplicate]
I develop an android app to read csv file from phone storage ,it is working on AVD Android 7.1.1 API 23 Not working in my physical device I have android 10 in that it shows Error:java.io....
0
votes
1answer
41 views
How to get write access to a folder?
Basically I'm getting "PermissionError: [Errno 13] Permission denied" when trying to copy using shutil.copy or shutil.copyfile to the iTunes folder (C:\Users{}\Music\iTunes\iTunes Media\...
0
votes
0answers
18 views
PermissionError: [Errno 13] Permission denied: 'C:\\Windows\\System32\\drivers\\etc\\hosts'
I am trying to run a program that needs to access to the administrator folder but my administrator folder needs a permssion in order to access to the file that I want to edit it using python, and this ...
0
votes
1answer
122 views
Permission denied when opening folder on Raspberry Pi Network Attached Storage (NAS) with VS Code Command Line Interface (CLI)
I installed Raspbian Lite and Samba on my Raspberry Pi 4b.
Below is my smb.conf file.
[global]
workgroup = WORKGROUP
log file = /var/log/samba/log.%m
max log size = 1000
logging = file
...
0
votes
0answers
91 views
Permission denied when installing Anaconda3 on Raspberry Pi Network Attached Storage (NAS)
Samba
I installed Raspbian Lite and Samba on my Raspberry Pi 4b. I access the Raspberry Pi from a Linux (Ubuntu 18.04.5 LTS) client. I am using bash and ufw is inactive on both machines.
Below is my ...
0
votes
0answers
29 views
getting permission denied error when trying to run mix release
I followed this tutorial and created a build with few modifications. After generating a build with dockerfile, when I try to run the release I get permission denied error.
Context:
Trying to generate ...
0
votes
1answer
49 views
django-allauth Google login not working on iOS
I'm building a PWA with django and have this issue with django-allauth Google login. Everything works well on a Windows PC with Chrome and Edge. But when trying to login with Google on iOS devices, I ...
0
votes
1answer
15 views
change permissions of file for remote machine
I am generating csv report using below code and using jenkins job for triggering and file is created on remote machine.
But I am getting this error (report not generated due to [Errno 13] Permission ...
0
votes
1answer
17 views
Process/thread information which accessing the file
I was looking if there exists a program in c/c++ which gives the process and thread information which access files within a given folder. Actually when my application is running all of sudden I am ...
0
votes
0answers
74 views
update-alternatives: error: error creating symbolic link ~~: Permission denied
I want to change default python version from 3.8 to 2.7 in WSL2 (ubuntu 20.04)
because, the shell script that I want to run, is written by python2.7
I refer the answer in link below
(https://askubuntu....
0
votes
0answers
40 views
Permission error attempting create ugc video post on linkedin
I am attempting to create a video post on linkedin with the ugc endpoint
the steps listed on the linked api for creating this type of post are as follows:
Upload video asset on linkedin server(...
0
votes
0answers
51 views
How can I grant storage and location permission by default on Android 10?
I would like to grant storage and location permission by default to a system application signed with the platform key on Android 10. I have tried to push my own example-permissions.xml under /system/...
0
votes
1answer
42 views
Can't add items to a csv file because of “PermissionError: [Errno 13] Permission denied:” [duplicate]
I was trying to add some list of words to a CSV file using python file handling, but it was giving a "PermissionError: [Errno 13] Permission denied:" error. The syntax works for a txt file. ...