[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Absolutely cannot write to USB drive



On 09/01/2008, Sjoerd Hardeman <sjoerd@lorentz.leidenuniv.nl> wrote:
> It is strange that hal isn't mounting it. Is hal running properly (try
> lshal).

I got lots of output from that command, so I assume that HAL is running.

> You can mount in userspace using pmount /dev/sdb1. It will then mount
> under /media/sdb1 with read-write privileges for the user that mounted
> the drive. If you want a user to be able to read-write with a
> root-mount, make sure you state the proper rights in the fstab-entry.
> Make a group that is allowed to read-write to the device, and add
> /dev/sdb1 /media/usb auto rw,users,noauto,gid=xxx,umask=007 0 0
> with xxx replaced by the id of that group (or give system wide
> read-write privileges by stating umask=000)
> As fat doesn't support a proper security-model, you have to specify that
> yourself. Else only root can read.
> Good luck!

Thanks, I did not know about pmount. I'll remove the fstab entry and
use pmount from now on.

I'd still like to get HAL mounting this disk. I installed and maintain
a dozen or so friends' ubuntu, and if they ever come across this I'd
like to have a solution ready.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Reply to: