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 07-06-2020, 12:24 AM   #1
varaonaid
Member
 
Registered: Mar 2007
Posts: 50

Rep: Reputation: 2
Question Dealing with External HDDS/Permissions


Hi,

I have a few external hard disk drives that I need to auto mount each time the system starts. I’m using latest OpenSUSE Tumbleweed/KDE. I went to system settings and chose enable automatic mounting of removable media.

However, I cannot figure out where to deal with drive access permissions. I prefer using a GUI when possible to command line but so far, it’s not working. I’ve gone to the permissions of the drive in Dolphin and in Root file manager and each time, it allows me to add the user or group (under Advanced Permissions) I have it add to add sub folders, and click OK and each time, it doesn’t save the data. Whether I’m doing it in the root file manager or standard Dolphin or Krusader under root permissions. Also, some of the drives come up under my username and one of the drives comes up under root. I can’t add users/groups to either of these and make it stick.

What other options are there? I’m coming from Mint/Cinnamon and I used the GUI in the setup on that distro/WM. But I don’t want to be there now, I want to use oST and I could really use some help figuring this out. Is there another program/app/software I need to download to accomplish this?

I’d like to accomplish three things:
Have all my drives mount in the same place under the same owner
Have all drives automatically mount each time (it would be nice if it would mount in a sane order like alphabetically or if I can change that order, I could do that myself)
Change the permissions for all my drives that that my media server can actually “see” the media

Do I need to manually edit FSTAB? oST is mounting at /run/username/media/drive. Is there a program like Disks on Cinnamon/Gnome that will work on KDE at least for some of the mounting setup?

Thanks so much in advance! Looking forward to learning more and better understanding how to use oST. I’m not to new Linux but new to oST and haven’t use KDE for awhile. If this should be posted elsewhere, please let me know and I’ll move it over.
 
Old 07-06-2020, 12:45 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,350

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
I use the user option in /etc/fstab, and hand mount my solitary external drive as a user on /mnt/hd.
/mnt/ is root only
/mnt/hd is root only
As root:root I have changed the permissions of all subdirs on /mnt/hd (except lost+found) to user:group so user:group can write to all subdirs, but not the disk itself
I found the automount thing messed all that up. I advise leaving it out.
 
Old 07-06-2020, 01:21 PM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Umm. I know you know a lot more about linux than I do. But. On my system (tumbleweed) it all works like the OP wants it to. In particular when I plug in my backup USB-drives. So it is possible. I just don't know how to tweak it.
 
Old 07-06-2020, 04:02 PM   #4
quickbreakfast
Member
 
Registered: Oct 2015
Location: northern territory
Distribution: slackware 15
Posts: 336

Rep: Reputation: Disabled
Quote:
Originally Posted by varaonaid View Post
Hi,

it would be nice if it would mount in a sane order like alphabetically or if I can change that order, I could do that myself
If you change the label of your drives they should appear in an order. ie. call one apple, the next bat, the third cat, etc, etc.
 
Old 07-06-2020, 04:07 PM   #5
varaonaid
Member
 
Registered: Mar 2007
Posts: 50

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by quickbreakfast View Post
If you change the label of your drives they should appear in an order. ie. call one apple, the next bat, the third cat, etc, etc.
Well, I actually did that already for that very reason and it doesn’t mount that way. Using your example it’s all random like cat, apple, bat, dog. No rhyme or reason. That’s what so frustrating. I wanted it in some sort of easy to sort out order.
 
Old 07-07-2020, 03:40 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,350

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
Read up on mount and fstab.conf. They have good man pages. Also, find the permissions of everything relevant & post them.
 
  


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
[SOLVED] What permissions take precedence when dealing with softlinks? JockVSJock Linux - Security 2 04-13-2016 03:51 PM
LXer: Dealing With "Permissions on the password database may be too restrictive" Erro LXer Syndicated Linux News 0 06-11-2009 07:41 PM
Accessing other HDDs/Booting from other HDDs Namatacka Ubuntu 2 05-07-2006 11:21 AM
All sorts of problems.... dealing with permissions secondvijai007 Linux - Software 6 04-06-2006 11:29 PM
permissions and external hdds DJOtaku Linux - Hardware 1 02-04-2005 05:28 PM

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

All times are GMT -5. The time now is 10:59 AM.

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