Questions tagged [permissions]

Access and restrictions of files, documents, accounts, computers, etc.

Filter by
Sorted by
Tagged with
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 ...
jp_'s user avatar
  • 25
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 ...
zakadmin's user avatar
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 ...
Omar Morales Rivera's user avatar
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 ...
Stronuk's user avatar
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 > ...
Maxxer's user avatar
  • 190
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 ...
Michael Siegmund's user avatar
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 ...
Richard T's user avatar
  • 457
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... ...
Doug Null's user avatar
  • 728
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 ...
SlamJammington's user avatar
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 --...
user897621's user avatar
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. $ ...
The Bic Pen's user avatar
-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 ...
Mook's user avatar
  • 1
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 ...
user1792843's user avatar
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
ciao1092's user avatar
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 ...
Joyce Babu's user avatar
-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 ...
Vlad's user avatar
  • 176
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 ...
user17410204's user avatar
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 ...
Russell's user avatar
  • 21
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 ...
Skyde's user avatar
  • 11
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 ...
Borea Deitz's user avatar
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 ...
Kevin Flanagan's user avatar
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 ...
piggvar's user avatar
  • 11
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. ...
medisamm's user avatar
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 ...
squarepluto's user avatar
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 ...
eastwater's user avatar
  • 101
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 ...
Vipul Kumar's user avatar
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 ...
SKidd's user avatar
  • 139
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 ...
mFeinstein's user avatar
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 ...
caliskanata's user avatar
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 ...
olderciyuan's user avatar
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? ...
g00dds's user avatar
  • 43
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 ...
Steve-no-Jobs's user avatar
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 ...
Akim Sissaoui's user avatar
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.&...
GJ.'s user avatar
  • 9,593
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 ...
z0r's user avatar
  • 103
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 ...
saurabh's user avatar
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 ...
arthur.e.anderson's user avatar
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: ...
Reuben's user avatar
  • 1
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 ...
skloggy's user avatar
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 ...
vv3d0x's user avatar
  • 1
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 ...
Koops128's user avatar
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,...
Sovereign Inquiry's user avatar
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: ...
Basj's user avatar
  • 1,554
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. ...
SCMedia's user avatar
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/...
merlin2011's user avatar
  • 1,803
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 ...
iben's user avatar
  • 1
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 ...
crusy's user avatar
  • 111
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 ...
ophiuhus's user avatar
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 ...
vvxrtues's user avatar
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 ...
agnivesh's user avatar

1
2 3 4 5
84