1751765 Members
4736 Online
108781 Solutions
New Discussion

umask and ftp client

 
BR745269
New Member

umask and ftp client

When I upload file with ftp client to HP-UX, default right is used (u=rw, g=r, o=nothing)How can I change rights for specified user?
1 REPLY 1
Robert-Jan Goossens
Honored Contributor

Re: umask and ftp client

Hi,

You can change the umask for ftp system wide only in

# vi /etc/inetd.conf

change default value

ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l

ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -u002

the -u (umask)
002 rw-rw-r--

Take a look at the man umask for additional information.

Regards,

Robert-Jan.