How to remove a damaged file
Patrick O'Callaghan
pocallaghan at gmail.com
Wed Apr 23 19:59:30 UTC 2008
On Wed, 2008-04-23 at 20:49 +0100, Anne Wilson wrote:
> On Wednesday 23 April 2008 17:56, Patrick O'Callaghan wrote:
> > > > For this one I'd rather have an ext3 partition, if I can't recover it.
> > >
> > > then I suggest more along the lines of:
> > > mke2fs -v -c -c -j -L AnneWilsonPendrive /dev/devicepartition
> > >
> > > '-c -c' -- Check the device for bad blocks before creating the file
> > > system. using a slower, read-write test instead of a fast read-only
> > > test.
> >
> I used that, and now I have the new partition, ext3. However, although it
> lists, it says I can't write to it.
>
> brwxrwx--- 1 anne users 8, 49 Apr 23 20:37 /dev/sdd1
>
> I'm trying to copy a directory 'Packages' from my desktop to the daneElec.
> That gives
>
> Access denied to /media/DaneElec/Packages.
>
> if done in the gui, or
>
> cp: cannot create regular file `/media/DaneElec/zsh-4.3.4-7.fc9.i386.rpm':
> Permission denied
> if done from the CLI. What am Imissing?
Can you create anything on the pendrive (try "> /media/DaneElec/foo")?
Is the pendrive mounted read/write?
Are you doing this as root or as yourself?
Please post the output of "ls -ld /media/DaneElec", and of "mount|grep
DaneElec".
poc
More information about the fedora-test-list
mailing list