[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: File ownership problem using removeable media



On Tue, Dec 25, 2018 at 10:06:04AM -0600, Richard Owlett wrote:
> On 12/24/2018 05:50 AM, Richard Owlett wrote:
> >...
> >
> >The discussion so far has caused me to wonder if I have been
> >conflating symptoms. I think I've an idea of how to test for that
> >-- more later.
> 
> Preliminary tests indicate that is likely.
> I will have to get some new flash drives to track my tests.
> Linux intrinsically assumes one machine has multiple users.

...and it is right in its assumption.

> In *MY* case, one user has multiple machines.

...and you're right in your assumption.

You won't make any progress unless you try to reconcile both.
It's *your* responsibility, since you are the sapient entity :)

> I also have multiple instances of Debian installed on a physical
> machine. I routinely want something from another partition - Debian
> requires root access for that.

You should be more precise: root access for what? There are several
distinct "stages" in that access. Mounting? Read access?

Mount is most definitely a root operation, and there are very strong
reasons for that (but things can be delegated). After mount, things
get very dependent on things (e.g. which file system, etc.)

> I'm wondering if some of my
> chaos/confusion stems from copying data from that partition to a
> flash drive.

If you did the copy as root, didn't specify to keep file owner and
group (as in cp -p or cp -a) then yes, the owner/group of your copies
ends up as root.

Cheers
-- t

Attachment: signature.asc
Description: Digital signature


Reply to: