[cvsnt] cvs chown creates malformed fileattr.xml

Tony Hoyle tmh at nodomain.org
Tue Nov 16 15:15:24 GMT 2004


Mike Wake wrote:
> Hi Tony,
> 
> Does this help zoom in on the problem?
> 
> In chown.cpp:chown_dirproc() the directory owner is set like this.
>    fileattr_setvalue(NULL,"directory/owner",chown_user);
> 
> Whereas in perms.cpp:change_owner() the directory owner is set like this.
>    fileattr_setvalue(fileattr_create(NULL,"directory/owner"),NULL,user);
> 
chown should be calling change_owner() - not sure why it isn't, actually.

Tony



More information about the cvsnt mailing list