Permisos y seteo de umask para Ftp

modificar el /etc/inetd.conf para dejar a todos los archivos subidos via ftp como 666

ftp     stream  tcp6    nowait  root    /usr/sbin/ftpd         ftpd -u 000

ps axuw | grep inetd

kill -HUP <nro proceso>

If umask is set for 022 .

Then the default permissions of a directory created will be ,

777-022=755
(Should subtract umask from 777 )

The default permissions of a file created will be ,

666-022=644
( Should subtract umask from 666)

Therefore there exists no umask value for file permission which would fit in to your requirement. 

Comentarios