lkml.org 
[lkml]   [2000]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: (reiserfs) Re: NFSv4 ACLs (was: ...ACL's and reiser...)


"Ragnar Kjørstad" wrote:

> On Mon, Aug 07, 2000 at 12:41:56AM +0200, Xuan Baldauf wrote:
> > > What if:
> > > 1. change ACLs for /dir recursively
> > > 2. touch /dir/file
> > > 3. thread executing (1) changes ACL of /dir/file
> >
> > What is "touch"? (Changing atime and mtime?) If it does not change ACL state, it should not
> > matter.
>
> touch will create /dir/file if it does not exist.
>
> If the command in 1 is supposed to change ACLs recursively, but not new
> files, an entry needs to be added to your "cache" for removing the ACL
> that 1 put on /dir/file.
>
> If fileoperations creating files/directories need to be added to the
> list and executed later, it's going to be a performance bottleneck.

No the file is created immediately, with the rights it should have. (Normally the rights
inherited from parent.) If the rights do not inherit from parent, so if they are set explicitly,
that right-setting is queued to the list. (Alternatively, these ACLs could be set directly and
the list item which would change the rights can be marked not to change that specific file, but
this is not required.)

>
>
> --
> Ragnar Kjorstad
> Torque Systems / Big Storage

Xuân. :o)



-
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:58    [W:0.149 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site