FG
💻 Software

How can two users be the owners of a file?

Fresh7 days ago
Mar 15, 202632680 views
Confidence Score0%
0%

Problem

As per the title, I have to create a file, for example: I created a user and a group, and , and set them to be the owner and group of this : I have another user named . This user must be able to read this file. How can I change the permissions to allow this? Important: I want to allow only the "mym…

Error Output

/home/john/file.ini

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can two users be the owners of a file?

Low Risk

In the traditional Unix file permission system that's not possible: a file has only a single owner. You could create a group containing just the two users that should have access and make that the owning group of the file (and give the desired permi…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment