From: klavs klavsen (kl_at_vsen.dk)
Date: Tue 05 Mar 2002 - 16:00:36 GMT
On Tue, 2002-03-05 at 15:53, klavs klavsen wrote:
> Am I right in assuming that I could circumvent the problem by
> hardlinking from /www/$file to /vservers/test/www/$file for all files
> and directories, and them making the /vservers/test/www immutable and
> NOT immutable-unlink - so that even Root in the test-vserver can't
> change them. only the Real root can?
I found that the vserver's root can't remove the immutable flag, but
when editing from the root-server - you would have to remove the
immutable flag to update it.. bad thing.
Instead I made a script that cp's all files from /www to
/vservers/test/www and then chattr +i -R's the copy.
this way it's easy to sync the dir, when you change the original.
-- Regards, Klavs Klavsen-------------| This mail has been sent to you by: |------------ Klavs Klavsen - Open Source Consultant kl_at_vsen.dk - http://www.vsen.dk
Get PGP key from www.keyserver.net - Key ID: 0x586D5BCA Fingerprint = A95E B57B 3CE0 9131 9D15 94DA E1CD 641E 586D 5BCA --------------------[ I believe that... ]----------------------- It is a myth that people resist change. People resist what other people make them do, not what they themselves choose to do... That's why companies that innovate successfully year after year seek their peopl's ideas, let them initiate new projects and encourage more experiments. -- Rosabeth Moss Kanter