[Pvfs2-developers] [patch] Truncate Permission Check

Phil Carns carns at mcs.anl.gov
Tue Jul 21 14:40:07 EDT 2009


Thanks Bart!  Patch is in cvs trunk now.

-Phil

Bart Taylor wrote:
> Hey guys,
> 
> Attached is a patch for a permission case that addresses an issue we saw
> occasionally where a user's write permission is revoked and they trigger
> a truncate before the cache entry expires. It will force a permission
> check every time for truncate instead of accepting what is in the acache.
> 
> After talking with Phil, it looks like the permission checking code was
> moved to server/check.c because some clients were not building since they
> did not have getpwuid(). I moved this code back into pint-util.c to access
> it from the truncate state machine and added a configure test for that case.
> The check.c and check.h files were removed.
> 
> Bart.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Pvfs2-developers mailing list
> Pvfs2-developers at beowulf-underground.org
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers



More information about the Pvfs2-developers mailing list