LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-23-2017, 09:41 AM   #16
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258

Original Poster
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542

Quote:
Originally Posted by nodir View Post
Aha. On Slackware it didn't work as user too. I added the user to the plugdev group:
Code:
usermod -a -G plugdev user
logged out and back in, and now can pmount and pumount the usb-stick.
(if all distros use that group is beyond me).
That don't work for me as plugdev is (I think) for HAL
 
Old 02-24-2017, 10:36 AM   #17
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258

Original Poster
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Ok does anyone know how to edit /etc/fstab to where I can mount /dev/sdc1 to /home/user/usb1 with permission that the regular user can mount/unmount with read and write?
 
Old 02-24-2017, 10:53 AM   #18
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,837

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
probably you need to start here: http://www.linuxquestions.org/questi...9/#post5674852
 
Old 02-24-2017, 11:55 AM   #19
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258

Original Poster
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Quote:
Originally Posted by pan64 View Post
Well that link points to the beginning of this thread? is it supposed too?
 
Old 02-24-2017, 12:16 PM   #20
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,837

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
that is not the beginning of the thread, but was a request to check your group membership
 
Old 02-24-2017, 12:23 PM   #21
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258

Original Poster
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
If I run id I get
uid=1000(username) gid=100(users) groups=100(users)
 
Old 02-24-2017, 12:56 PM   #22
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258

Original Poster
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Well finally it is solved. Thanks everyone for your input. I had to add this line to fstab:

/dev/sdc1 /home/user/usb1 auto users,uid=1000,gid=100,re,dmask=027,fmask=137 0 0


Also if anyone is looking for more information https://help.ubuntu.com/community/Fstab
 
Old 02-24-2017, 01:19 PM   #23
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,837

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
Quote:
Originally Posted by Mill J View Post
If I run id I get
uid=1000(username) gid=100(users) groups=100(users)
this definitely means you are not member of plugdev and/or cdrom which was required.
setting mount in fstab is probably not the best way, but if it works as you wish you can close the thread now (is done already).
 
  


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
account with root permissions NonSumPisces Linux - Newbie 33 08-02-2013 05:18 PM
[SOLVED] Copying files in an admin account from an account with insufficient permissions? nobuntu Linux - General 14 07-14-2012 02:14 AM
Need to make local user account with administrative rights wilmapayne Other *NIX 2 04-22-2009 08:24 AM
Cannot log into administrative account AndromedaStrain Ubuntu 17 08-11-2008 12:40 PM
No installation permissions on my account Kiiro Ubuntu 6 03-07-2008 11:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:47 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