[Pvfs2-cvs] commit by vilayann in pvfs2-1/test/shared: test-common.c

CVS commit program cvs at parl.clemson.edu
Wed Aug 9 16:18:13 EDT 2006


Update of /projects/cvsroot/pvfs2-1/test/shared
In directory parlweb1:/tmp/cvs-serv7687/test/shared

Modified Files:
      Tag: posix-extensions-branch
	test-common.c 
Log Message:
Reverse merge changes from HEAD to posix-extensions-branch.



Index: test-common.c
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/test/shared/test-common.c,v
diff -p -u -r1.3.2.1 -r1.3.2.2
--- test-common.c	7 Jun 2006 03:21:19 -0000	1.3.2.1
+++ test-common.c	9 Aug 2006 20:18:12 -0000	1.3.2.2
@@ -815,8 +815,9 @@ int change_owner(
     }
     else
     {
+    
         /* Determine if we need to use sudo to change owner/group */
-        if(geteuid() != owner_id ||
+        if(geteuid() != owner_id &&
            geteuid() != group_id)
         {
             if(verbose)



More information about the Pvfs2-cvs mailing list