Re: Capabilities done right [diff against 2.3.1]

Pavel Machek (pavel@bug.ucw.cz)
Tue, 18 May 1999 21:56:17 +0200


Hi!

> > Anyway, suid is currently not honoured by scripts. It will take
> > _years_ before we'll get all tools like tar, cp, nfs, etc. work right
> > with capbilities-in-namespace.
>
> Do they all need to be rewritten? For example, the 'cp' program of today
> is semantically more like "create a new file, and copy the bits over
> from the old file. If I do "cp /etc/passwd ~/passwd" as a regular user,
> then the new file is not owned by root, and it may not necessarily have
> the same permissions (if my umask is 077, for example).

I was talking about cp -a, which should "preserve as much as possible
of the structure and attributes of original files in copy".

Pavel

-- 
I'm really pavel@ucw.cz. Look at http://195.113.31.123/~pavel.          Pavel
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/