Questions tagged [ownership]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers
43 views

What's the difference between takeown and Set-Acl for changing ownership?

Suppose I want to take ownership by setting the owner to Builtin\Administrators of some folders on a NAS. I can do this in two ways: Using CMD takeown /F "\\Server\Share\My Folder" /A Using ...
Tanaka Saito's user avatar
1 vote
0 answers
78 views

Why does Win10 version of rsync modify file owner/perms even if --perms option is set?

I use Grsync's bundled rsync.exe, and have a following simple .bat script in place to sync the folder to an E drive: rsync.exe -r --perms -og --verbose --progress "/cygdrive/C/Users/User1/Desktop/...
Noideas's user avatar
  • 33
0 votes
2 answers
245 views

Linux system not booting after chown of the root directory `/`

Recently I was unable to paste a video file from download to one of my directories. It was giving error related to permission so I changed the owner of / to myself with sudo chown -R pranav . Now it ...
prnv4907's user avatar
0 votes
0 answers
14 views

Takeown extremely slow on external HW RAID1 drive

I moved a cheap external two drive RAID1 USB3 enclosure from my old PC to my new one. The file ownership was all wrong so I have been trying to take ownership of all the files. I was trying do do it ...
RyanN's user avatar
  • 151
1 vote
1 answer
2k views

Recursively change ownership to another user in windows

In Windows (particularly, Windows server 2012) I have to change ownership of a folder with a bunch of subfolders and files. Here: recursively change owner windows 7 (and in other places) people ...
Dmitry Tsirkov's user avatar
0 votes
1 answer
53 views

Why have I stopped getting access to mail and calendar and some Microsoft application after I took ownership of WindowsApps folder?

After I took ownership of WindowsApps folder, I stopped getting access to mail and calendar applications and some other Microsoft application. Why is that? How can I undo what I just did?
Eyal Cohen's user avatar
0 votes
0 answers
2k views

How do I set the owner of a registry key using powershell?

I'm trying to modify the permissions of a registry key, however before I can do that I need to change the owner of that key. Is it possible to do that using a powershell script? I've seen that you can ...
cooktheprogrammer's user avatar
1 vote
0 answers
1k 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 ...
JoaoVR's user avatar
  • 11
1 vote
1 answer
258 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&...
mike rodent's user avatar
1 vote
1 answer
271 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/*&...
kralg's user avatar
  • 11
0 votes
2 answers
717 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 ...
Charlweed's user avatar
  • 255
1 vote
2 answers
3k 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.
Felix's user avatar
  • 539
1 vote
0 answers
118 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 ...
Michael's user avatar
  • 153
1 vote
0 answers
391 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 ...
AKS's user avatar
  • 121
1 vote
0 answers
1k 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 ...
InterLinked's user avatar
  • 2,436
-1 votes
1 answer
2k 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 ...
Surveillance.gov's user avatar
2 votes
1 answer
6k 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 ...
Estatistics's user avatar
0 votes
1 answer
3k 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 ...
FirePower's user avatar
0 votes
1 answer
73 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 ...
Lionmeow's user avatar
0 votes
0 answers
25 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 ...
Nika Maisuradze's user avatar
0 votes
0 answers
52 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 ...
Marinus's user avatar
1 vote
1 answer
3k 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 ...
Mohammad's user avatar
0 votes
3 answers
332 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 ...
Will's user avatar
  • 199
0 votes
0 answers
1k 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, ...
Roman's user avatar
  • 1
4 votes
2 answers
7k 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 ...
Marjeta's user avatar
  • 151
0 votes
1 answer
497 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 ...
Mike Weir's user avatar
  • 143
0 votes
0 answers
348 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 ...
IAmJulianAcosta's user avatar
1 vote
0 answers
34 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 ...
jov14's user avatar
  • 55
0 votes
0 answers
54 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 ...
BraveSentry's user avatar
0 votes
1 answer
4k 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 ...
cadorez's user avatar
0 votes
0 answers
420 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 ...
Narf the Mouse's user avatar
1 vote
1 answer
9k 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 ...
ReadyPlayerOne's user avatar
0 votes
1 answer
267 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 ...
MrTaik's user avatar
  • 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 ...
MilkyTech's user avatar
  • 205
1 vote
1 answer
422 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
50 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 ...
moth's user avatar
  • 115
0 votes
1 answer
126 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
Ap0st0l's user avatar
  • 135
0 votes
1 answer
69 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 ...
A. Ocannaille's user avatar
2 votes
0 answers
6k 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 ...
deeBo's user avatar
  • 143
1 vote
0 answers
1k 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 ...
NewSites's user avatar
  • 642
0 votes
3 answers
2k 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. ...
SUPERALEX's user avatar
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 ...
Ray Raksa's user avatar
9 votes
2 answers
27k 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 ...
Ray Woodcock's user avatar
0 votes
0 answers
60 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 ...
Rich M's user avatar
  • 378
3 votes
0 answers
78 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,...
sergiu reznicencu's user avatar
15 votes
1 answer
28k 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 ...
Jacob Stern's user avatar
6 votes
1 answer
17k 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
57 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 "~$...
Luchspeter's user avatar
0 votes
1 answer
783 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 ...
mert's user avatar
  • 1
0 votes
1 answer
965 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 ...
mschilli's user avatar
  • 393