Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Strange problems removing files [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
bram2000
n00b
n00b


Joined: 22 Sep 2006
Posts: 38

PostPosted: Mon Mar 12, 2007 1:05 pm    Post subject: Strange problems removing files [SOLVED] Reply with quote

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
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2719
Location: here, there or in transit

PostPosted: Mon Mar 12, 2007 2:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
bram2000
n00b
n00b


Joined: 22 Sep 2006
Posts: 38

PostPosted: Mon Mar 19, 2007 11:22 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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