Questions tagged [ownership]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
55 views

Can't Open a File or Take Ownership - Access is Denied

I can't open a certain exe in Windows 10. It's not a system folder. It was a downloaded game in WindowsApps. I take ownership from the folder of the game folder, but can't take ownership to files ...
  • 11
1 vote
0 answers
24 views

WSL: rsync not deleting files in destination when absent from source

This is using WSL on a W10 machine. I'm trying to mirror one drive to another. The command I'm using looks like this: root@M17A:/mnt/c/WINDOWS/system32# rsync -rtivlHu --delete --exclude "Backups&...
0 votes
1 answer
56 views

Restoring from backup made with rsync -M--fake-super

For years I have been regularly running the following command locally as a root filesystem backup in the hope I am safe: rsync -aAXv --progress --delete / --exclude={"/dev/*","/proc/*&...
  • 1
0 votes
2 answers
58 views

Simplest way to use Powershell 7 on Windows to set ownership and permissions on files and directories?

Assume I have a directory somedir that contains several files somefile_nn.txt The directory and files are currently owned by john, and have full permissions for Everyone which it inherited from ...
  • 245
1 vote
1 answer
574 views

How can I install MacOS security updates when I receive the error message "In order to continue installing, you need to be an owner"

Installing Apple MacOS security updates fails with the error message In order to continue installing, you need to be an owner How can I fix this? Running MacOS 12.
  • 489
1 vote
0 answers
60 views

Give all users of a group ability to rm, cp, mv, edit, etc files into or out of a directory

so I've created a directory that will be used across multiple users at /SharedDir. This shared directory is currently configured as such. drwxrwsrwx+ 6 root group 4.0K Mar 23 20:40 /SharedDir No ...
  • 93
0 votes
0 answers
15 views

Need help taking File-Ownership via cmd/bat [duplicate]

Taking File-Ownership in windows is a bit of a pain. I want to give my user and my admin account full administrative permissions of 3 directorys. C:\Windows C:\Program Files C:\Program Files (x86) ...
1 vote
0 answers
269 views

Wrong User OWNER on folder or file: docker run -v <host_path_dir_file>:<docker_some_path_dir_file>/ -- Not working for user defined in Dockerfile

Host OS: Red Hat Enterprise Linux Server release 7.9 (Maipo) Guest OS i.e. a Docker container running: OpenSuse 15.2 Docker Version (on Host): Docker version 19.03.5, build 633a0ea On host, when I git ...
  • 121
1 vote
0 answers
414 views

NTFS permissions set to inherit, but don't apply to new files

I'm running into a really frustrating issue with inheritance for NTFS permissions not working correctly. I use cloud storage (specifically OneDrive) for storage of certain files; in this case, I have ...
  • 2,326
-1 votes
1 answer
597 views

Take ownership greyed out

I am the system administrator. I took ownership of those directories: C:\Windows C:\Program Files C:\Program Files (x86) I gave myself full permissions without any problems. Recently i noticed an .exe ...
2 votes
1 answer
4k views

gpg: WARNING: unsafe ownership on homedir /home/USER/.gnupg

I get a warning about unsafe ownership of ~/.gnupg: curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo gpg --dearmor -o /usr/share/keyrings/githubcli-archive-keyring.gpg ...
0 votes
1 answer
1k views

External Hard Drive Ownership

When i copy a file over to my external hard drive, everything works fine, until i plug it into another computer. All the sudden the files i copied require admin rights to be read or writen to, on all ...
0 votes
1 answer
35 views

How would I go about copying owner protected files?

Currently I'm attempting to copy a file from the WindowsApps directory. Of course, I run into the issue with permissions, so I'm attempting to set permissions. While I can take ownership of the folder ...
0 votes
0 answers
24 views

Give access to laptop's internal HDD to other Windows users

I replaced my laptops HDD with SSD, I have tons of data on that HDD and I use that drive as external backup, I tried to access it from Windows 7 PC and I had no problems, here is picture how ...
0 votes
0 answers
47 views

Windows 10 privilege/user rights/ownership issues

I was trying to get access to %ProgramFiles%\WindowsApps, but the OS won't let me, and while I don't remember why I needed access to it, it had something to do with an ESP8266 microcontroller board I ...
0 votes
1 answer
1k views

Windows Server 2019 - Cannot take ownership of file

I know that this question has been asked before, but all threads are very old and none of the answers has fixed my problem. I was working on a Power BI report and all of a sudden found that my report ...
0 votes
3 answers
171 views

How do I add an account with permissions to the entirety of the subdirectory structure and all files contained therein?

Bricked my system. Recovered it. Trying to move the windows.old folder (move, not delete) from the system drive so I can pick it apart later. Permissions problems. Because of course. Added the new ...
  • 189
0 votes
0 answers
590 views

Samba shares are accessible only for a specific user set by chown

I've stumbled upon a peculiar issue regarding samba share. It only works when ownership is given to the samba user (shared) by running chown -R shared:sambasecure /mnt/Backup. I'm running CentOS 8, ...
  • 1
2 votes
1 answer
3k views

How to see file permissions and ownership in git bash (Windows 10)?

When I do ls -l, all files appear to have the same user, and all appear to have same permissions: regular files have -rw-r--r-- executables have -rwxr-xr-x directories have drwxr-xr-x Regardless of ...
  • 121
0 votes
1 answer
295 views

FTP access to a file accessible only by root

When I try to do the following: ln -s /var/log/exim_rejectlog /home/user/logs/exim_rejectlog It creates the symlink and FTP access to the logs directory can see it, but because files in /var/log/* are ...
  • 143
0 votes
0 answers
206 views

Windows 10 automatically changing ownership of external drive

An external disk used at work and at home is presenting a weird behavior. When plugged in on office computer, the user on that computer takes ownership of that disk and when is plugged at home, it can ...
1 vote
0 answers
31 views

/usr and /etc changed ownership to user "5640" and group "13023". What happened?

after just installing samba on my Ubuntu server, I got warnings (from the samba installer) about strange ownership and permissions set for my /etc and /usr folders. I checked and indeed /etc and /usr ...
  • 45
0 votes
0 answers
38 views

grant ownership to everybody / remove ownership completely

I had a dual boot system with Win10 and Mint 19.3 for some time and I am now in the process of adding a hackintosh to the mix. I have a NTFS partition to which all three should have access. Between ...
0 votes
1 answer
2k views

Cannot change ownership of drive because it is read-only (Windows 10)

My secondary drive suddently became read-only. When I try to remove the read-only (right-click -> Properties -> Untick "Read-only" -> "Apply changes to this folder, subfolders and files), it switches ...
0 votes
0 answers
293 views

"The parameter is incorrect.r" when running takeown to take ownership of my data drive after re-installing Windows

When executing the following command: takeown /F D:\ /A /R /D Y I get the following error: The parameter is incorrect.r): "D:\$Recycle.Bin\S-1-5-21-1597830813-2420638671-2875775154-1001\. This ...
0 votes
1 answer
6k views

How To Restore Default Ownership of System32 Subfolders and Files?

I'm fixing a friend's computer (well, trying to) and found that he had taken ownership of the System32 folder... Is there a simple way to revert ownership of all its subfolders and files back to the ...
0 votes
1 answer
208 views

Containerd default ownership

After installation of dperson/samba Docker container, I set up a share for the /opt folder to modify some configurations of other container directly via smb protocol (bad idea!). I made the mistake ...
  • 18
0 votes
1 answer
3k views

Delete (remove) Clover created EFI folder in macOS Catalina

I have a couple of folders that were created by Clover when I accidentally selected my OS hard drive instead of the EFI partition when installing an update. Now the root of my main hard drive has EFI ...
  • 185
1 vote
1 answer
232 views

Taking ownership from Root

With a fresh installation and beiing new to the Linux world ,I created a new partition ext4 with gparted to put the Timeshift files , How can i take the ownership back from root under Linux MInt 19.3 ?...
user avatar
1 vote
2 answers
40 views

DIfferent behaviours of rsync

According to what I have understood, rsync without the -o and -g options is meant to copy without changing the owner and group of the destination. However, I found out a very strange behaviour of ...
  • 115
0 votes
1 answer
75 views

How to change the ownership of the installed program to my account?

For some reason I need to change ownership from EVERYONE to just my account. Is it possible or do I need to reinstall the program? System: Windows 10
  • 113
0 votes
1 answer
53 views

How to make every file available for every one on every computer on an EXT4 usb stick?

I need to have an USB stick with a git repository on it because i may want to change things in the repo on several computers (centos and redhat) The repository uses symbolic links so this stick ...
1 vote
0 answers
3k views

Fastest way to take ownership of a huge amount of files in Windows 10

I've taken 8 TB of drives from my old PC and attached them to my new one, and I no longer have permissions to read/write to many if not all of the folders on most drives. The issue is, I have a huge ...
  • 133
1 vote
0 answers
800 views

Windows 10: A file and folder ownership mess and how to fix it

In Windows 10 Pro 64 v 1903 I had a problem changing access permissions for a new user, and a comment on my question about that told me to check the ownership of the folders appearing in the error ...
  • 517
0 votes
3 answers
1k views

It is possibile to write/overwrite files/folder as root without changing permissions of that files/folder?

Let's assume I have created a system user account in order to run services without being root. These services access some folders with many files inside, and the system account owns this folder/files. ...
2 votes
0 answers
2k views

Fixing unknown permission in Windows Subsystem Linux (WSL)

I caught permissions problem on my web application file inside Windows Subsystem Linux (WSL) My System are : Linux Ubuntu 18.04 on Windows 10 64bit I run my web server in ubuntu, when I print list ...
6 votes
2 answers
17k views

Windows 10: Why Does CBS.log Say Directory Is Owned Twice or Has Its Security Set Twice?

On my system, C:\Windows\Logs\CBS\CBS.log contains these lines: 2019-10-08 02:00:48, Info CSI 0000008e Warning: Overlap: Directory \??\C:\WINDOWS\System32\drivers\en-US\ is owned ...
0 votes
0 answers
43 views

Bulk change of ACL folder owner

We have several thousand folders and sub-folders in quite a complex folder structure which we are backing up. Several hundred of these sub-folders have been flagged during the backup process as ...
  • 378
3 votes
0 answers
64 views

takeown.exe: Succeeds in PHP sript, fails in cmd

I created a cron job on my computer which runs a batch file as LowCronUser. Next, the batch runs a PHP script with the sole purpose of taking the ownership of a few files. LowCronUser has basic rights,...
14 votes
1 answer
19k views

How to get around this error when unTarring an archive “tar: Cannot change ownership to uid 1000, gid 1000: Operation not permitted”

When attempting to untar a file in a docker container with: tar -zvxf training.tar.gz -C data/multi30k I received the following error (train.de is a file within the .tar file): tar: train.de Cannot ...
6 votes
1 answer
12k views

Understanding how to use Icals & Takeown to make changes and reset in Windows 10

Take ownership of a windows folder and its contents Make Changes Return ownership to original Understand the process Use Icacls and takedown in a windows 10 environment Before using ...
user avatar
0 votes
0 answers
50 views

What if to-be-created Office owner files already exist by name

As we know, MS Office applications like Excel and Word create Owner-files that start with ~$[...].extension For example: A Word-Document called "MyWordFile.docx" would get an owner file called "~$...
0 votes
1 answer
561 views

ICACLS Setowner to folders only

I need to give user_foo full control in all files and subdirectories in a \directory. user_foo is the owner of the /directory. user_foo has own some subdirectories but not all subdirectories. icacls ...
  • 1
0 votes
1 answer
754 views

import zpool overwriting ownership/permissions (cf. -o uid=,gid=,umask= mount options)

I have a zpool from a system with different users than the machine I am working on that I want to copy data from. Therefore, I need to import and mount the zpool with read permissions. However, since ...
  • 393
0 votes
2 answers
304 views

Find all files & directories with group different than owner

I want to find all the files and directories that have a group different from the owner. So if these were the two files in the directory, I'd want to just find the first one: $> ls -l -rw-rw-r--...
0 votes
0 answers
234 views

How to clone a virtual Windows disk to a physical disk on VMware - I changed ownership of my host's Windows disk by accident

I did not pay attention, to the following VMware warning, when mounting the drive as writable. Here's what I was trying to do: I was planning to mount a 16 GB VMDK file with Windows installed on it ...
  • 1,316
0 votes
1 answer
36 views

How to setup an external hard drive with bitlocker enabled to be easily accessible?

I have an external hard drive with bitlocker enabled. I also have 3 computers with Windows 10 (that supports bitlocker). I often work from one computer to the other ones. When I work on one of them, ...
0 votes
0 answers
52 views

Why would WinExplorer show inaccurate directory size and # of files?

I'm running Win 10 and recovering from a system crash. I'm copying music directories from my backup external drive. But when I try to confirm that everything has been done correctly, I see ...
  • 284
2 votes
2 answers
541 views

WinSCP keeps changing file owner

For some reason when I save files in WinSCP, it reverts the owner/group back to root. Is there a reason why this is happening? It only started happening recently. I am not sure if this is a WinSCP ...
  • 223
5 votes
2 answers
12k views

Permissions to create files and folders but only modify owned files

I want to set permissions on a folder in which every local user should be able to: Create new files or folders But only a file's owner should be able to modify it or delete it Since we need the ...
  • 53