[OpenAFS] Mail delivery into OpenAFS

Russ Allbery rra@stanford.edu
Fri, 11 Jul 2003 10:31:37 -0700


Patrick J LoPresti <patl@users.sourceforge.net> writes:

> But your point leads to an interesting question.  Suppose I have "i" but
> not "d" permission on AFS directory foo.  And suppose two of my
> processes on different machines simultaneously attempt to rename() two
> different files to foo/bar.  Is it guaranteed that exactly one of them
> will succeed?

Hm... that's an excellent point.  AFS may actually make rename safe for
maildirs even in weird situations because you can remove "d" permission.
I hadn't thought of that at all.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>