Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Pure-FTPD Won't Allow Me To Upload

  1. #1

    Default Pure-FTPD Won't Allow Me To Upload

    Hi I Am Trying To Setup Pure-FTPD So I And Other Can Access Files From Other Machines In My Network ( Don't Say Samba, That Is Impossible To Easily Add Users To, Etc )

    I Have Logging In And Downloading Files Working Fine, But As Soon As I Try To Upload, It Immediately Closes The Connection.

    Running dmesg I Found That It Was Actually segfaulting As Soon As It Recieved A Request To Upload. This Doesn't Affect The Server As Each One Is Spawned From The Master, That Just Handles Login Requests.

    Does Anyone Know Why It Is Segfaulting. I Am Trying This Locally ( Ie: On The Server ) Without A Firewall, And The Directory I Am Uploading To Is Owned By The User "ftpuser" And The Group "ftpgroup". The Directory Has rwxrwxrwx Permissions. I Cannot Upload Anywhere. Not As A Virtual User, Or A Actual User On My Machine.


    The Only Difference From A Stock SUSE Config Is That I Changed In The Pure-FTPD Config File:

    Disallowed Anonymous
    Forced Users To Authenticate
    Enabled Automatic Creation Of User Home Directories
    Changed The Mask To 000:000 As One Of The Users Is Used To Upload To A Web Server Running On The Server, Which I Need To Be Able To Edit The Contents Of Locally.

    On A Side Note: I Did Have This Problem For Logging In, But Then It Resolved Itself. I Don't Remember Pure-FTPD Being This Buggy...

    Ben
    Last edited by Ben_Cook2; 23-Jun-2008 at 00:54. Reason: Correction Of Mistake

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,683
    Blog Entries
    4

    Default Re: Pure-FTPD Won't Allow Me To Upload

    Er, what version of OpenSUSE? Also I hope you used the OpenSUSE package and didn't try to install a foreign package? Any distress messages in /var/log/messages, or any recently appended file in /var/log/?

    Is the directory special in any way, like being on NTFS or something like that? There was a bug, but I think that was vsftpd, to do with the use of the sendfile system call as an optimisation which doesn't work on some filesystems. I don't know if pure-ftpd tries to do anything similar.

    PS: Don't You Get Tired Of Using The Shift Key All The Time?

  3. #3

    Default Re: Pure-FTPD Won't Allow Me To Upload

    I Managed To Solve The Problem.
    I Use OpenSUSE 11.0
    It Appears That Someone Screwed That Package Totally. I Found A Package In The Build Service: http://download.opensuse.org/reposit...31.28.i586.rpm

    This Works As I Need It To, Allowing Uploads.
    Its Not Strictly For 11.0 But Its Close Enough. And I Just Downloaded It, Didn't Add The Repo.

    Oh And By The Way I Don't Use The Shift Key, Its The Caps Key That Gets A Hiding.

    Ben

    NOTE: The pure-ftpd Package In The OSS Repo Is Hosed, DON'T USE IT! It Will Cause Problems Like Mine.

  4. #4
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,683
    Blog Entries
    4

    Default Re: Pure-FTPD Won't Allow Me To Upload

    If you report the bug, then it will benefit all of us when a fixed package is pushed out.

  5. #5
    g_mayer NNTP User

    Default Re: Pure-FTPD Won't Allow Me To Upload

    I have the same problem.
    I installed the OpenSUSE 11 from network.

  6. #6

    Default Re: Pure-FTPD Won't Allow Me To Upload

    bug posted: #407363

    @g_mayer: use the link i have provided above to get a package of pure-ftpd that actually works.
    you will need to uninstall the oss repo version first.

    Ben

  7. #7
    mrosengr NNTP User

    Default Re: Pure-FTPD Won't Allow Me To Upload

    The "pure-ftp" I downloaded this year from the YaST2 software repository still does not work for uploads! The link with a working version was said to be:

    http://download.opensuse.org/reposit...31.28.i586.rpm

    But what does "..." stand for?

  8. #8

    Default Re: Pure-FTPD Won't Allow Me To Upload

    My xinetd/pure-ftp costellation just uploaded from the suse-repository does not work at all (not only for uploads!), see

    Pure-ftpd collected with YAST from the Suse repository - LinuxQuestions.org

    Possibly it is because the version in the repository is faulty as said in this thread. Where can a correct version of pure-ftp be collected?

    The link with a working version was said to be:

    http://download.opensuse.org/reposit...31.28.i586.rpm

    But what does "..." stand for?

  9. #9
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,683
    Blog Entries
    4

    Default Re: Pure-FTPD Won't Allow Me To Upload

    No comment on pure-ftpd, but on your terminology.

    When you get something from a repository, you are downloading, not uploading. You are further down the supply chain.

    Good luck.

  10. #10

    Default Re: Pure-FTPD Won't Allow Me To Upload

    The problem was with the SuSE Firewall and how it is set (or rather not set!) by YAST.

    The SuSE Firewall stops all ftp, also in "Internal Zone", with the default setting. This is not automatically corrected by YAST when ftp software is downloaded from the repository !

    Either completely switch off the SuSE Firewall (with YAST interactive "security" utility) or explicitly allow ftp (internal/external zone, again with YAST interactive "security" utility)

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •