Re: [PATCH] fshelp_iscontroller root uid bug

2008-06-27 Thread Samuel Thibault
Hello, Flávio Cruz, le Fri 27 Jun 2008 22:12:09 +, a écrit : > In the function fshelp_iscontroller, which checks if an user controls > the filesystem based on the stat struct, it checks the presence of > std_uid in the uid's vector two times and it doesn't for the root uid. > The attached file

[PATCH] fshelp_iscontroller root uid bug

2008-06-27 Thread Flávio Cruz
Hi folks, I've been reading the libfshelp library and it appears that I've found a little bug on it. In the function fshelp_iscontroller, which checks if an user controls the filesystem based on the stat struct, it checks the presence of std_uid in the uid's vector two times and it doesn't for the