mounting usb pen drive as writeable for other users
How do I mount a usb pen drive so it's writeable by other users besides root. Kinda annoying if I have to keep using the terminal to cp files to pen drive.
|
add the keywords "users" and "rw" to the mount options in /etc/fstab
|
I did /dev/sdc1 /media/usb vfat rw,user 0 0
The mount point keeps changing to belong to root when it's mounted i still cant copy and paste to the mount point using the browser (program used to browse file systems) provided by gnome |
Have you tried this?
Code:
/dev/sdc1 /media/usb vfat iocharset=utf8,umask=000 0 0 |
linuxmandrake, jomen said 'users', not 'user'.
|
Use pmount instead of mount.
|
for some reason pmount wont mount it. Just basically says it cant do it
|
the command that jomen told you should work.. does it not?
|
Quote:
If you put it where it normally is - to /mnt - it will not get touched by the system and your permissions will stay the way you set them... fstab entry: Code:
/dev/sdc1 /mnt/usb vfat rw,users 0 0 |
Quote:
$ pmount /dev/sdd1 /mnt/ (sometimes /dev/sdd ) Then I'm able to read/write my flash device as user. BTW: It is posible mount flash drive/card to any directory U wish (/home/username/foo , for example) with pmount. |
I think I should reinstall pmount.
sudo dpkg -r --force pmount would uninstall it regardless of dependencies right? then I'll use apt-get to install it Is it safe to do? |
since it appears to be not working now anyway...yes - it should be safe.
You will reinstall it afterwards anyway - I'd be surprised if this fixes anything though. What about a change to /etc/fstab like I suggested - did that not change anything - did it not work? |
I reinstalled it and it said permission denied when I executed pmount but works as root.
|
Did you pay attention to any (possible) messages while you installed it?
(requiering you to do something to make things work...) pmount is not intended to be used on command-line - it is used by your system to make automounting or mounting with a click in your DE (Gnome or KDE) possible. For this the user who wants to be able to use this feature needs t be in a certain group sometimes - Ubuntu should have set this up for you - but maybe not... Check if you can mount the device in your DE by clicking on Computer and selecting the device - it should appear there if you plug it in. |
i did and it complains saying it cant execute it
|
All times are GMT -5. The time now is 04:19 AM. |