LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   umask setting on ftp server (https://www.linuxquestions.org/questions/linux-newbie-8/umask-setting-on-ftp-server-71607/)

fuzzyboots 07-10-2003 01:23 PM

umask setting on ftp server
 
We're running a kerberized ftp server (don't know which ftp server cuz i'm not the admin) on RedHat 9. The server admin assures me that the ftp daemon is set to umask 022.

We're seeing consistently finding the permissions on ftp'd files are not set to 022, byt are set to rw-rw-rw.

The inet.conf file has the following line:

ftp stream tcp nowait root /usr/sbin/tcpd
/usr/local/kerdap/sbin/ftpd -d -u 022

When I telnet into the ftp server and run SITE UMASK, it returns with uamsk of 000, which is consistent with the permissions on ftp'd files.

I don't know enough to know whether the inetd file is correct (I suspect it's not). Any ideas?

MasterC 07-18-2003 04:13 AM

My experience has shown that it's a FTP server directive rather than something in inetd or elsewhere on the system. If the admin told you it's set to 022, it's likely it is (but can't you check?). 000 does not = rw-rw-rw though, 000 as umask is = rwxrwxrwx so something is wrong there as well. Permissions are really getting 'dorked' somewhere, so check /etc/profile and the config file of the FTP server itself.

But if you aren't the admin, there is going to be very little you can do anyway...

Cool


All times are GMT -5. The time now is 06:42 PM.