Subject: Re: [vserver] File permission problem after upgrade
From: Jon Bendtsen <jbendtsen@laerdal.dk>
Date: Wed, 27 Apr 2011 15:30:45 +0200

On 27/04/2011, at 15.21, Matthias Teege wrote:

> Moin,
> 
> I've upgraded a vserver to 2.6.35-vs2.3.0.36.32. I use unify for most 
> vservers. After the upgrade I have problems with file permissions:
> 
> # whoami
> root
> # rm /vservers/sysA/tmp/ban.txt
> rm: cannot remove `ban.txt': Operation not permitted
> 
> # stat /vservers/sysA/tmp/ban.txt
>  File: `/vservers/sysA/tmp/ban.txt'
>  Size: 89              Blocks: 8          IO Block: 4096   regular file
> Device: 9300h/37632d    Inode: 697531      Links: 2
> Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
> Access: 2011-04-27 05:12:00.000000000 +0200
> Modify: 2010-11-18 17:47:56.000000000 +0100
> Change: 2010-11-19 01:13:25.000000000 +0100
> 
> I cannot remove, touch or mv the file. Reading isn't a problem.
> 
> Are there any known problems? Does anyone has an idea what the problem is?

Check that the filesystem is mounted read-write, and possibly run fsck on it.


JonB