FtpServer
  1. FtpServer
  2. FTPSERVER-168

DbUserManager does not create WriteAuthority on MySQL

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0-M2
    • Fix Version/s: 1.0.0-M3
    • Component/s: Core
    • Labels:
      None

      Description

      With MySQL, using a int column as a boolean for write permissions, the current check in DbUserManager fails to match that with the required string ("true"). The check should be more permissive.

        Activity

        Hide
        Niklas Gustavsson added a comment -

        Potential fix commited:

        svn commit "/media/big/home/svn/apache/ftpserver-trunk/core/src/main/java/org/apache/ftpserver/usermanager/DbUserManager.java" -m "Should fix the issue with write permission matches incorrectly on MySQL (FTPSERVER-168)" --username "ngn"
        M /media/big/home/svn/apache/ftpserver-trunk/core/src/main/java/org/apache/ftpserver/usermanager/DbUserManager.java
        Transmitting file data: /media/big/home/svn/apache/ftpserver-trunk/core/src/main/java/org/apache/ftpserver/usermanager/DbUserManager.java
        Committed revision 688739

        Show
        Niklas Gustavsson added a comment - Potential fix commited: svn commit "/media/big/home/svn/apache/ftpserver-trunk/core/src/main/java/org/apache/ftpserver/usermanager/DbUserManager.java" -m "Should fix the issue with write permission matches incorrectly on MySQL ( FTPSERVER-168 )" --username "ngn" M /media/big/home/svn/apache/ftpserver-trunk/core/src/main/java/org/apache/ftpserver/usermanager/DbUserManager.java Transmitting file data: /media/big/home/svn/apache/ftpserver-trunk/core/src/main/java/org/apache/ftpserver/usermanager/DbUserManager.java Committed revision 688739
        Hide
        Niklas Gustavsson added a comment -

        This should now have been taken care of.

        Show
        Niklas Gustavsson added a comment - This should now have been taken care of.

          People

          • Assignee:
            Niklas Gustavsson
            Reporter:
            Niklas Gustavsson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development