LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices



Reply
 
Search this Thread
Old 07-12-2008, 08:21 PM   #1
akirashinigami
LQ Newbie
 
Registered: Apr 2008
Distribution: Debian 4.0
Posts: 9

Rep: Reputation: 0
pmount problem: no write permissions for non root users


I want to be able to mount my SD card as a normal user, so I installed pmount. I can run
Code:
pmount /dev/sdb1
as a normal user, and it will mount the card, but only root has write access to it. Is there something I can do to give non root users write access to devices mounted with pmount?
 
Old 07-13-2008, 01:03 PM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,758

Rep: Reputation: Disabled
first

#man pmount

<Read>

# pmount -w /dev/sdb1
 
Old 07-13-2008, 01:44 PM   #3
akirashinigami
LQ Newbie
 
Registered: Apr 2008
Distribution: Debian 4.0
Posts: 9

Original Poster
Rep: Reputation: 0
I tried using pmount -w, but it didn't do anything differently.

It mounts the card at /media/sdb1. I tried changing the permissions on the directory to make it world writable, but its permissions change as soon as I mount the card.
 
Old 07-13-2008, 06:46 PM   #4
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,758

Rep: Reputation: Disabled
Did you do this?

#su
#adduser <username> plugdev

If that is the case, then file a bug report.

Last edited by amani; 07-13-2008 at 06:48 PM.
 
Old 07-13-2008, 07:24 PM   #5
akirashinigami
LQ Newbie
 
Registered: Apr 2008
Distribution: Debian 4.0
Posts: 9

Original Poster
Rep: Reputation: 0
I ran #adduser <username> plugdev in the first place, because that's what the man page said to do, but it said I was already in the plugdev group.

But it seems to be okay now. I tried changing the permissions on /media/sdb1 while the card was mounted, and then they remained after I unmounted it then mounted it again. I don't understand what the problem was, but that seems to have fixed it.
 
  


Reply

Tags
pmount


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
setting samba read/write permissions for seperate users phildacey Linux - Networking 3 11-07-2006 05:09 AM
smbmount write permissions - root zzyzx Linux - Networking 9 02-09-2005 11:25 PM
give users permissions to write dragosp Linux - Security 2 09-12-2004 07:53 AM
cannot edit file as root with write permissions set? Mishley Red Hat 4 08-05-2004 01:23 PM
How to set permissions to read, execute, write for users only chupacabra Linux - General 3 12-18-2002 04:54 PM


All times are GMT -5. The time now is 11:38 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration