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