LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-26-2018, 01:59 PM   #16
MrGrimm
LQ Newbie
 
Registered: Nov 2018
Location: Portland Oregon Canada
Distribution: Mint Cinnamon 19
Posts: 27

Original Poster
Rep: Reputation: 0

Quote:
Originally Posted by BW-userx View Post
ls -l on your partition, you'll see who owns it. if you're looking at root, then you need to change it to you or whatever user you want , and whatever group you want to own the partition. thus
Code:
sudo chown user:group /path to USB drive/ -R
-R is for recursive to change everything on the partition ownership
so:

sudo chown mc2635599:?????? /dev/sdc9/ -R

if so how do i find the group?
 
Old 11-26-2018, 02:04 PM   #17
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
In many distros a group is automatically created with the same name as the user.
Certainly Ubuntu, Mint, Debian - and many others.
 
1 members found this post helpful.
Old 11-26-2018, 02:08 PM   #18
MrGrimm
LQ Newbie
 
Registered: Nov 2018
Location: Portland Oregon Canada
Distribution: Mint Cinnamon 19
Posts: 27

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by JeremyBoden View Post
In many distros a group is automatically created with the same name as the user.
Certainly Ubuntu, Mint, Debian - and many others.
oh o.k. then:

sudo chown mc2635599:mc2635599 /dev/sdc9/ -R
 
Old 11-26-2018, 02:53 PM   #19
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by MrGrimm View Post
what i want to know will i still have to change their mount points for plex, or if once they are ext4 plex will no longer have a issue seeing the data on them without changing the mount points to my user folder? thanks
You will have to "re-point" the Plex Library
Settings > Manage Libraries. Edit appropriate folder
Keyword is "Browse for Media Folder"
Point to resource you have rights to.

Lots of Documentation
NTFS to ext4 is do-able.

Last edited by Habitual; 11-26-2018 at 02:56 PM.
 
1 members found this post helpful.
Old 11-26-2018, 03:17 PM   #20
MrGrimm
LQ Newbie
 
Registered: Nov 2018
Location: Portland Oregon Canada
Distribution: Mint Cinnamon 19
Posts: 27

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Habitual View Post
You will have to "re-point" the Plex Library
Settings > Manage Libraries. Edit appropriate folder
Keyword is "Browse for Media Folder"
Point to resource you have rights to.

Lots of Documentation
NTFS to ext4 is do-able.
thanks for the info

Last edited by MrGrimm; 11-26-2018 at 03:19 PM.
 
Old 11-26-2018, 03:53 PM   #21
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by MrGrimm View Post
oh o.k. then:

sudo chown mc2635599:mc2635599 /dev/sdc9/ -R
it should basically be you if you are the only one going to be operating this. your user name and your primary group.
Code:
id
to find out what that is. uid:gid in printable names

Code:
lsblk
to find the partition. you have to use mount point. so if your file manager mounts it, use what it is showing for the path to that partiton in your argument.
Code:
sudo chown usersName:GroupName /path to partition mount point -R

Last edited by BW-userx; 11-26-2018 at 04:03 PM.
 
Old 11-26-2018, 04:14 PM   #22
MrGrimm
LQ Newbie
 
Registered: Nov 2018
Location: Portland Oregon Canada
Distribution: Mint Cinnamon 19
Posts: 27

Original Poster
Rep: Reputation: 0
o.k. this is what i have from those commands:

Code:
mc2635599@LOTN:~$ id
uid=1000(mc2635599) gid=1000(mc2635599) groups=1000(mc2635599),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),115(lpadmin),127(sambashare)



mc2635599@LOTN:~$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 111.8G  0 disk 
├─sda1   8:1    0   512M  0 part /boot/efi
└─sda2   8:2    0 111.3G  0 part /
sdb      8:16   0 465.8G  0 disk 
└─sdb5   8:21   0 465.8G  0 part /media/mc2635599/TV Series
sdc      8:32   0   1.4T  0 disk 
└─sdc1   8:33   0   1.4T  0 part /media/mc2635599/TV Series1
sdd      8:48   0 931.5G  0 disk 
└─sdd1   8:49   0 931.5G  0 part /home/mc2635599/Movies
sde      8:64   0   1.8T  0 disk 
├─sde1   8:65   0   936G  0 part /home/mc2635599/TV Series
├─sde2   8:66   0  35.6G  0 part /media/mc2635599/2635599's Docs
├─sde3   8:67   0  60.2G  0 part /media/mc2635599/Downloads - Torrents
├─sde4   8:68   0 311.7G  0 part /media/mc2635599/XXX
├─sde5   8:69   0    10G  0 part /home/mc2635599/TV Specials
├─sde6   8:70   0  40.8G  0 part /home/mc2635599/Music Videos
├─sde7   8:71   0 331.4G  0 part /home/mc2635599/Movie Series
├─sde8   8:72   0  97.1G  0 part /home/mc2635599/AAC's
└─sde9   8:73   0  40.2G  0 part /media/mc2635599/TV Specials 2
it's the very bottom partition i'm doing.
 
