Some unwanted read-only files appears

Using applications, configuring, problems
Post Reply
Message
Author
sccat
Posts: 160
Joined: Mon 22 Aug 2005, 04:22

Some unwanted read-only files appears

#1 Post by sccat »

I was copying some files and suddenly the power lost.

When I enter Puppy later,I found some unwanted read-only files appeared in the directory I was working.And I can't delete them because they are read-only.

How to fix it in Puppy?

Thanks.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#2 Post by MU »

you can do that with rox.

right-click, "permissions".

Or in a Console-window:

cd /thefolder
chmod 755 thefile

Mark

User avatar
klhrevolutionist
Posts: 1121
Joined: Wed 08 Jun 2005, 10:09

MC

#3 Post by klhrevolutionist »

I recommend using midnight commander plus. It will burn any file you wish.
Just hover over it, press File, then delete. Mu and his suggestion is good as well. But mc has many other features which will help you along the way.
Heaven is on the way, until then let's get the truth out!

sccat
Posts: 160
Joined: Mon 22 Aug 2005, 04:22

#4 Post by sccat »

But the files are strange,I can't delete them.
Attachments
FileError.png
(42.56 KiB) Downloaded 466 times

sccat
Posts: 160
Joined: Mon 22 Aug 2005, 04:22

#5 Post by sccat »

In uxplor
Attachments
FileError1.png
(29.02 KiB) Downloaded 453 times

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#6 Post by MU »

try

rm -r /mnt/cdrive/Dotpup/lib/modules/2.4.29/fs

or
rm -r /mnt/cdrive/Dotpup/lib/modules/2.4.29/fs/*

That should delete the whole folder.

Can you save a file to another folder on that drive?

Mark

sccat
Posts: 160
Joined: Mon 22 Aug 2005, 04:22

#7 Post by sccat »

I not only can not rm the files,but also can not ls them.
Attachments
rm.png
(44.48 KiB) Downloaded 428 times

sccat
Posts: 160
Joined: Mon 22 Aug 2005, 04:22

#8 Post by sccat »

Can't ls:
Attachments
ls.png
(25.48 KiB) Downloaded 433 times

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#9 Post by MU »

ok, as it seems to be a windows-drive, you might have luck with a windows-disk.
http://bootdisk.com/

You might download a win98 -startdisk, and run scandisk or chkdsk to check that drive.

Another way might be, to backup working files with tar
tar -czvf folder1.tgz /mnt/windows2/Puppy
tar -czvf folder2.tgz /mnt/windows2/zry
and so on. Then format the drive.
But you seem to have a "grub"-folder there. If there is a bootsector on that drive used by grub, you can not back it up like this.

Mark

sccat
Posts: 160
Joined: Mon 22 Aug 2005, 04:22

#10 Post by sccat »

Yes,Mu.It's a vfat driver.I will try it.

Post Reply