cluster/gfs2-kernel/src/gfs2 ops_inode.c
Tue Sep 27 19:06:00 GMT 2005

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	2005-09-27 19:06:54

Modified files:
	gfs2-kernel/src/gfs2: ops_inode.c 

Log message:
	gfs2 was unable to truncate files if they were opened with write permissions,
	but the process later changed uids to an uid that didn't have write permission.
	POSIX says that if you had the permissions when you opened the file, you don't
	loose them when you change uids.
	gfs2 no longer checks permissions before truncating a file in gfs2_setattr.  I
	don't know what this check was ever added (It didn't exist in gfs 6.0). Since I
	don't know why the check was added, I can't say for certain that it is
	unessential.  However, I can't see any reason to do it, so I deleted it.


More information about the Cluster-cvs mailing list