Default umask when logging in through FTP is 027 .
I want to change this to 002 so a process with the same group can consume an uploaded file.
Man 'ftpd' page says pass -u 002 to the ftpd command. But my problem is I can't find where ftpd is started from. So my question is, how to pass -u 002 to ftpd on startup? I can't find an /etc/init.d/ script.
Details: Red Hat Enterprise Linux Server release 5.3 (Linux 2.6.18-128.1.1.el5 )
RPM installed: ftp-0.17-35.el5 (rpm -qa | grep ftp)
which ftpd: /usr/kerberos/sbin/ftpd