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

Vagrant make a file writable or executable

I have found that running chmod u+x myfile Does not work when I ssh into my local vagrant machine. Same thing for +/- for writable, in fact chmod has no effect. How can I modify permissions inside my vagrant instance? Running on Windows 10…
Oliver Williams
  • 5,966
  • 7
  • 36
  • 78
1
vote
0 answers

Java can't read file owned by group in NFS

I try to read a file from an NFS share that has been created by another user. The file's group permission though is set to a group which the executing user in a member of. Nevertheless I get a FileAccessExcpetion: Operation not permitted. The access…
schoenk
  • 824
  • 3
  • 13
  • 31
1
vote
0 answers

Why does querying an external hive table require write access to the hdfs directory?

I've hit an interesting permissions problem when setting up an external table to view some Avro files in Hive. The Avro files are in this directory : drwxr-xr-x - myserver hdfs 0 2017-01-03 16:29 /server/data/avrofiles/ The server can…
s d
  • 2,666
  • 4
  • 26
  • 42
1
vote
0 answers

Postgres can't read CSV even with 755 permissions

I have a script for setting up a test database (in a Web application) that populates the database with the COPY command running from a Postgres driver, not psql. I read that Postgres will run that command as the postgres user. But I get a 42501…
user3597931
1
vote
0 answers

ckfinder - file permissions on Windows 2008R2 using php and FTP connectors

Happy New Year! My site is hosted on Windows Server 2008 R2. Within ckfinder 3 I am using the php connector to upload files and I have always had trouble with file permissions. To use ckfinder, I've had to change the permissions to 'modify' for the…
1
vote
1 answer

Remove execute permission on file downloaded on a Mac

We have a web app running on a Windows server, which allows a user to do some processing and download the results. The result is a set of files which are dynamically created on the server and zipped into a single file for facilitating the download…
tathagata
  • 478
  • 3
  • 12
1
vote
1 answer

Accessing a network path with known drive path

I'm trying to access a network path using the following: open(r"\\path\to\network") However I am getting the following error: Traceback (most recent call last): File "install.py", line 9, in
User9123
  • 515
  • 2
  • 6
  • 14
1
vote
1 answer

Forking from Electron process fails on Windows only from installed executable

I'm developing a desktop application using Electron. I do certain tasks in a separate process to avoid locking renderer processes. I achieve this by calling require('child_process').fork. This works as expected on all platforms (linux, windows,…
Jayesh
  • 51,787
  • 22
  • 76
  • 99
1
vote
1 answer

C - chmod() not changing permissions

I am trying to change the permissions of a bunch of files that are located in a specific directory. I am using chmod to do so. The function does not return any error, but when I print the old and new permissions, it does not look like it is changing…
1
vote
2 answers

How do I check in PowerShell if a service has read access to a certain folder?

So far, I know to do the following: Determine the service logon account - (Get-WmiObject -Query "SELECT StartName FROM win32_service where name = 'mssqlserver'").StartName Get accounts that have read access to the folder - accesschk -q -d…
mark
  • 59,016
  • 79
  • 296
  • 580
1
vote
0 answers

Can't access mounted volume in docker

UPDATE: This wasn't an issue when I setup my project on a Mac. I was using Fedora 24 in this problem. I am trying to access my app in my docker instance. When I try and ls the mounted directory, I get a permission error: root@591d02d0d6d2:/app# ls:…
Sam Munroe
  • 1,266
  • 2
  • 20
  • 41
1
vote
5 answers

what are the file permissions need for a file hosted on linux server?

I have a web server and installed wordpress on it. I would like to know about the files permissions which are required to secure my site. (last time XSS happed on my site, they wrote inside my all index.php files and some other files. I don't know…
coderex
  • 27,225
  • 45
  • 116
  • 170
1
vote
1 answer

How to give my desktop Ubuntu machine's user full permissions to a docker volume, in addition to TWO users within the docker container?

I've got a docker container that has PHP-FPM in it with a www-data user. I have a volume that maps my local app to the /var/www/html directory. I found the UID of the www-data (let's say 33). On my local machine, I chown'd the application directory…
timetofly
  • 2,957
  • 6
  • 36
  • 76
1
vote
2 answers

Alternative to CHMOD 777

I'm developing a WYSIWYG type site builder in JS for people who don't know HTML/CSS. It's all done, but I want to make this as simple as possible. In a perfect world, they'd just upload all the files to their host and be done with it. The problem…
Jordan
  • 11
  • 1
  • 2
1
vote
0 answers

How to set default core file permissions

The process I'm running sometimes generates core file, and that file has following file permissions: server:~ # ls -l /mnt/process/core/core_segfault -rw------- 1 root root 245760 Dec 2 11:29 /mnt/process/core/core_segfault The issue is that only…
crollywood
  • 523
  • 1
  • 6
  • 17