From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653647621786.tru64-unix-managers.marc@archive.invalid> From: "ROBIN Jean-Marie \(EURIWARE S.A.\)" Date: Thu, 10 May 2001 13:36:58 +0000 To: tru64-unix-managers Subject: SUMMARY: modify umask used by ftpd X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653647621786 thanks to all who replied, i will use the sysadmin@astro.su.se's solution: simply type "quote site umask 002" under NT client ftp prompt. It works fine! I was proposed this solutions for the server, but they don't work: - ftpd -u ... in /etc/inetd.conf - write a wrapper in C where umask() function is used before ftpd call. - add "umask 002" in /sbin/init.d/inetd script JM ------------------------------------------------------ On Fri, May 04, 2001 at 03:37:21PM +0200, ROBIN Jean-Marie (EURIWARE S.A.) wrote: > Hello, > I can't find where to change the umask used by ftpd by default. > when I send a file on a UNIX server (from a NT client),all my files are > created with -rw-r--r-- permission (i would like: -rw-rw-r--) > > >From an UNIX client, the ftp command "site umask 002" works fine, but under > NT ftp, it is not recognized. > Any ideas? ATTENTION : Si vous n'�tes pas destinataire de ce message, vous n'�tes pas autoris� � copier, retransmettre, distribuer, r�v�ler ou conserver le contenu de ce message. WARNING : If you are not the intended recipient, you are not authorised to copy, disclose, distribute or retain in this e-mail.