Old 11-26-2018, 04:37 PM   #23
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by MrGrimm View Post
o.k. this is what i have from those commands:

Code:
mc2635599@LOTN:~$ id
uid=1000(mc2635599) gid=1000(mc2635599) groups=1000(mc2635599),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),115(lpadmin),127(sambashare)

mc2635599@LOTN:~$ lsblk
....
└─sde9   8:73   0  40.2G  0 part /media/mc2635599/TV Specials 2
it's the very bottom partition i'm doing.
Code:
sudo chown mc2635599:mc2635599 "/media/mc2635599/TV Specials 2" -R
I'd change that directory name to a no spaces in directory name name.
Code:
mv -v "/media/mc2635599/TV Specials 2" "/media/mc2635599/TV-Specials-2"
you'll have to tell every one that uses it the new name if you do that. Hopefully that plex(y) thing will accept that, if not just reverse the process.

that way you can access without the quotes.

then I'd think you will have to add yourself to that group mc2635599. being that is standard procedure to access something you do not own.
Code:
sudo moduser -aG mc2635599 userName
but check your how to set that up page.

Last edited by BW-userx; 11-26-2018 at 04:44 PM.
 
1 members found this post helpful.
Old 11-26-2018, 06:59 PM   #24
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
I find it useful to create some short symbolic links to access those mount points.
You can add or delete them as the occasion demands...
 
1 members found this post helpful.
Old 11-26-2018, 07:04 PM   #25
MrGrimm
LQ Newbie
 
Registered: Nov 2018
Location: Portland Oregon Canada
Distribution: Mint Cinnamon 19
Posts: 27

Original Poster
Rep: Reputation: 0
BW-userx worked like a charm. thank you ever so much. one final question. now would i assume correctly that if i rerun mint as long as i use the same username i should have no problems with the drives and partitions i fix this way. thanks again.
 
Old 11-26-2018, 07:16 PM   #26
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Since you have
Code:
uid=1000(mc2635599) gid=1000(mc2635599)
which corresponds to the first user that Mint prompts you to create, you should be fine.

You will also be an admin user & can use sudo.
 
1 members found this post helpful.
Old 11-26-2018, 09:28 PM   #27
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
like @JeremyBoden said. if mc2635599 is your login user, then everything should be copacetic. Depending how how that mounts, and the permissions you put on a group you can also share that with other users that are in that group.
 
1 members found this post helpful.
Old 11-27-2018, 08:35 AM   #28
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
copacetic - searched and found it at https://www.merriam-webster.com/dictionary/copacetic
 
Old 11-27-2018, 11:46 AM   #29
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by JeremyBoden View Post
copacetic - searched and found it at https://www.merriam-webster.com/dictionary/copacetic
sorry for big words

now you can use that on other people.

so is everything copacetic with you, or what?
everything is copacetic over here, what about you?
so is that copacetic with you?
and many others...

Last edited by BW-userx; 11-27-2018 at 11:47 AM.
 
2 members found this post helpful.
Old 11-28-2018, 05:55 AM   #30
MrGrimm
LQ Newbie
 
Registered: Nov 2018
Location: Portland Oregon Canada
Distribution: Mint Cinnamon 19
Posts: 27

Original Poster
Rep: Reputation: 0
GAWD i haven't heard or seen "copacetic" used in years. thank you both again for the help and input, just about done with all my conversions and transfers.

Last edited by MrGrimm; 11-28-2018 at 06:30 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change file system from ext4 journeying to ext4 writeback ? 5883 Linux - Newbie 6 03-10-2014 08:04 AM
modprobe: Module ext4 not found. no dependencies for kernel module 'ext4' found Aquarius_Girl Linux - Newbie 6 01-25-2012 05:07 AM
Is it safe to format USB flash to ext4 or ext4? joham34 Linux - Newbie 2 01-08-2011 11:58 AM
Remounting USB Flash Drives in KDE Woodsman Slackware 22 10-09-2008 06:42 PM
Remounting NTFS drives NDR008 Linux - Hardware 7 11-17-2006 06:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration