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.
truncate-perm-check.patch
Description: Binary data
_______________________________________________ Pvfs2-developers mailing list Pvfs2-developers@beowulf-underground.org http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers