lkml.org 
[lkml]   [1999]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Capabilities done right [diff against 2.3.1]
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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.068 / U:0.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site