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

This is a discussion on [Proftpd-user] problem with proftpd (linux) uploading to a nfsvolume within the proftpd forums, part of the Tools category; 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 ...

Go Back   Unix Linux Forum > Technologies & Tools > Tools > proftpd

FixUnix.com - Unix Linux Forums

Unix Content Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 07-17-2008, 10:07 PM
Default [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

Reply With Quote
  #2  
Old 07-18-2008, 11:36 AM
Default 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 With Quote
Reply

Thread Tools


All times are GMT -5. The time now is 12:07 PM.

In an effort to better serve ads to our visitors, cookies are used on Fixunix.com. For more information, check out our Privacy Policy.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Ad Management by RedTyger