Skip to main content

All Questions

Tagged with
-1 votes
1 answer
33 views

How to set a file permission to prevent deletion in Python?

I'm working on a Python project and I need to prevent a file from being deleted. If it's not possible to make the file undeletable, I would like to at least make it read-only and unchangeable. I've ...
JosephMoraila's user avatar
0 votes
1 answer
25 views

Some random ownership changes through `rsync -a` inside a LXC container

I am migrating a dedicated server running Debian 12 with LXC and a couple of containers. I use rsync with -avhze options from the new server (pulling), with root user on both sides. It appears that ...
Kiv's user avatar
  • 1
0 votes
1 answer
52 views

search for files with reader permission in Google drive API if email is not a gmail

I'd like to know if it's possible to query files by permission in drive API only if the permission email is a gmail (and obviously an existing account) $results = $service->files->listFiles() ...
jthomas's user avatar
  • 57
-3 votes
1 answer
29 views

error filed to open file, permission denied [duplicate]

i try to open users.json file but not in my index.php file i used requard function your and that the result: file_get_contents(C:\\XAMPP\\htdocs...): Failed to open stream: Permission denied in... ...
Rayan Snooki ريان سنوكي's user avatar
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 ...
Dipon's user avatar
  • 53
1 vote
1 answer
44 views

(xampp / Windows) move_uploaded_file(): Failed to open stream: Permission denied

Warning: move_uploaded_file(/users/6.png): Failed to open stream: Permission denied in C:\xampp\htdocs\scripts\pfpUpload.php on line 30 Warning: move_uploaded_file(): Unable to move "C:\xampp\...
c mou's user avatar
  • 13
2 votes
2 answers
700 views

Why can't I open a Mac file (operation not permitted) until AFTER one sudo command?

Here's a mystery. First, I can't open a specific file on my Mac, even though I have read permission: $ cd Downloads $ ls -l "WhatsApp Video 2024-05-02 at 15.06.16.mp4" -rw-r--r--@ 1 smith ...
DanB's user avatar
  • 322
0 votes
0 answers
7 views

Error opening a file from a network Share

Really weird behavior opening a file. I'm getting an error message trying to open a .sql file. If I'm in SSMS, I get this error message: "The operation could not be completed. The parameter is ...
Anthony Watts's user avatar
0 votes
0 answers
12 views

ACL Permissions Related

Can anyone explain what is the usecase of all these CREATOR OWNER BUILTIN\Users APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES NT AUTHORITY\Authenticated Users APPLICATION PACKAGE AUTHORITY\...
Karthick S's user avatar
0 votes
0 answers
58 views

i get the message permission denied when ever the code is supposed to remove a file

just to give some context this part of the code is supposed to be deducting gold from the player and to do that i am deleting the old file which contained the username password gold balance and gem ...
laxithh's user avatar
0 votes
0 answers
45 views

Powershell Setting Inheritance

I was following another question regarding a similar problem found here: Setting Inheritance and Propagation flags with set-acl and powershell Powershell Check Permissions This partially worked for me,...
Aiden's user avatar
  • 1
0 votes
0 answers
35 views

git config file permission lost after `git remote set-url origin https://`

I was using capistrano for the deployment cap production deploy, the error message from capistrano DEBUG [3730481e] fatal: unable to access './config': Permission denied I found it's because ...
wanfujinan's user avatar
0 votes
0 answers
21 views

Permission issues to modify files inside a container

I attach vs code to a docker container. I git clone a github repo inside the container. I open a file inside the repository and modify it. I am unable to save the file. I keep getting the following ...
Zohim Chandani's user avatar
0 votes
0 answers
96 views

Whenever I try to open my .pyw file with pythonw.exe I receive the error "File cannot by access by the system"

I have a .pyw (pythonw) file that works perfectly when ran through cmd. However, I am tryin to have it run 'normally' through file explorer. For that, I have to open it with pythonw. However, when I ...
Solid Piku's user avatar
1 vote
2 answers
99 views

Permission Denied when writing file on internal storage from Xamarin

I'm trying to do the following: var photo = await MediaPicker.CapturePhotoAsync(); string maindir = Path.Combine(Xamarin.Essentials.FileSystem.AppDataDirectory, "Pictures"); ...
Nick Sabbe's user avatar
  • 11.9k

15 30 50 per page
1
2 3 4 5
33