[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

rm -rf doesn't work as expected?



Hi,

I'm getting very odd problems with rm -rf here:

anarcat@loony:tmp$ mkdir test
anarcat@loony:tmp$ cd test/
anarcat@loony:test$ mkdir a b c d 
anarcat@loony:test$ touch a/1 a/2 a/3 b/1 c/2 d/3
anarcat@loony:test$ cd ../
anarcat@loony:tmp$ \rm -r test
rm: cannot remove `test/b': No such file or directory
rm: cannot remove `test/c': No such file or directory
rm: cannot remove `test/d': No such file or directory
rm: cannot remove `test': Directory not empty
anarcat@loony:tmp$ \rm -fr test
rm: cannot remove `test/c': Operation not permitted
rm: cannot remove `test/d': Operation not permitted
anarcat@loony:tmp$ \rm -fr test
rm: cannot remove `test/d': Operation not permitted
anarcat@loony:tmp$ \rm -fr test
anarcat@loony:tmp$ 

Something really odd is happening there... It makes is quite hard to
build packages locally, because I get this:

rm: cannot remove `freebsd-ppp-8.0.orig.kCwepg/.svn/tmp/prop-base': Operation not permitted
rm: cannot remove `freebsd-ppp-8.0.orig.kCwepg/.svn/tmp/props': Operation not permitted
rm: cannot remove `freebsd-ppp-8.0.orig.kCwepg/.svn/prop-base': Operation not permitted
rm: cannot remove `freebsd-ppp-8.0.orig.kCwepg/.svn/props': Operation not permitted
rm: cannot remove `freebsd-ppp-8.0.orig.kCwepg/debian': Operation not permitted
rm: cannot remove `freebsd-ppp-8.0.orig.kCwepg/.svn/tmp/props': Operation not permitted
rm: cannot remove `freebsd-ppp-8.0.orig.kCwepg/.svn/props': Operation not permitted
rm: cannot remove `freebsd-ppp-8.0.orig.kCwepg/debian/source': Operation not permitted
dpkg-source: error: rm -rf freebsd-ppp-8.0.orig.kCwepg gave error exit status 1
dpkg-buildpackage: error: dpkg-source -b freebsd-ppp-8.0 gave error exit status 66
debuild: fatal error at line 1330:
dpkg-buildpackage -rfakeroot -D -us -uc failed

Anybody else is having this issue?

I'm on a recent squeeze with FreeBSD 7.2 and coreutils 8.4-2.

A.

-- 
Le pouvoir n'est pas à conquérir, il est à détruire
                        - Jean-François Brient, de la servitude moderne

Attachment: signature.asc
Description: Digital signature


Reply to: