USB hard drive read only access..

WipeOut wipe_out at users.sourceforge.net
Tue Aug 14 19:42:48 UTC 2007


jack wrote:
> 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.
> 
> hth...
> 
> Jack
> 
> 
Thanks.. I will give it a try..




More information about the ubuntu-users mailing list