darwin-clear-va-flags-in-copyoutattrs-20010514
authorTed McCabe <ted@mit.edu>
Mon, 14 May 2001 22:30:35 +0000 (22:30 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 14 May 2001 22:30:35 +0000 (22:30 +0000)
commitf6759c48886e96966a3180c3c656bf291833057c
tree94d562a20625024b6bda2f7b74ed9b941f844f3c
parenta2da7c0d5f26340a0b03d83aa628e13670ebc55e
darwin-clear-va-flags-in-copyoutattrs-20010514

"I noticed that when I tried copying files out of AFS, I would often
not be able to modify the destination files/dirs due to the user flags
being non-zero (see man chflags).  Turns out that not all of the
fields of Darwin's struct vattr were being set in afs_CopyOutAttrs

This patch clears the va_flags entry. I wasn't sure how the
va_filerev and va_gen fields are precisely used, but since I wasn't
noticing any trouble I could attribute to them, I left them
unspecified.  I suspect someone with more knowledge can say for sure.
"
src/afs/VNOPS/afs_vnop_attrs.c