USB hard drive read only access..

jack jdangler at
Tue Aug 14 01:14:25 UTC 2007

On Mon, 2007-08-13 at 20:24 -0400, Roby wrote:
> WipeOut wrote:
> > Hi,
> >
> > I have just got a 500GB USB hard drive to do my backups to.. I was
> able
> > to partition and format the drive (ext3)..
> >
> > When re-plugging it in it auto mounted to /media/disk but it appears
> to
> > be read only.. I am unable to copy files to it or create directories
> on
> > it..
> >
> > I have used USB flash drives in the past and have not had this
> problem...
> >
> > Anyone know why the drive is read only and how to fix it?
> >
> > Thanks..
> mount it and then try
> # ls -l /media/disk
> I'll bet you find it's owned by root and user privs are read only.
> That
> happened when you set it up (as root).  You can either leave it like
> that
> and do your backups as root or use chown and chmod (as root) to set
> new
> privileges that serve your needs.

You could manually mount the drive quite easily...
plug in the usb drive
go to a terminal, type dmesg (look for the usb info)
i.e. - /dev/sdb , /dev/sdb1
create a directory (mount point) to mount to, such as /mnt/usb
then mount it...

mount -o rw,nosuid /dev/sdb1 /mnt/usb

the options allow the disk to be mounted read/write, and do not require
sudo user privileges.



More information about the ubuntu-users mailing list