lkml.org 
[lkml]   [1999]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch included] Re: using capabilities to allow debug of su
OK ok..

Jeremy Fitzhardinge wrote:
>
> On 17-Apr-99 Andrew Morgan wrote:
> > I'm crossing my fingers that one does what I meant you to try. (The key
> > is that root can only remove files that root owns unless it has the
> > capability to do more.) In other words, root in this case should not be
> > able to remove luser's file. In your examples, root always owns the
> > file, so necessarily, it is able to manipulate them.
>
> When unlinking, it normally doesn't matter who owns a file or what its
> permissions are: it's the directory permissions which matter (ignoring +t
> dirs). Are you talking about modifying the semantics of unlink, or should you
> be using "open for writing" as the operation in your example?
>
> J

-
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    [from the cache]
©2003-2011 Jasper Spaans