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.
3,114
questions
0
votes
0
answers
27
views
Cannot write to `/dev/stdout` or `/dev/stderr` when starting a docker container with `root` and then dropping to a non-privileged user [closed]
Situation
When creating a docker container (with docker run oder docker compose up) the USER defined in the image (Dockerfile) is used to create the hole filesystem inside the container.
Problem
When ...
2
votes
2
answers
71
views
How to use docker compose secrets with a non-root user when a file is required
Situation
The current (07/2024) docker compose documentation states (falsely) that there is a long-syntax when using 'docker secrets' that can defines the name, uid, gid and mode of the mounted file
...
-1
votes
4
answers
68
views
"Permission denied" when using WebDAV mount as docker volume
I'm trying to use my host-mounted (via davfs2 utility) WebDAV storage as docker volume, but somehow got Permission denied though all target and parent folders have 777 linux permissions
# ls -ld /mnt/...
0
votes
0
answers
25
views
handle access to files in Flutter
I'm trying to implement a permission handler to access the files. this is where I stopped after checking multiple resources online and the package page file picker. the issue is when I press the ...
-1
votes
0
answers
28
views
Allowing Files and Folders permission access on MAC every time I run cpp file from VScode
I just installed VScode on MAC to run C/C++ programs. Everything went smoothly and I am able to compile and run from the VScode app (F5). However there is a very annoying issue. Every time, I debug/...
1
vote
2
answers
57
views
Databricks Cluster "file not found" when accessing Volumes
I am using a Databricks Shared Compute Cluster (DBR 15.2) to connect to an Oracle DB using the JDBC Driver. For the connection, I need to specify the trust store location. My preferred option would be ...
0
votes
1
answer
52
views
How can vi write a file without permissions?
I created a file using touch test, then changed the file permission using chmod 000 test, then did vi test, wrote random characters, I was successfully able to save the file using :wq!. I'm the owner ...
0
votes
0
answers
16
views
How do I change permanently change under the specific directory in Linux after I specified permissions with `chown -R user:group .`?
How do I change permanently change under the specific directory in Linux after I specified permissions with chown -R user:group .?
For example, I changed owner and group with chown -R www-data:www-...
-2
votes
0
answers
28
views
Is there a way write multiple files from the browser to a local folder?
There are a lot of web apps that are being developed these days. Some are called PWAs or progressive web apps. They have the ability to be installed on the users pc or device although they are mostly ...
0
votes
1
answer
24
views
Psql giving permission denied on loading via file
My problem is similar to the one here but the solution doesn't seem to work.
I have a file data.sql at /path/to/file/data.sql.
I connect log in to the shell as postgres user via:
(py39bot) me@pop-os:~/...
-1
votes
1
answer
35
views
I am getting an Error while renaming directory which i was using to create an app using command npm run reset-project EPERM operation not permitted
I am using Expo for starting my app on my Android device and in the index.tsx file it is written
that use npm run reset-project for making a fresh project
but I am getting an error:
Error renaming ...
-1
votes
1
answer
49
views
Permission Denied while creating a new csv file
Code:
@dataclass
class DataIngestionConfig:
train_data_path:str = os.path.join("artifacts/train_data")
test_data_path:str = os.path.join("artifacts/test_data")
...
-1
votes
1
answer
54
views
I am getting this error on VSCode. "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Manage and change your permissions to get this to work
I don't know what to do. I don't have administrator permissions at the company I work at. VSCode's advice was to "Ask on Stack Overflow". Can somebody help?
I tried looking through their ...
1
vote
0
answers
26
views
How to retain inherited folder permissions for newly uploaded files in a Windows development environment?
In my mobile app, I need to take a photo and send it to the OpenAI API for analysis. I'm working in a development environment with a local server on my Windows PC.
Here's the code snippet that uploads ...
0
votes
0
answers
23
views
How to access whatsapp status file directory in Android 11 and above
I want to make an app which will save the status of whatsaap. How I can access to the directory above android 12 an up.
Access to android direcotry, and files. It showing no files and file count 0 ...