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
1 answer

File SDDL not equal although it should be

We're trying to compare NTFS permissions for files or folders using the SDDL attribute. The only thing we're interested in is if the ACL is equal or not, by using the SDDL and not other methods like AccessToString or just comparing two plain ACL…
DarkLite1
  • 13,637
  • 40
  • 117
  • 214
1
vote
0 answers

Screen loses permissions after ssh disconnection

I have a long running bash script that I run on a remote host with screen, so I can log off ssh. When I come back after some time (after logging off), the screen terminal no longer has permissions to access my files and folders. What's causing this,…
Miatrix
  • 407
  • 4
  • 6
1
vote
1 answer

How to replace binary file during rpm upgrade without changing permissions

I need to replace the existing binary during rpm upgrade but I do not want to change the permission/ownership which is set already. In my case, after the binary installation (not upgrade), ownership/permissions are set properly by rpm. But after the…
RunSingh
  • 69
  • 8
1
vote
1 answer

How to set Redis's dump.rdb file permissions?

I want to write a script that dumps my database and makes a backup of if. However I've faced a problem. I need to SAVE database and after that I need to copy a file to another location. The thing is, after I run a SAVE command with redis-cli, the…
serge1peshcoff
  • 4,342
  • 11
  • 45
  • 76
1
vote
1 answer

Need to open permission to 766 to let PHP to edit files

As the title described, I have tried making the file which I need to edit permission to 764 and it didn't work. I don't have permission to the php config and other main configuration, do I have any options other than using 766? Additionally, will…
attempt0
  • 639
  • 5
  • 14
1
vote
1 answer

My app can't create log files when it starts up inside Docker

I spent the weekend pouring over the Docker docs and playing around with the toy applications and example projects. I'm now trying to write a super-simple web service of my own and run it from inside a container. In the container, I want my app (a…
smeeb
  • 27,777
  • 57
  • 250
  • 447
1
vote
1 answer

Real Ajax Uploader Error: Cannot write on file

I'm building a site that requires the ability to upload large .wav files. I figured the best way to upload these files was via a jQuery plugin that could chunk the data to the server. I chose Real Ajax Uploader to do this. I put the following…
Kenton de Jong
  • 1,001
  • 4
  • 17
  • 37
1
vote
1 answer

nginx: 403 forbidden when php files in separate directory

I've successfully installed nginx that uses PHP-FPM but unfortunately I'm having some trouble when loading my php files from a different directory. All my files are located in subdirectories in /var/www/html (e.g. all css-files are located in…
Nrgyzer
  • 783
  • 1
  • 14
  • 38
1
vote
0 answers

Chmod not working for a directory in VIRTUAL SFTP Server

Below is the code I've used for chmod channelSftp.cd("test"); channelSftp.mkdir("8696"); channelSftp.chmod(511, "8696"); This is the stack trace when I try to chmod a folder in sftp virtual server... May 9, 2017 5:31:53 PM…
Selvam
  • 109
  • 1
  • 14
1
vote
0 answers

When a file is executable for iOS?

I created an app that compile Swift scripts or projects from server side, shows the output, and then the app downloads the executable file. I know I can't directly run this file, but I can do that from server side, so in my app's file explorer, it…
Emma Labbé
  • 667
  • 7
  • 18
1
vote
2 answers

Failed to open stream: Permission denied - Artisan

I'm working on a Laravel project since two days and I never had any problem with my migrations. But this morning, when I try php artisan migrate --seed, I have the following error : [ErrorException] Include(D:\Programmes\xampp\htdocs\Laman): failed…
Louis Etienne
  • 1,302
  • 3
  • 20
  • 37
1
vote
2 answers

How to use pg_dump / pg_dumpall with postgres DB?

I am uncertain if its the permissions issue or something I am doing wrong and any help will be greatly appreciated. I have a dedicated Ubuntu server with Postgres DB installed on it. I want to backup the databases, but when I use pg_dump I get…
bcrawl
  • 85
  • 1
  • 3
  • 7
1
vote
1 answer

Phoenix file copying on Heroku

I'm trying to upload images to my Phoenix app on Heroku. I have a simple app that follows the instructions for file uploading from Phoenix's docs. I have a simple form and the controller uses File.cp_r() to copy the file from the temp directory. …
Mark Karavan
  • 2,654
  • 1
  • 18
  • 38
1
vote
2 answers

need help understanding file permissions setting for the PHP application

i have developed an application on Macintosh using MAMP when i upload it to the server which is powered by Cpanel11, CentOS 5.. it gives several error regarding file permissions by default it gives 0700 file permission to most of the files which…
Ibrahim Azhar Armar
  • 25,288
  • 35
  • 131
  • 207
1
vote
1 answer

Grant the server the permission of creating a folder

I have a Ubuntu Server on DigitalOcean, which hosts some websites. I just built a mean.js stack app on my mac, and I plan to deploy it to production, thus to this existing server. I followed this link to install node.js and mongodb, etc. Then,…
SoftTimur
  • 5,630
  • 38
  • 140
  • 292