Re: File ownership problem using removeable media

2018-12-28 Thread tomas
On Fri, Dec 28, 2018 at 09:05:54AM -0600, Richard Owlett wrote: [...] > It demonstrates the problem of Linux's jargon[1]. Linux's jargon has no problems ;-) > That file has 32 entries. Only 2 are relate to my problem ["richard" > & "root"]. How would you know? Perhaps the other 30 users are bu

Re: File ownership problem using removeable media

2018-12-28 Thread Richard Owlett
On 12/27/2018 07:34 AM, to...@tuxteam.de wrote: On Thu, Dec 27, 2018 at 06:48:51AM -0600, Richard Owlett wrote: On 12/25/2018 11:22 AM, to...@tuxteam.de wrote: On Tue, Dec 25, 2018 at 10:06:04AM -0600, Richard Owlett wrote: [...] Linux intrinsically assumes one machine has multiple users.

Re: File ownership problem using removeable media

2018-12-28 Thread Greg Wooledge
On Sat, Dec 29, 2018 at 12:13:23AM +1100, David wrote: > The command > awk -F: '{print $1}' /etc/passwd > will display all the known users on your machine. A better (more general) one would be: getent passwd | awk -F: '{print $1}' /etc/passwd will be complete for many systems, but not for all sy

Re: File ownership problem using removeable media

2018-12-28 Thread David
On Thu, 27 Dec 2018 at 23:49, Richard Owlett wrote: > > {I am the ONLY user on any of the machines.} Have you checked? The command awk -F: '{print $1}' /etc/passwd will display all the known users on your machine. The commands 'ps aux' or top or htop will show active users in the USER column.

Re: File ownership problem using removeable media

2018-12-27 Thread tomas
On Thu, Dec 27, 2018 at 06:48:51AM -0600, Richard Owlett wrote: > On 12/25/2018 11:22 AM, to...@tuxteam.de wrote: > >On Tue, Dec 25, 2018 at 10:06:04AM -0600, Richard Owlett wrote: [...] > >>Linux intrinsically assumes one machine has multiple users. > > > >...and it is right in its assumption. >

Re: File ownership problem using removeable media

2018-12-27 Thread Richard Owlett
On 12/25/2018 11:22 AM, to...@tuxteam.de wrote: 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 -- mo

Re: File ownership problem using removeable media

2018-12-25 Thread Felix Miata
Richard Owlett composed on 2018-12-23 06:51 (UTC-0600): ... Not a substitute for gaining and utilizing understanding of chown, chmod, chacl, sticky bits and the rest of file access and permissions, but a way to lessen the pain in the meantime: Put the files to be transferred into an archive (.zi

Re: File ownership problem using removeable media

2018-12-25 Thread Martin
Am 23.12.18 um 13:51 schrieb Richard Owlett: > I use USB drives to transfer files between systems (sneakernet). > All systems have only one user(richard). It was created during installation. > > The drives are either ext2 or ext4 formatted. > All files were in /user/richard on source machine Are

Re: File ownership problem using removeable media

2018-12-25 Thread David Christensen
On 12/25/18 8:06 AM, 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 t

Re: File ownership problem using removeable media

2018-12-25 Thread tomas
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 in

Re: File ownership problem using removeable media

2018-12-25 Thread Richard Owlett
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

Re: File ownership problem using removeable media

2018-12-24 Thread tomas
On Mon, Dec 24, 2018 at 05:50:15AM -0600, Richard Owlett wrote: > On 12/23/2018 03:25 PM, to...@tuxteam.de wrote: > >On Sun, Dec 23, 2018 at 05:46:17PM +, mick crane wrote: > >>On 2018-12-23 17:10, to...@tuxteam.de wrote: > > > >[...] > > > >>>And you do that after each and every mount? > >>> >

Re: File ownership problem using removeable media

2018-12-24 Thread Richard Owlett
On 12/23/2018 03:06 PM, David Christensen wrote: On 12/23/18 4:51 AM, Richard Owlett wrote: I use USB drives to transfer files between systems (sneakernet). All systems have only one user(richard). It was created during installation. The drives are either ext2 or ext4 formatted. All files wer

Re: File ownership problem using removeable media

2018-12-24 Thread Richard Owlett
On 12/23/2018 03:25 PM, to...@tuxteam.de wrote: On Sun, Dec 23, 2018 at 05:46:17PM +, mick crane wrote: On 2018-12-23 17:10, to...@tuxteam.de wrote: [...] And you do that after each and every mount? Cheers -- tomás well no, I didn't read properly and was trying to be helpful without un

Re: File ownership problem using removeable media

2018-12-23 Thread tomas
On Sun, Dec 23, 2018 at 05:46:17PM +, mick crane wrote: > On 2018-12-23 17:10, to...@tuxteam.de wrote: [...] > >And you do that after each and every mount? > > > >Cheers > >-- tomás > well no, I didn't read properly and was trying to be helpful without > understanding what the problem was I

Re: File ownership problem using removeable media

2018-12-23 Thread David Christensen
On 12/23/18 4:51 AM, Richard Owlett wrote: I use USB drives to transfer files between systems (sneakernet). All systems have only one user(richard). It was created during installation. The drives are either ext2 or ext4 formatted. All files were in /user/richard on source machine They _often_

Re: File ownership problem using removeable media

2018-12-23 Thread mick crane
On 2018-12-23 17:10, to...@tuxteam.de wrote: On Sun, Dec 23, 2018 at 04:41:24PM +, mick crane wrote: [...] >find /home/richard -type d -exec chmod 750 {} \; >find /home/richard -type f -exec chmod 640 {} \; >chown -R richard /home/richard*; >chgrp -R richard /home/richard*; [sigh] missed

Re: File ownership problem using removeable media

2018-12-23 Thread tomas
On Sun, Dec 23, 2018 at 04:41:24PM +, mick crane wrote: [...] > >find /home/richard -type d -exec chmod 750 {} \; > >find /home/richard -type f -exec chmod 640 {} \; > >chown -R richard /home/richard*; > >chgrp -R richard /home/richard*; > > [sigh] missed off the slashes > > >chown -R richa

Re: File ownership problem using removeable media

2018-12-23 Thread mick crane
On 2018-12-23 14:38, mick crane wrote: On 2018-12-23 12:51, Richard Owlett wrote: I use USB drives to transfer files between systems (sneakernet). All systems have only one user(richard). It was created during installation. The drives are either ext2 or ext4 formatted. All files were in /user

Re: File ownership problem using removeable media

2018-12-23 Thread mick crane
On 2018-12-23 12:51, Richard Owlett wrote: I use USB drives to transfer files between systems (sneakernet). All systems have only one user(richard). It was created during installation. The drives are either ext2 or ext4 formatted. All files were in /user/richard on source machine They _often_

Re: File ownership problem using removeable media

2018-12-23 Thread Pascal Hambourg
Le 23/12/2018 à 13:51, Richard Owlett a écrit : I use USB drives to transfer files between systems (sneakernet). All systems have only one user(richard). It was created during installation. The drives are either ext2 or ext4 formatted. All files were in /user/richard on source machine They _o

File ownership problem using removeable media

2018-12-23 Thread Richard Owlett
I use USB drives to transfer files between systems (sneakernet). All systems have only one user(richard). It was created during installation. The drives are either ext2 or ext4 formatted. All files were in /user/richard on source machine They _often_ [but not always] are seen as owned by 'root',