View previous topic :: View next topic |
Author |
Message |
bram2000 n00b
Joined: 22 Sep 2006 Posts: 38
|
Posted: Mon Mar 12, 2007 1:05 pm Post subject: Strange problems removing files [SOLVED] |
|
|
Hi all,
I am trying to free up some space on my second hard drive, which has Ubuntu on it (I dual boot between Gentoo and Ubuntu but use Gentoo all of the time these days) and have found some files that I can't remove. It is an SVN checkout of BMPX. I'm seeing strange things like this:
Code: |
root@fornax props # ls -ltra
ls: cannot access Makefile.am.svn-work: Permission denied
ls: cannot access header-logo-left.png.svn-work: Permission denied
ls: cannot access audiocd-big.png.svn-work: Permission denied
ls: cannot access header-logo-right.png.svn-work: Permission denied
ls: cannot access header-logo-slice.png.svn-work: Permission denied
ls: cannot access audiocd-unplayable.png.svn-work: Permission denied
total 0
?????????? ? ? ? ? ? header-logo-slice.png.svn-work
?????????? ? ? ? ? ? header-logo-right.png.svn-work
?????????? ? ? ? ? ? header-logo-left.png.svn-work
?????????? ? ? ? ? ? audiocd-unplayable.png.svn-work
?????????? ? ? ? ? ? audiocd-big.png.svn-work
?????????? ? ? ? ? ? Makefile.am.svn-work
drwxrwxr-x 2 jbramley orbis 320 Nov 16 11:01 .
drwxrwxr-x 4 jbramley orbis 96 Mar 12 12:37 ..
|
Very strange. I can't view or delete the files, whether I'm a normal, or root user.
Anyone seen anything like this before?
Cheers,
Jon
Last edited by bram2000 on Mon Mar 19, 2007 11:22 am; edited 1 time in total |
|
Back to top |
|
|
timeBandit Bodhisattva
Joined: 31 Dec 2004 Posts: 2719 Location: here, there or in transit
|
Posted: Mon Mar 12, 2007 2:21 pm Post subject: |
|
|
Yes. The problem is almost certainly that the permission flags are corrupt in the files' parent directory.
It looks like the directory these files are in is named props, correct?
To delete them, as root, starting in the directory with the problem files: Code: | # cd ..
# chmod 0755 props
# chmod 0755 props/*
# rm -rf props |
_________________ Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others. |
|
Back to top |
|
|
bram2000 n00b
Joined: 22 Sep 2006 Posts: 38
|
Posted: Mon Mar 19, 2007 11:22 am Post subject: |
|
|
Hi,
Thanks for the reply, It turns out I had bad blocks on my second HD. Once I got these problems sorted I used the above steps and removed the files.
Cheers,
Jon |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|