LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 Sweet 127.0.0.1
Distribution: Void, MX, Haiku, Icaros, Puppy and many others
Posts: 1,080

Original Poster
Blog Entries: 2

Rep: Reputation: 456Reputation: 456Reputation: 456Reputation: 456Reputation: 456

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 Sweet 127.0.0.1
Distribution: Void, MX, Haiku, Icaros, Puppy and many others
Posts: 1,080

Original Poster
Blog Entries: 2

Rep: Reputation: 456Reputation: 456Reputation: 456Reputation: 456Reputation: 456
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 Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 14,651

Rep: Reputation: 4763Reputation: 4763Reputation: 4763Reputation: 4763Reputation: 4763Reputation: 4763Reputation: 4763Reputation: 4763Reputation: 4763Reputation: 4763Reputation: 4763
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 Sweet 127.0.0.1
Distribution: Void, MX, Haiku, Icaros, Puppy and many others
Posts: 1,080

Original Poster
Blog Entries: 2

Rep: Reputation: 456Reputation: 456Reputation: 456Reputation: 456Reputation: 456
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 Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 14,651

Rep: Reputation: 4763Reputation: 4763Reputation: 4763Reputation: 4763Reputation: 4763Reputation: 4763Reputation: 4763Reputation: 4763Reputation: 4763Reputation: 4763Reputation: 4763
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 Sweet 127.0.0.1
Distribution: Void, MX, Haiku, Icaros, Puppy and many others
Posts: 1,080

Original Poster
Blog Entries: 2

Rep: Reputation: 456Reputation: 456Reputation: 456Reputation: 456Reputation: 456
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 Sweet 127.0.0.1
Distribution: Void, MX, Haiku, Icaros, Puppy and many others
Posts: 1,080

Original Poster
Blog Entries: 2

Rep: Reputation: 456Reputation: 456Reputation: 456Reputation: 456Reputation: 456
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 Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 14,651

Rep: Reputation: 4763Reputation: 4763Reputation: 4763Reputation: 4763Reputation: 4763Reputation: 4763Reputation: 4763Reputation: 4763Reputation: 4763Reputation: 4763Reputation: 4763
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration