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
2 answers

Access to the path 'c:\windows\system32\inetsrv\config\' is denied

if (Fubrowse.HasFile) { string path = Path.GetFullPath(Fubrowse.PostedFile.FileName); //string root = Path.GetPathRoot(path); GetFilesFromDirectory(path.Substring(0, path.LastIndexOf("\\"))); } else GeneralClass.ShowMessageBox("Please Select…
Shane
  • 31
  • 1
  • 1
  • 5
0
votes
2 answers

php function move_uploaded_file wont work on my online server but does on localhost

I have been working on a upload file that works fine on localhost (windows) but wont work on my linux server I rent. I want it to move it to a subdir '/files' from where the file is. it gives the errors: Warning:…
matthy
  • 8,144
  • 10
  • 38
  • 47
0
votes
1 answer

Users can log into secure pages but not revisit the same page

As part of this php login and redirect software I have a piece of code I need to add to the beginning of every page to be secured. It lets a user on perfectly if they have valid user login information, but if they go to another 'secured' page and…
0
votes
2 answers

Linux: Allow one user to manage all files from another user/group

I just installed lamp-server^ on my home linux machine. Now I created a new folder project with files in the /var/www/ directory (server root directory). I set the owner user/group to www-data via sudo. Now I want to access the folder and its files…
Poru
  • 8,254
  • 22
  • 65
  • 89
0
votes
1 answer

Iphone Unit Testing error : permission denied with google toolBox

I followed many tutorial to set up a unit testing project for Iphone but i always get the same "permission denied" error when i build the project. Here is what i do : Get the latest source for Iphone Unit Testing Follow the instruction to set up…
user142764
  • 1,893
  • 1
  • 13
  • 15
0
votes
2 answers

Interfering with the Keyguard

I am currently working on an app that can draw views over the statusbar. Here is my code: @Override public void onCreate() { // TODO Auto-generated method stub super.onCreate(); wm = (WindowManager)…
Denizen
  • 335
  • 5
  • 17
0
votes
3 answers

Android Testing: The storage state is mounted, the WRITE_EXTERNAL_STORAGE permission has been declared, but still can't write to emulator's sdcard

I'm writing a testing program and I want to serialize some of my test result to a file. I keep on getting this annoying permission denied exception. To make things easier, I write a small sample code and still get the same permission denied warning.…
Wei Yang
  • 895
  • 3
  • 15
  • 26
0
votes
1 answer

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 -e 's#name="in" value=""#name="in" value="1600"#' >…
Niek de Klein
  • 8,524
  • 20
  • 72
  • 143
0
votes
1 answer

Issue with SSH key setup while setting up github

I followed this tutorial to generate SSH key on github: At step number 5 of the above linked tutorial,after I type ssh -T git@github.com I am supposed to see this: The authenticity of host 'github.com (207.97.227.239)' can't be established. # RSA…
Jatin
  • 14,112
  • 16
  • 49
  • 78
0
votes
1 answer

Android Permission Denied when reading photo

I'm trying to read a photo off the Android device gallery to display in my app. My app allows a user to select an image from the gallery and this code within an onActivityResult() method saves the filename for later use: if (resultCode ==…
NLam
  • 537
  • 1
  • 11
  • 25
0
votes
2 answers

How can i write to a txt file several variables from servlet?

I have a web form page (jsp) ,where user gives some variables. I have a java class which has the same names.So with jsp bean i pass the user's input into 2 variables. So i have var_1=greek,var_2=turkey. I want now to pass these variables to a…
oikonomopo
  • 4,025
  • 7
  • 44
  • 73
0
votes
1 answer

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 getting the folder permissions right to enable…
DaFrenk
  • 412
  • 1
  • 3
  • 12
0
votes
2 answers

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 am trying to install GCC 4.7 on Linux with gcc…
user1002288
  • 4,860
  • 10
  • 50
  • 78
0
votes
2 answers

Facebook - You don't have permission to access "http://www.yourapp/?" on this server

Users are getting the following message when trying to use my Facebook app: Access Denied You don't have permission to access "http://www.myapp/?" on this server. Reference #18.8f265dcc.1338297690.20407019 It works when going directly to the app…
user359519
  • 711
  • 2
  • 16
  • 28
0
votes
2 answers

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 without errors, but the final step, make install…
Ote
  • 301
  • 1
  • 5
  • 16