Subject: Re: [vserver] File permission problem after upgrade
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Wed, 27 Apr 2011 16:11:30 +0200

On Wed, Apr 27, 2011 at 03:56:04PM +0200, Matthias Teege wrote:
> On Wed, 27 Apr 2011, Daniel Hokka Zakrisson wrote:

> Hello,

>>> I cannot remove, touch or mv the file. Reading isn't a problem.

>> Most likely, the file is immutable, without being marked as COW.

> Yes, I can work with all files that have no hard links.

>> What kernel did you come from? What filesystem are you using?

> 2.6.26-vs2.3.0.35.6 and ext3

yes, that's the broken debian kernel ... we all love it!

>> For some combinations of the above two answers, the answer will
>> be that you need to stash away your Linux-VServer attributes
>> while running the old kernel, and then restore them again.
>> http://people.linux-vserver.org/~dhozac/t/save-vsdata.sh can
>> help you do that.

> As I understand the script it saves the attributes to a file so
> that i can restore the attributes on the new system. Do I have
> to "reset" all files und /vservers?

yes, you have to fix _all_ attributes on all files and
folders affected (i.e. those with unified hard links and
those with barriers)

best,
Herbert

> Many thanks
> Matthias