520 questions
-2
votes
0
answers
52
views
Could not copy file during build due to "zombie process" [closed]
This is not a code problem. There is no minimal code example. This is problem does not belong to a specific project. This problem is about an interaction between build environment, IDE, and operating ...
1
vote
1
answer
74
views
Postgres filenames with german umlaut
I would like to read some rtf files I received from an outside source into a table with Postgres.
I am using the pg_stat_file() function to check whether or not the file exists and aim to read its ...
0
votes
0
answers
47
views
Is there any way that we can access server file from server url?
For ex , My server URL is : https://example.com.
And there is one file in server folder i want to access that i didn't add in my code.
For example: APK filename is demo-example.apk
I want to access ...
0
votes
1
answer
30
views
In node, is a readable file stream just a buffered, asynchronous read "under the hood"?
I'm wondering, if I were to dive into the stream code, would I find deep down that for a readable file stream what is basically happening is that data is being asynchronously read into a buffer which ...
1
vote
0
answers
18
views
Crontab running the python program and python log file is not accessible as cron runs with sudo
I have a cron setup using sudo crontab -e on my EC2 (Ubuntu) which runs a bashfile to execute my python program. The python program creates a log file. Now due to some error if my program closes and I ...
0
votes
1
answer
261
views
how to access files which is outside the var folder in linux server in code igniter 3 project
I want to access files which is outside the var folder in linux server and my codeigniter-3 project inside /var/www/html.
and the files inside /data folder.
"/data/admin_assets/upload_files/...
1
vote
0
answers
297
views
Next.js permission denied to package.json file after docker compose up
Starting with docker compose up I'm facing an error below:
frontend | ready - started server on 0.0.0.0:3000, url: http://localhost:3000
frontend | info - Loaded env from /app/.env.local
frontend |...
0
votes
1
answer
147
views
How to do an lseek on an open file, and read N bytes?
I'd like to use Elixir to read a binary file that has a fixed-length header, and data structures within that are of determinable length. These files can be huge, and I really don't want to be forced ...
-1
votes
1
answer
83
views
Recover data without correctly installed OS [closed]
The custom ROM on my phone has a failure, so it always boots into twrp. Unfortunately it's impossible to reinstall the OS (I always get failure "Error opening (permission denied)). So I want to ...
0
votes
1
answer
113
views
Problem writing to Server Side Text File (Created by Client) from TypeScript/Angular Client
The issue is, I am trying to write to a file on the server as a response to a request initiated by the Client Browser.
NOTE: It is a LONG time since I have worked on TypeScript / PHP / Servers so do ...
0
votes
0
answers
62
views
File Permission issues while launching App
We plan to launch an app which needs access to user's folder permission to upload/save documents. However, play console is rejecting the app as it does not believe it is a core functionality. We have ...
0
votes
0
answers
194
views
I'm trying to read an excel file from external storage using apache POI and having trouble
I want to parse an excel file in "external storage" with apache POI on an android phone. I put the file in the downloads folder when I downloaded it. I can always expect it to be there, not ...
1
vote
1
answer
4k
views
How do a web application access local file?
I am trying to have a web application access local files. A web IDE like vscode can directly change or rename local files. While vscode doesn't seem to use a tag like <input type="file" /&...
1
vote
1
answer
799
views
Selenium can't find file from '/tmp/' directory to populate file-input
I want to upload a file using the selenium Firefox driver. The file is dynamically generated and does not need to persist so I would like to place it under /tmp/.
While selecting files from my home ...
0
votes
1
answer
782
views
How to prevent access to multiple file types in htaccess
I'm trying to protect a few sitemap files from public access.
The only ones that are allowed to have access are IP ranges from our lovely Google crawlers.
For example - the Apache module ...
-1
votes
1
answer
278
views
Under what circumstances might C read() fail in a middle of a loop - after having started in the loop correctly?
I just encountered this problem, and unfortunately, I cannot produce a reproducible example. I'll try to provide some debug data that I can see, and I hope I can get some help, primarily with the ...
3
votes
1
answer
512
views
Opening excel file locked by OneDrive
I need to read from an excel file while it is open in excel, and the file is stored in a synced OneDrive folder.
The following works flawlessly when the file is open in excel and OneDrive syncing is ...
1
vote
0
answers
241
views
Getting file access permission in a folder in Android 11/12
My app will read and write .db and .txt files in a directory in Downloads.
I already select and request that folder access permission like this:
Intent intent = new Intent(Intent....
2
votes
2
answers
1k
views
"File" does not contain a definition for "SetAccessControl"
I am trying via. C# to change the permission for files.
I get the error message despite correct "using" references. What do I need to do to make this work. I also tried to Nuget following ...
1
vote
1
answer
157
views
How to test code path for read-only file access with PHPunit
I have a PHP application with a code path which is only triggered if a specified file is read-only. If the file is readable and writeable another code path is taken. In particular, I am struggling ...
0
votes
1
answer
383
views
Unable to access android file system using Angular and Cordova
I have been trying to read files or write files in Android file system. My project is developed in AngularJS and converting it to APK using Cordova. When I install the app, it does not ask for file ...
0
votes
1
answer
223
views
Best way for a user within a BSD jail to have full access to a particular user's files on the hosting system
This happens to be a TrueNAS (BSD) system. The system itself has an id of pedz with UID of 1000. (I'll call him Gpedz). I created a jail so I could write an application and run it safely on the NAS ...
0
votes
0
answers
157
views
An attempt was made to access a file in a way forbidden by its file access permissions
I am run my nodejs with node app.js, get following error:
listen EACCES: permission denied 8080
code: 'EACCES',
errno: -4092,
syscall: 'listen',
address: '8080;',
port: -1
this means (...
0
votes
0
answers
536
views
Permission denied Read file on a network drive from php server for which just the user has read access to it
I want to open a file in a network drives with php. The file is not accessible for every one, just for one user.
I have the following code:
$file = "$dir/$fileName";
$fp = ...
0
votes
1
answer
8k
views
Access files in public directory after production (create-react-app)
I've been working in Create-react-app and had a development build I was ready to publish. I ran commands such as seen here and was successful in deploying to GitHub pages. After deploying, I went ...