Questions tagged [ownership]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
403 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 ...
-3
votes
2answers
50 views

Taking ownership a folder in Windows 10 [closed]

I want to take ownership of C:\Windows\ folder, but I wonder is it legal or not? Because I want to explore, write, delete files on my virtual machine. And if I took the ownership, will it still work ...
0
votes
1answer
129 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
1answer
23 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
0answers
20 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
0answers
37 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
0answers
28 views

Error executing "takeown" command from "runas" in batch file

I wrote a little program to automate: Taking own of a file/folder for a specified User. Get (for the same User) FULL CONTROL of the file/folder. Now, it is well know that takeown.exe wants cmd.exe ...
0
votes
1answer
181 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
3answers
35 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 ...
0
votes
0answers
63 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
vote
1answer
462 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 ...
0
votes
1answer
43 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 ...
0
votes
0answers
49 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
0answers
27 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 ...
0
votes
0answers
31 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
1answer
622 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
0answers
187 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
1answer
3k 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
1answer
143 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 ...
0
votes
1answer
2k 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 ...
1
vote
1answer
117 views

SOLVED 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 ?...
1
vote
2answers
34 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 ...
0
votes
1answer
44 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
0
votes
1answer
50 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 ...
0
votes
0answers
2k 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 ...
0
votes
0answers
657 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 ...
0
votes
3answers
606 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
0answers
1k 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
2answers
8k 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
0answers
38 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 ...
3
votes
0answers
44 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,...
9
votes
1answer
10k 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 ...
5
votes
1answer
8k 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 ...
0
votes
0answers
42 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
1answer
443 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 ...
0
votes
1answer
590 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 ...
0
votes
2answers
90 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
0answers
162 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 ...
0
votes
1answer
31 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
0answers
48 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 ...
2
votes
2answers
433 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 ...
5
votes
2answers
11k 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 ...
0
votes
1answer
1k views

Unable to set new owner of system in Registry

I am trying to set myself as the owner of the systems file in the Windows 10 Registry to enable Task Manager. I am not the admin so when I click Apply I am given the message: Unable to set new ...
0
votes
0answers
210 views

Apache server shows 404 with existing files — possible user/group/ownership issue?

So, the instructions for creating a Drupal site with Composer state to never run Composer as root. So I created a new user "xylot" in the group of the same name (xylot:xylot), and created the site ...
1
vote
2answers
467 views

Accidentally changed sys files ownership - Centos 7

I accidentally changed the ownership of several files including system files in our Centos 7 server due to a syntax error. I was trying to change it for a particular folder, but missed the . and ended ...
2
votes
2answers
11k views

How to repair /etc/sudoers on OSX High Sierra

How I got here I installed an SSD drive after backing up my data. I installed OSX Maverick (because my laptop is circa 2014), and then I started copying over my data from user-2 to user-1 (because my ...
2
votes
0answers
2k views

Restore databases in SQL Server without creating orphaned users

I have seen this in just about every version of SQL Server and blog posts about it seem to treat it as something that occurs sporadically, but since I always seem to encounter this problem, up and ...
0
votes
1answer
3k views

Taking ownership over processes

Whatever I write on google I get only results on how to change ownership over files and folders. I KNOW IT! I need to change the ownership over a PROCESS. Okay, enough shouting. I tried it using ...
-2
votes
2answers
90 views

How can I prevent another computer from changing the ownership of a folder?

I don't see the point in denying full control permissions to a folder if anyone can go in and make themselves the owner of the folder and allow themselves full control. I tested this by denying full ...
0
votes
2answers
3k views

Ownership remains unchanged after `sudo chown` in ubuntu

sudo chown reports that it has changed ownership but stat shows that they remain unchanged. I have absolutely no clue as to what might be causing this behavior. Commands and their output are listed ...