[Users] "Permission denied" when trying to help a stuck destroy

CoolCold coolthecold at gmail.com
Tue Jun 11 05:59:39 EDT 2013


At least remove +i flag (immutable), like chattr -i /some/file


On Tue, Jun 11, 2013 at 1:33 PM, Kevin Holly <openvz at lists.dedilink.eu>wrote:

> Hello,
>
> i already had this problem but forgot how to fix it:
>
> vztmp-Directory contains parts of a 3 month old container, which was
> destroyed. When i try to "find -delete" the directory, i get:
>
> [root at bedrock vzctl-rm-me.guj6L7]# find -delete
> find: cannot delete `./usr/lib/libsh/shsb': Permission denied
> find: cannot delete `./usr/lib/libsh/utilz': Permission denied
> find: cannot delete `./usr/lib/libsh/.owned': Permission denied
> find: cannot delete `./usr/lib/libsh/.sniff': Permission denied
> find: cannot delete `./usr/lib/libsh/.backup': Permission denied
> find: cannot delete `./usr/lib/libsh/.bashrc': Permission denied
> find: cannot delete `./usr/lib/libsh/hide': Permission denied
> find: cannot delete `./usr/lib/libsh': Operation not permitted
> find: cannot delete `./usr/lib': Directory not empty
> find: cannot delete `./usr': Directory not empty
> find: cannot delete `./lib/libsh.so/shhk': Permission denied
> find: cannot delete `./lib/libsh.so/shhk.pub': Permission denied
> find: cannot delete `./lib/libsh.so/bash': Permission denied
> find: cannot delete `./lib/libsh.so/shrs': Permission denied
> find: cannot delete `./lib/libsh.so/shdcf': Permission denied
> find: cannot delete `./lib/libsh.so': Operation not permitted
> find: cannot delete `./lib': Directory not empty
> find: cannot delete `./sbin/ttymon': Operation not permitted
> find: cannot delete `./sbin/ttyload': Operation not permitted
> find: cannot delete `./sbin/ifconfig': Operation not permitted
> find: cannot delete `./sbin': Directory not empty
> find: cannot delete `./etc/sh.conf': Operation not permitted
> find: cannot delete `./etc': Directory not empty
>
> lsattr shows this:
>
> [root at bedrock vzctl-rm-me.guj6L7]# lsattr etc/sh.conf
> s---ia-------e- etc/sh.conf
>
> Anyone knows how to fix this/set the right (ch)attr?
>
>
> Best regards,
>
> Kevin Holly
>
> Dedilink.eu
> A: Himbergerstraße 10/5/11
>    2435 Ebergassing
> M: info at dedilink.eu
> W: www.dedilink.eu
> ______________________________**_________________
> Users mailing list
> Users at openvz.org
> https://lists.openvz.org/**mailman/listinfo/users<https://lists.openvz.org/mailman/listinfo/users>
>



-- 
Best regards,
[COOLCOLD-RIPN]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/users/attachments/20130611/223eff01/attachment.html>


More information about the Users mailing list