[Proftpd-user] problem with proftpd (linux) uploading to a nfsvolume - proftpd

This is a discussion on [Proftpd-user] problem with proftpd (linux) uploading to a nfsvolume - proftpd ; I'm having a world of problems getting proftpd working correctly with uploads to an nfs mounted partition. I've monkeyed with acls and tried all sorts of different versions, including the latest, but nothing seems to make a difference. If the ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: [Proftpd-user] problem with proftpd (linux) uploading to a nfsvolume

  1. [Proftpd-user] problem with proftpd (linux) uploading to a nfsvolume

    I'm having a world of problems getting proftpd working correctly with
    uploads to an nfs mounted partition. I've monkeyed with acls and tried
    all sorts of different versions, including the latest, but nothing seems
    to make a difference. If the upload directory is on the local file
    system, it works fine. If I change it to a NFS volume, hosted on a Sun,
    with full permissions, it does not work. I can issue the chown as root
    on the linux proftp server just fine via command line. I've tried this
    on rhel4 and rhel5.

    Here are the relevant portions of the conf file:

    ServerType inetd
    # Set the user and group that the server normally runs at.
    User nfsnobody
    Group nobody
    CapabilitiesEngine on
    CapabilitiesSet +CAP_CHOWN


    # A basic anonymous configuration, no upload directories.

    User ftp
    Group bin


    UserOwner toml
    GroupOwner bin
    umask 077




    Here are some of the log messages around that time.

    Jul 10 20:06:23 ca.engr.oregonstate.edu proftpd[4792]
    ca.engr.oregonstate.edu (zen.engr.oregonstate.edu[128.193.40.2]): in
    dir_check_full(): setting umask to 0077 (was 0022)
    Jul 10 20:06:23 ca.engr.oregonstate.edu proftpd[4792]
    ca.engr.oregonstate.edu (zen.engr.oregonstate.edu[128.193.40.2]):
    dispatching CMD command 'file.zip' to mod_xfer
    Jul 10 20:06:23 ca.engr.oregonstate.edu proftpd[4792]
    ca.engr.oregonstate.edu (zen.engr.oregonstate.edu[128.193.40.2]): ROOT
    PRIVS at mod_xfer.c:1076
    Jul 10 20:06:23 ca.engr.oregonstate.edu proftpd[4792]
    ca.engr.oregonstate.edu (zen.engr.oregonstate.edu[128.193.40.2]): ROOT
    PRIVS: ID switching disabled
    Jul 10 20:06:23 ca.engr.oregonstate.edu proftpd[4792]
    ca.engr.oregonstate.edu (zen.engr.oregonstate.edu[128.193.40.2]):
    PRIVS_RELINQUISH: ID switching disabled
    Jul 10 20:06:23 ca.engr.oregonstate.edu proftpd[4792]
    ca.engr.oregonstate.edu (zen.engr.oregonstate.edu[128.193.40.2]):
    chown(/in.coming/testdir/file.zip) as root failed: Operation not permitted

    I'm at wits end and about to give up.

    Thank you

    Tom Lieuallen
    Oregon State University

    -------------------------------------------------------------------------
    This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
    Build the coolest Linux based applications with Moblin SDK & win great prizes
    Grand prize is a trip for two to an Open Source event anywhere in the world
    http://moblin-contest.org/redirect.p...r_id=100&url=/
    _______________________________________________
    ProFTPD Users List
    Unsubscribe problems?
    http://www.proftpd.org/list-unsub.html


  2. Re: [Proftpd-user] problem with proftpd (linux) uploading to a nfsvolume


    > I'm having a world of problems getting proftpd working correctly with
    > uploads to an nfs mounted partition. I've monkeyed with acls and tried
    > all sorts of different versions, including the latest, but nothing seems
    > to make a difference.


    What does 'proftpd -V' show? What NFS mount options are you using on
    Solaris, and do those options differ from the ones you're using on Linux?

    Also, the mod_cap directives only apply on Linux; as far as I know,
    Solaris does not support the same libcap library...

    TJ

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Desire does not necessitate obligation.

    -TJ Saunders

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



    -------------------------------------------------------------------------
    This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
    Build the coolest Linux based applications with Moblin SDK & win great prizes
    Grand prize is a trip for two to an Open Source event anywhere in the world
    http://moblin-contest.org/redirect.p...r_id=100&url=/
    _______________________________________________
    ProFTPD Users List
    Unsubscribe problems?
    http://www.proftpd.org/list-unsub.html


+ Reply to Thread