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

How to change folder owner in Linux using Java?

I tried Path path = Paths.get("/home/HP-124/Desktop/testDir2"); String newOwn = "jack"; Process process = Runtime.getRuntime().exec("chown -R" +newOwn+ path); and File sourceFolder = new File("/home/HP-124/Desktop/testDir2"); UserPrincipal…
1
vote
0 answers

Symfony3 assets status of 403 (Forbidden) on production server

I just installed my SYmfony app on a server and the images are not displayed. I tried no modify the access rights on the web folder but it didnt work. What is the good way to configure access on a server with a symfony project ? I display my image…
Gauthier
  • 1,116
  • 2
  • 16
  • 39
1
vote
1 answer

lm75 kernel module available in userspace

I'm using the lm75 kernel module to interact with a sensor on a custom board. Every things works fine, I have my device mounted in /sys/bus/i2c/devices/5-0048. But I would like to let the user set the max temp hysteresis so in other words let the…
clamb
  • 13
  • 6
1
vote
1 answer

Where is the zipcloak puts the temporary file by default?

When I use zipcloak to encrypt an existed zip file, I got an error like this: zipcloak error: Permission denied zipcloak error: Temporary file failure (ziC8mO6F) The command I executed: /usr/local/bin/zipcloak /Library/WebServer/foo.zip I'm sure…
kinopyo
  • 1,667
  • 3
  • 19
  • 26
1
vote
1 answer

Running SVGO from PHP doens't work with MAMP

I want to run https://github.com/svg/svgo from PHP but have some problems with the permissons. My Example App: root -- svgo.php -- svgfiles -- test.svg -- node_modules -- svgo -- bin --svgo My PHP Script:
tiefenb
  • 732
  • 3
  • 16
  • 32
1
vote
3 answers

PHP: Creating files and preserving file permissions

I have a simple architecture at the moment which looks a little something like this: User sends Email > Postfix > Procmail > PHP Script > Write to third party Web App The third party web app happens to be a CMS (I am using its API to create…
Anton Babushkin
  • 406
  • 2
  • 12
1
vote
4 answers

php file permission for folder write

I have a file test.php. This write to log.txt in a sub folder log. I have tried some combinations and it seems minimum is 007 for the folder and 006 for the log. Is this perfect?
David19801
  • 11,214
  • 25
  • 84
  • 127
1
vote
0 answers

Access to the path is denied during file move from windows to linux media share

I'm writing a program using C# that renames some files and uploads to my WD MyCloud media share (runs a Linux server). The issue is I keep getting an "Access to the path is denied" when the File.move() is called. The media share is mapped to my…
1
vote
1 answer

Win 10 changes the permission of .exe file after running it once?

I got a very strange problem. I used a notebook computer installed with Win 10, and compiled a .exe file from a very simple .c file using Dev-C++. The .exe file was created on the Desktop, and I could run the .exe file -- once only. After running…
1
vote
0 answers

Windows set File permissions to match -rwxrwxrwx

In my cgi-bin for Apache on my local windows environment I have several .cgi files with permissions -rwxrwxrwx . I'm getting one error on my application, http://localhost/cgi-bin/proxy.cgi?url=http%3A%2F%2F127.0.0.1%2Fcgi-bin%2Ftinyows.exe 500…
1
vote
0 answers

Parent image of all list of thumbs created by Wordpress upload not getting the right permissions IIS

I have a wordpress on a windows server, when uploading images, wordpress create a collection of different sizes, ok, and all of then gets the rights permissions except for the parent one. This one doesn't get the user application group of the IIS…
amibumping
  • 245
  • 1
  • 2
  • 13
1
vote
6 answers

PHP Caching without messing with file permissions (Also, How to emulate ASP Application variables in PHP)

I'm trying to implement some kind of caching in a PHP script that will go out to many different clients/sites, which will be deployed by fairly non-technical users, using a variety of web hosts. Due to the non-technical nature of the users, I'd…
Tristan Havelick
  • 67,400
  • 20
  • 54
  • 64
1
vote
0 answers

How to make file permissions and file ownership stick?

I'm trying to figure out how I would go about setting permissions (and ownership) that will just stick for a directory and its recursive contents, when creating new files or folders. I'm using the XAMPP bundle under Ubuntu, which provides me with…
Wieger
  • 663
  • 1
  • 9
  • 24
1
vote
0 answers

How to fix Filebeat permission denied error while initializing harvesting logs

I have ELK docker container having ports open and Filebeat on separate container. I am getting Logstash index and Filebeat index in Kibana dashboard. Some logs are being sent to Elastic Search using Logstach from Filebeat. The logs folder for my…
Nasir Ahmad
  • 443
  • 1
  • 7
  • 15
1
vote
1 answer

Is it possible to set read-only for myself on unix?

I have been given the address to a very large folder on a shared Unix server. I've been given a path to some files on a unix server I'm working on through ssh. I don't want to waste space by creating a duplicate in my home area so I've linked the…
shians
  • 955
  • 1
  • 6
  • 21