Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FTP Umask 4

Status
Not open for further replies.

rjgreen

Technical User
Oct 2, 2002
14
US
Can anyone tell me what needs to be done to change the umask for files that are FTPd? I have tried changing the user umask and I tried using the "site umask" command in FTP, this only changes it temporarily, once you log out it reverts back to its original setting. We use an automated FTP process and I need the files to have a specific umask once they are FTPd over to the other server.

Thanks in advance
RJG
 
hi,

look in /etc/inetd.conf for ftpd entry

e.g.
ftp stream tcp6 nowait root /usr/local/bin/ftpd ftpd -u 113 -l

use the -u umask -l option to set umask
you then need to refresh inetd & check again
 
Thanks DSMARWAY, this worked perfectly.

RJG
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top