Yes, I was able to upload a file with DbUserManager as the user manager.

Thanks
Erik
On Aug 25, 2008, at 10:51 AM, Niklas Gustavsson wrote:

On Mon, Aug 25, 2008 at 3:51 PM, Niklas Gustavsson <[EMAIL PROTECTED] > wrote:
On Mon, Aug 25, 2008 at 3:41 PM, Erik Morton <[EMAIL PROTECTED]> wrote:
I realized that in DbUserManager

if (trueStr.equalsIgnoreCase(rs.getString(ATTR_WRITE_PERM)))
{
                  authorities.add(new WritePermission());
              }

is returning false under MySQL 5.037 because booleans are stored as tinyints and Boolean.TRUE.toString() is returning 'true'. I hacked around this issue for now, as I'm about six years removed from Java development and don't feel
comfortable submitting a real patch :-).

Yes, I realized the same thing and created a patch for it this Friday,
but was offline for the entire weekend. I'll commit the fix later
today.

Issue opened and fix commited:
https://issues.apache.org/jira/browse/FTPSERVER-168

Can you please verify if this fixes your issue?

/niklas

Reply via email to