What's my user group

I’m trying to mount a partition of my HDD according to “How to permanently mount external/internal drives in Linux” from the Discovery portion of the eos site. I’ve mounted it to mnt but need my user group as per ```
sudo chown -R : <your user group> /mnt/

Here's what I've tried so far ...

[jerry@jerry-inspiron3847 ~]$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda      8:0    0 931.5G  0 disk 
├─sda1   8:1    0   300M  0 part 
├─sda2   8:2    0 465.6G  0 part 
├─sda3   8:3    0  1000M  0 part /efi
└─sda4   8:4    0 464.6G  0 part /
sdb      8:16   0 931.5G  0 disk 
└─sdb1   8:17   0 931.5G  0 part 
sdc      8:32   1     0B  0 disk 
sr0     11:0    1  1024M  0 rom  
[jerry@jerry-inspiron3847 ~]$ whoami
jerry
[jerry@jerry-inspiron3847 ~]$ who
jerry    tty7         2023-01-21 16:43 (:0)
[jerry@jerry-inspiron3847 ~]$ sudo chown -R jerry: jerry /mnt/root
[sudo] password for jerry: 
chown: cannot access 'jerry': No such file or directory
[jerry@jerry-inspiron3847 ~]$ 

The partition I want to mount is sda2. Thanks for any answers.

You need to remove the space between : and jerry:
jerry:jerry

2 Likes

Thanks much, that seems to have worked. I’ll stumble on. :grinning:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.