Questions tagged [permissions]
Access and restrictions of files, documents, accounts, computers, etc.
4,200
questions
0
votes
2
answers
11
views
create symbolic link in directory with no write permission
I have a directory, which I do not have write access to. I want to create a symbolic link there, overwriting my file in that directory(which i own). however, I cant delete my file to place a symbolic ...
0
votes
0
answers
19
views
What are the most sensitive files in a Linux Server and their Permissions [closed]
I am a newbie, learning to manage linux systems. I created a debian virtualbox machine and created an unprivileged user in it for that. Within that unprivileged user, I was able to read sensitive ...
1
vote
1
answer
15
views
bash: /etc/shells: Permission denied in Ubuntu
I am trying to add Xonsh to my /etc/shellsto make it my new default shell, however when i run sudo which xonsh >> /etc/shells I get bash: /etc/shells: Permission denied I tried changing the ...
0
votes
0
answers
14
views
File permissions issue for files downloaded from internet / synchronized by OneDrive
I am trying to backup several different Windows computers to a single Windows computer by sharing the drives of the target computers and accessing them from the backup computer. But I am running into ...
0
votes
0
answers
4
views
0x80004005 when performing administrative tasks [migrated]
We have an AD network, and a group of users has higher privileges than the standard, configured via GPO in Computer Configuration > Policies > Windows Settings > Security Settings > ...
0
votes
0
answers
26
views
MSSQL Server working on RH9 or Centos9
Has anybody running mssql-server on RH9 or Centos9?
I got this Error when trying to setup:
Red Hat Enterprise Linux 9.2 (Plow)
Capturing core dump and information to /var/opt/mssql/log...
Hint: You ...
0
votes
1
answer
42
views
What permissions are needed to bind a tunneled ssh port on the "remote end" post connection? Error is "bind [127.0.0.1]:<port> Permission denied"
As many others have encountered, I've got a system behind a "remote" DHCP router that needs to connect reliably with a "local" system using reverse port mapping for various reasons ...
0
votes
0
answers
14
views
Why does editing my .swift source code on my macbook remotely from Visual Studio on Windows PC remove permission for group & everyone of file on mac?
Specifically, Visual Studio changes file permission shown by bash ls -l on macbook
from:
-rwxrwxrwx read write exec for owner, group, everyone
to:
-rw_______ only owner read write
TEXT EDITOR...
...
0
votes
1
answer
57
views
Can't access specific files in Windows
I'm trying to view a PDF file in Windows, but my access to it is denied for some reason. It's in a folder that I have full permissions for (also set to apply to subfolders and files), and I can access ...
1
vote
1
answer
26
views
rsync save and restore user-id/group-id
I'm trying to understand how to save and restore user/group while performing a backup using rsync.
It might be that I got it all wrong, but I was running the following command:
rsync -axqHAXWESR --...
0
votes
0
answers
10
views
File not executable even with execute bit [duplicate]
Why is the following file not executable?
Changing the permissions to 777 doesn't work either - I get the same result. I thought it might be an owner issue, but with 777 that shouldn't be a problem.
$ ...
-2
votes
0
answers
49
views
Chmoded entire root directory disaster
I need some help to restore the correct permissions to file and folder on my Linux Mint machine.
While I was root, I incautiously executed these instructions taken from here:
chmod -R 755 * # All ...
0
votes
0
answers
17
views
Why does SELinux blocks mounting on HTTPD's www folder?
It took me a while and I had to use ChatGPT to understand, that when I do the following command:
# mount /dev/MyVG/MyLVWithFileSystem /var/www/html
I won't get my lv that stores my website files ...
1
vote
0
answers
21
views
Fix changing owner to Root of multiple system files
I accidentally ran this command
# chown -R root:root /{usr,lib,var,etc,bin,sbin,tools}
on my ubuntu 23.04 system.
How can I fix permissions?
Can this be done without reinstalling?
Thanks
0
votes
0
answers
21
views
Systemd like PrivateTmp from a bash script
When SSH-ing into a remote machine, I have a script that checks for an existing TMUX session. If an existing session is not found, then it will create a new session and attach to it.
I want to modify ...
-2
votes
1
answer
41
views
Administrator account that can not take ownership
I want to use 3 accounts:
normal user,
restricted administrator for installing things and
a full administrator.
This way installers which require admin rights still can't take ownership and read ...
0
votes
0
answers
41
views
Error opening Visual Studio Code from Cypress on Mac: 'The editor process exited with an error: spawn EACCES'
I am trying to open Visual Studio Code from Cypress on my Mac by clicking on a file in the Cypress Test Runner, but I am encountering the following error message in VSC:
"Could not open ...
2
votes
1
answer
35
views
Windows exe program work in safe mode but error in normal (access, permissions error)
I have installed the program "VMS" needed to configure the IP camera. When I run shortcut, program does not reacting at all. But after several attempts to run, an error appears.
Windows ...
0
votes
0
answers
51
views
Linux No such file or directory despite there being a file [duplicate]
I am trying to execute an ILI9342 driver binary, nothing fancy using sudo /path/to/binary.
At first it gave me a permission error, which I have fixed using chmod +x /path/to/binary
However, after ...
2
votes
1
answer
37
views
What permissions does a user need to run `git ls-remote`?
I have a Git repository within my home folder on my Ubuntu 22.04 system. A system utility user 'gremlin' needs to check that this is a real Git repository. The best way to do that that I've found is ...
0
votes
1
answer
67
views
WSL2 is not handling file permissions properly, unable to write files from PHP
I am running nginx, mariadb and php8.2-fpm on my WSL2 Ubuntu server successfully, all running as user www-data just fine, however, I cannot upload files from the web interface. When I attempt to, the ...
1
vote
0
answers
61
views
rsync permission issue when run as systemd service in userspace
Ssh:d to a raspberry pi with Raspbian 11 I'm trying to create a userspace systemd service unit and timer for running an rsync command that would sync two folders under the home folder of the user I'm ...
1
vote
1
answer
71
views
Find command in IBM AIX
I would verify that files in the location listed may not have both the other-write and any execute permissions set.
This requirement to be applied recursively to files contained within subdirectories.
...
2
votes
1
answer
504
views
Postgres docker error "data directory "/var/lib/postgresql/data" has wrong ownership"
I am trying to start a postgres container using docker
I have tried using multiple versions of postgres docker images
I have tried using volumes as mentioned here
tried setting POSTGRES_USER ...
0
votes
0
answers
42
views
Schedule tasks on windows 11: administrator has no permissions
Trying to schedule a task, Enter user account information for running this task.
User account selection drop down:
sa
abc700ge5d28c9a2
<myUserAccount>
Where do the first two user accounts ...
0
votes
1
answer
58
views
Can't change file permissions with chmod in mounted devices
So, I wanted to share my Media via ftp by creating a symbolic link in the home directory of a ftpuser, to my HDD's partition 'Fun Drive'. What I wanted was that the ftpuser couldn't write to the Media ...
3
votes
3
answers
192
views
Who should be the owner for a user under C:\Users\UserName, Administrators or System?
I noticed that the user folder, C:\Users\User-Name-Here shows Owner as Administrators(PC-NAME\Administrators).
Other users folders show the folder owner as System.
Is this normal? If so what ...
0
votes
1
answer
34
views
Ask for UAC before opening a Windows folder
I want to create a folder where I can only open it, or its contents, by first accepting the UAC prompt.
I have a personal computer, where my account is an admin account, and most programs run under my ...
0
votes
3
answers
2k
views
MacOS Ventura can't give permissions (OpenCore)
I'm using 2013 mac with OpenCore Legacy Patcher. I recently updated to the Ventura 13.3.1 and had no problem until i realized i can't give special permissions to the applications. When i try to use ...
0
votes
0
answers
34
views
How can I add an outbound rule by windows advanced sercurity firewall on Windows 11?
I wan to add a outbound rule by windows advanced sercurity firewall to block the C:\Users\me\AppData\Local\Microsoft\WindowsApps\ogh.exe so that I can use ogh.exe offline. but when I do that, it can't ...
0
votes
1
answer
190
views
How to mount .img file as read-only ext4, but give users read permissions to the whole fs?
I have a system.img android's image file that has ext4 filesystem in it.
I mount it as
sudo mount -o ro system.img /mnt
I have two questions:
Why do I need root access to mount the image file?
...
0
votes
1
answer
29
views
On-the-fly SMB shares conf to quickly share files
I want to use samba to quickly and easily share files on occasions. I set up a smbuser to which I forbid login with
chsh -s /bin/false smbuser
I give the smbuser's password to people and I have my ...
2
votes
1
answer
66
views
Prevent Windows Explorer to use "LocalizedResourceName" when renaming file or folder from Search result
Maybe this is only on localized version of Windows, I don't know.
If you rename a folder while in a Windows Search result window, instead of renaming the file, it will create a desktop.ini file and ...
0
votes
0
answers
16
views
How to get mic/camera permissions to persist for an AppleScript application?
I have an AppleScript app that's running a shell command that requires mic and camera permissions. Every time I run it, I again see the OS dialog "App would like to access the microphone/camera.&...
0
votes
1
answer
27
views
Allow subdomains with Firefox canvas fingerprinting
Firefox has fingerprinting protection (currently experimental). Some sites that use the canvas don't render properly. For example, the terminal in GitHub Codespaces looks garbled until an exception is ...
0
votes
0
answers
116
views
Permission denied (publickey). scp: Connection closed
I'm having a remote server running SSH,
I use the scp from my local computer like this:
scp filename.txt username@IP:/data/production
it asks for the password, I supplied it, and then I get
...
0
votes
0
answers
115
views
Do default (-d flag in setfacl) ACL permissions persist after reboot?
Apologies if this has already been asked, but I've not found the answer to this particular question thus far.
I'm running two different commands: the first command to Recursively set a default ACL for ...
0
votes
0
answers
48
views
How do I write into a read-only folder on windows using ubuntu in WSL?
I've been trying to install stuff on the arcgis version of python, but because ArcGIS installs its python executable and environments inside program files, conda in ubuntu WSL throws back:
...
0
votes
1
answer
54
views
Need permissions to delete event log
I have an application that I wanted to delete but when I tried doing so, it said that it couldn't be deleted because was open in the event log.
Since I didn't want to do it manually, I found this ...
0
votes
0
answers
16
views
Linux fs permissions issue
I have a folder like:
/home/<username>/storage/apps/<name>/f/<filename>
all folders and files under "storage" directory has owner: 1000:1000
I'm running by binary which ...
0
votes
0
answers
22
views
Giving permissions to SYSTEM to write to a folder on Windows Server running on a Domain
We have a .NET application running on Windows Server 2012 R2 on IIS 6.2. It needs to write Excel files to a network folder on Windows Server 2012 R2.
It does this using Microsoft.Office.Interop, which ...
0
votes
0
answers
37
views
What can I do to properly sync these apps in OneDrive?
First of all, I'd just like to say that I asked this question here because I'm not sure where else I'm supposed to post it. I'd appreciate it if someone could let me know if I asked in the right place,...
2
votes
1
answer
169
views
Granular permission for a single KeePass database
Let's say we have a single KeePass database file database.kdbx in a shared folder among multiple persons.
In KeePass, how to make different user permissions for access to each password? Example:
...
0
votes
1
answer
45
views
Lost file permissions after a couple hours in Windows
I have a user, using Windows 10, signed in on their Microsoft Account.
They have no problems when the machine has first started, but after a couple hours they get a permission error accessing .jpg's. ...
1
vote
1
answer
169
views
Is it possible to port-forward to a Unix domain socket using the permissions of a different user on the target host?
Consider a server X, which users A and B.
I have permissions to ssh as user A, and to sudo as user B, but I do not have permissions to ssh as user B.
There is a Unix domain socket with path /path/to/...
0
votes
1
answer
105
views
Why aren't owner permissions applied when executing a script with suid set?
I have a bash file that I want to run with owner permissions when executed by a group user. So I set the file permissions with:
sudo -u owner_user chmod 4750 bash_script
The file then has the ...
1
vote
0
answers
18
views
Windows: How do folder permissions affect file permissions inside
I'm on Ubuntu here and have no Windows available, so please forgive me if this is obvious. My last Windows machine was XP, so my knowledge is kind of outdated.
Say I have a folder with three files in ...
0
votes
1
answer
30
views
Fsutil usn queryJournal works on root (f:) volume but not on the child folders - Access denied
On windows server 2016 trying to execute
fsutil usn queryJournal f:\demo
but keep getting
Error: Access denied
However same command agains root volume f:
fsutil usn queryJournal f:
returns data ...
0
votes
1
answer
129
views
How to reset default WindowsApps permissions per-app instead of for the folder
I seem to have messed up my WindowsApps folder badly, but managed to restore it using a previous question. This fixed and added the proper permissions for the WindowsApps folder ITSELF, but not the ...
0
votes
1
answer
140
views
setfacl: How to give user permission to a dir for existing and future files?
OS: debian:bullseye (docker image).
What I am trying to do:
I have a websockets server that creates a unix socket and listens on it. I am trying to set up nginx in front of this. I am trying to set up ...