Questions tagged [file-permissions]

For questions relating to file read/write permissions, user groups, executable bits etc. Be sure to include a tag for the operating system (Windows or Unix) and tag for operating system version.

For questions relating to file read/write permissions, user groups, executable bits etc.

Related tag:

Filesystem permissions on Wikipedia

3073 questions
1
vote
0 answers

why still get permission deny exception after granted the permission

in the mainFest it has and for newer OS it checks the permission…
lannyf
  • 9,865
  • 12
  • 70
  • 152
1
vote
0 answers

File not uploading to directory - even when www-data has group permission in the upload folder

I have got this to work with 777 file permission: but cannot understand why more restrictive file permissions will not work. Linux Groups: alex www-data Linux Users: alex (belongs to www-data and alex) www-data (belongs to www-data and…
Andy59469
  • 1,674
  • 2
  • 13
  • 18
1
vote
1 answer

Permission problems running WordPress on Nginx

I am using the VestaCP with Ngnix & Centos OS. And I was unable to install the plugins through the WordPress dashboard. It is giving error like; Installation failed: Could not create directory. And my directories permission is set to 755 and files…
anandmongol
  • 41
  • 1
  • 6
1
vote
1 answer

ZipArchive generating temp files but not writing content and no error given

I'm using PHPExcel to generate Excel files but it's not working. I have debugged down to this piece of code: $objZip = new ZipArchive(); $ro = new ReflectionObject($objZip); $zipOverWrite = $ro->getConstant('OVERWRITE'); $zipCreate =…
vicch
  • 696
  • 2
  • 6
  • 13
1
vote
0 answers

How to write protect a file in centos from root processes

I have few processes running from root user. This processes all try to edit a file named file.php. I need to lock the file that only one process can write on it at a time. Is there anyway to do that? maybe SELinux works? I tried locking it using …
Ahmad Ameri
  • 144
  • 1
  • 1
  • 14
1
vote
3 answers

Why Java Files.createFile with permissions doesn't work correctly?

I need to ceate file and set permissions(-rwxrw-r) to it, the permission of parent dir is (drwxrwxr--). The problem is that the write permission is not set in created files. The user that ran this application is the owner of the parent dir. Below…
user3053227
  • 63
  • 2
  • 8
1
vote
1 answer

Why is my file supposedly unable to be read due to insufficient permissions (HTTP Error 500.19), when it has no restrictions on it?

I'm getting this error when I try to run a ASP.NET site (my first time trying to get it to run): Yet looking at the file implicated (\C:\EnhancedSalesReporting\customerreportingnet\customerreportingnet\web.config), it doesn't seem to have any…
1
vote
2 answers

How can I allow the user to modify connection strings stored in app.config if they lack write permissions?

First, some background on our app: When deployed, our application will be installed on a clients machine in the Program Files directory. We use connection strings which are stored in the App.config file that comes with the program. Under most…
Mage Xy
  • 1,803
  • 30
  • 36
1
vote
2 answers

Windows 7, npm install -g react-native-cli gives "Cannot read property 'path' of null"

I am Beginning the getting started react native tutorial by following the official docs from here https://facebook.github.io/react-native/docs/getting-started.html Finished installing choco, nodejs and python without any trouble While doing npm…
Kdroid
  • 135
  • 1
  • 10
1
vote
0 answers

ASP.NET create directory not authorized in local IIS Express dev environment

I've seen many answers regarding permission issues but could not find an answer to this. I am developing a MVC ASP.NET application using Visual Studio 2015 and integrated local IIS Express (v. 10, I guess). As a matter of fact I can read, write,…
Luke
  • 399
  • 4
  • 17
1
vote
0 answers

Getting an "[Errno 13] Permission denied" error when reading from a file even though I made it myself with 777 permissions

My code: # -*- coding: utf-8 -*- """ Created on Sun Jan 22 14:47:36 2017 @author: Jose Chong """ import json import tkinter import os def checkExistenceOfSaveFile(): if not os.path.isfile(filepath): os.makedirs(filepath,…
1
vote
1 answer

open() file failed (13: Permission denied) in nginx & docker & minikube

This only happens with docker inside minikube operating on host using minikube docker eval (minikube docker-env) Trying to build a basic setup with Nginx serving a single file: conf.d/example.conf server { listen 80 default_server; listen…
melekes
  • 1,880
  • 2
  • 24
  • 30
1
vote
0 answers

Allow/deny file permissions of current user

I'm trying to modify some of the permissions on a file for the current users account (i.e. I'm currently debugging this, so my account). In case it helps, my user shows up as FirstName LastName (email@domain) in the Properties > Security…
Broots Waymb
  • 4,713
  • 3
  • 28
  • 51
1
vote
4 answers

Running a Bash script results in 'Bad interpreter: No such file or directory' error

I did found questions on Bad interpreter: No such file or directory thing on SO. My issue is also solved when I changed the script from #!/usr/bin/bash echo -e "\t\t\e[92mHello from the Test Script!\e[39m" to: #!/bin/bash echo -e "\t\t\e[92mHello…
john400
  • 392
  • 4
  • 10
  • 20
1
vote
1 answer

Correct permission for nginx proxy to access uwsgi socket?

I followed through DigitalOcean's tutorial to setup a flask server using wsgi and nginx but my nginx sever cant access the uwsgi socket. The error log is as follows: 2017/01/15 21:11:39 [crit] 1565#1565: *1 connect() to unix:/root/fib/fib.sock…
Anant Goel
  • 13
  • 3