I have users who use ftp to trasnfer files from their mac workstations to a Solaris 8 server. The users home directories are automounted from a Solaris 9 server.
Their umask is set to 002, which is what they want, so each can modify the others files, if needed. The system environment umask is 022 and this seems to be the ftp default.
I have set 'ftp stream tcp6 nowait root /usr/sbin/in.ftpd in.ftpd -u 002' in /etc/inet/inetd.conf and refreshed inetd (kill -HUP <PID>), however when the ftp takes place the files is transferred with 644 perms instead of 664. I have tried this on the Solaris 8 server and tested it on a Solaris 10 server (on which I refreshed the ftp service with svcadm) and get the same results each time.
The man page for in.ftpd show '-u <umask>'. Anyone ever try setting the ftp umask in inetd.conf?
Their umask is set to 002, which is what they want, so each can modify the others files, if needed. The system environment umask is 022 and this seems to be the ftp default.
I have set 'ftp stream tcp6 nowait root /usr/sbin/in.ftpd in.ftpd -u 002' in /etc/inet/inetd.conf and refreshed inetd (kill -HUP <PID>), however when the ftp takes place the files is transferred with 644 perms instead of 664. I have tried this on the Solaris 8 server and tested it on a Solaris 10 server (on which I refreshed the ftp service with svcadm) and get the same results each time.
The man page for in.ftpd show '-u <umask>'. Anyone ever try setting the ftp umask in inetd.conf?