LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   pmount problem: no write permissions for non root users (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/pmount-problem-no-write-permissions-for-non-root-users-655377/)

akirashinigami 07-12-2008 07:21 PM

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?

amani 07-13-2008 12:03 PM

first

#man pmount

<Read>

# pmount -w /dev/sdb1

akirashinigami 07-13-2008 12:44 PM

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.

amani 07-13-2008 05:46 PM

Did you do this?

#su
#adduser <username> plugdev

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

akirashinigami 07-13-2008 06:24 PM

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.


All times are GMT -5. The time now is 10:26 PM.