Re: [vserver] File permission problem after upgrade

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Wed 27 Apr 2011 - 15:11:30 BST
Message-ID: <20110427141130.GB11839@MAIL.13thfloor.at>

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
Received on Wed Apr 27 15:12:08 2011

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 27 Apr 2011 - 15:12:08 BST by hypermail 2.1.8