> > i'm FTPing files to a Sun station (Sys V Rel 4.0) from a IBM VM/CMS machine
> > and everything goes well except the permission always seems to default to
> > "-rw-r--r--". is this a default ? where can i override this ?
> > tried changing setting umasks from .profile to .cshrc but still nothing.
> > Anyone ? TIA.
> Read the ftpd man page.
> On my SGI system there is an option (-u) for ftpd which you must put in
> the /etc/inetd.conf file. This option specifies the default umask for
> transferred files. Remember to SIGHUP inetd after editing inetd.conf.
This only works on the ftp serving machine. If you open a connection to a
remote box, the ftpd on the remote machine dictates the umask. Changing it on
the local ftp daemon doesn't do the trick.
-------------------------------------------------------
-- Stephen J. Weihman -*- GTE Data Services --
-------------------------------------------------------
-- The opinions expressed herein are entirely my --
-- own, and are not necessarily those of GTE. --
-------------------------------------------------------