<div dir="ltr"><div class="gmail_default" style="font-size:x-small">I'd guess you have an attribute on the file preventing deletion.  Run lsattr on the file and use chattr to remove the attribute. <br><br></div><div class="gmail_default" style="font-size:x-small">

Most commonly something like chattr -a guest/rootfs/etc/resolv.conf.tmp will make the file able to be deleted.<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Sep 24, 2013 at 10:16 PM, Magicloud Magiclouds <span dir="ltr"><<a href="mailto:magicloud.magiclouds@gmail.com" target="_blank">magicloud.magiclouds@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Once I wanted to backup a running guest, so I copied its folder. Then I wanted to remove the folder, so I issued `rm -rf`.<div>

<br></div><div>Now there is a file I cannot delete. "guest/rootfs/etc/resolv.conf.tmp". `rm` or `chown` gave me operation not permitted. `ls -l` gave:</div>
<div>---------- 1 root root 0 Apr 28 04:15 resolv.conf.tmp<br></div><div><div><div><br></div><div>What should I do?</div><span class="HOEnZb"><font color="#888888">-- <br>竹密岂妨流水过<br>山高哪阻野云飞<br><br>And for G+, please use magiclouds#<a href="http://gmail.com" target="_blank">gmail.com</a>.
</font></span></div></div></div>
<br>------------------------------------------------------------------------------<br>
October Webinars: Code for Performance<br>
Free Intel webinars can help you accelerate application performance.<br>
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from<br>
the latest Intel processors and coprocessors. See abstracts and register ><br>
<a href="http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk" target="_blank">http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk</a><br>_______________________________________________<br>


Lxc-users mailing list<br>
<a href="mailto:Lxc-users@lists.sourceforge.net">Lxc-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/lxc-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/lxc-users</a><br>
<br></blockquote></div><br></div>