About this list Date view Thread view Subject view Author view Attachment view

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Mon 04 Oct 2004 - 22:02:31 BST


On Mon, Oct 04, 2004 at 03:53:48PM -0400, Gregory (Grisha) Trubetskoy wrote:
>
> I noticed that in 2.6 kernel you cannot create (hard)
> links to immutable files.

yes, that's correct ...

> So if I am trying to build a unified server, is my only
> option to remove the immutable flag temporarily while I
> link to it?

no, because you do not use just 'immutable' files

> This seems insecure.

yes, and it probably is ...

> Or am I missing something obvious?

you are missing something obvious ;)

2.6.9-rc3-vs1.9.3-rc2 (and basically all versions before)

    # mkdir /tmp/X
    # cd /tmp/X

    # touch x1
    # setattr --iunlink x1
    # showattr x1
        ----UI- x1
    # ln x1 x2
    # showattr x1 x2
        ----UI- x1
        ----UI- x2

> Has anyone else ran into this?

probably ...

HTH,
Herbert

> Thanks,
>
> Grisha
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 04 Oct 2004 - 22:02:45 BST by hypermail 2.1.3