<div dir="ltr">At least remove +i flag (immutable), like chattr -i /some/file<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 11, 2013 at 1:33 PM, Kevin Holly <span dir="ltr"><<a href="mailto:openvz@lists.dedilink.eu" target="_blank">openvz@lists.dedilink.eu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
i already had this problem but forgot how to fix it:<br>
<br>
vztmp-Directory contains parts of a 3 month old container, which was destroyed. When i try to "find -delete" the directory, i get:<br>
<br>
[root@bedrock vzctl-rm-me.guj6L7]# find -delete<br>
find: cannot delete `./usr/lib/libsh/shsb': Permission denied<br>
find: cannot delete `./usr/lib/libsh/utilz': Permission denied<br>
find: cannot delete `./usr/lib/libsh/.owned': Permission denied<br>
find: cannot delete `./usr/lib/libsh/.sniff': Permission denied<br>
find: cannot delete `./usr/lib/libsh/.backup': Permission denied<br>
find: cannot delete `./usr/lib/libsh/.bashrc': Permission denied<br>
find: cannot delete `./usr/lib/libsh/hide': Permission denied<br>
find: cannot delete `./usr/lib/libsh': Operation not permitted<br>
find: cannot delete `./usr/lib': Directory not empty<br>
find: cannot delete `./usr': Directory not empty<br>
find: cannot delete `./lib/<a href="http://libsh.so/shhk" target="_blank">libsh.so/shhk</a>': Permission denied<br>
find: cannot delete `./lib/<a href="http://libsh.so/shhk.pub" target="_blank">libsh.so/shhk.pub</a>': Permission denied<br>
find: cannot delete `./lib/<a href="http://libsh.so/bash" target="_blank">libsh.so/bash</a>': Permission denied<br>
find: cannot delete `./lib/<a href="http://libsh.so/shrs" target="_blank">libsh.so/shrs</a>': Permission denied<br>
find: cannot delete `./lib/<a href="http://libsh.so/shdcf" target="_blank">libsh.so/shdcf</a>': Permission denied<br>
find: cannot delete `./lib/libsh.so': Operation not permitted<br>
find: cannot delete `./lib': Directory not empty<br>
find: cannot delete `./sbin/ttymon': Operation not permitted<br>
find: cannot delete `./sbin/ttyload': Operation not permitted<br>
find: cannot delete `./sbin/ifconfig': Operation not permitted<br>
find: cannot delete `./sbin': Directory not empty<br>
find: cannot delete `./etc/sh.conf': Operation not permitted<br>
find: cannot delete `./etc': Directory not empty<br>
<br>
lsattr shows this:<br>
<br>
[root@bedrock vzctl-rm-me.guj6L7]# lsattr etc/sh.conf<br>
s---ia-------e- etc/sh.conf<br>
<br>
Anyone knows how to fix this/set the right (ch)attr?<br>
<br>
<br>
Best regards,<br>
<br>
Kevin Holly<br>
<br>
Dedilink.eu<br>
A: Himbergerstraße 10/5/11<br>
2435 Ebergassing<br>
M: <a href="mailto:info@dedilink.eu" target="_blank">info@dedilink.eu</a><br>
W: <a href="http://www.dedilink.eu" target="_blank">www.dedilink.eu</a><br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@openvz.org" target="_blank">Users@openvz.org</a><br>
<a href="https://lists.openvz.org/mailman/listinfo/users" target="_blank">https://lists.openvz.org/<u></u>mailman/listinfo/users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>[COOLCOLD-RIPN]
</div>