ftpd from SunOS 4.1.3 creates files with rw-rw-rw

ftpd from SunOS 4.1.3 creates files with rw-rw-rw

Post by Wolfgang Roeckele » Thu, 23 Mar 1995 04:58:57



Hi,

can anybody explain to me how to get the ftpd under SunOS 4.1.3 to create
file not with rw-rw-rw permissions?

Please email me with solutions (I have a troublesome news connection), I
will summarize.

  Thank you in advance,
   Wolfgang
--
Dipl.-Wirtsch.-Inf.     Voice:  +49 261 6509 173
Wolfgang Roeckelein     Fax:    +49 261 6509 179

Burgplatz 2                     (NeXTmail ok)
D-56179 Vallendar
Germany

 
 
 

ftpd from SunOS 4.1.3 creates files with rw-rw-rw

Post by Wietse Vene » Sun, 26 Mar 1995 05:06:54



>can anybody explain to me how to get the ftpd under SunOS 4.1.3 to create
>file not with rw-rw-rw permissions?

Put a "umask 022" command at the beginning of your /etc/rc* files and reboot.

        Wietse

 
 
 

1. Summary: ftpd from SunOS 4.1.3 creates files with rw-rw-rw

Hi,

I received the following suggestions:

-Insert umask 022 at the top (or before the start of inetd) of rc*.
-Use this line in rc:
        (umask 002; inetd);     echo -n ' inetd'
-Use TCP-WRAPPER to give ftpd its own umask.
-Use wu-ftp.

I think I will settle for the last option.

I received helpful suggestions from the following people:



















Thank you all,
  Wolfgang
--
Dipl.-Wirtsch.-Inf.     Voice:  +49 261 6509 173
Wolfgang Roeckelein     Fax:    +49 261 6509 179

Burgplatz 2                     (NeXTmail ok)
D-56179 Vallendar
Germany

2. help - kernel compilation

3. I want FTP default to be -rwxrwxrwx files, NOT system default like -rw-rw-rw- files !

4. LINUX... YYEEEEEEESSSSS!!!

5. Automated root password change from program

6. File permission set to -rw-rw-rw-?by Apache/CGI?

7. CD in Script

8. A SIMPLE SHELL PROGRAM CHANGE /etc/passwd mode to -rw-rw-rw-

9. flexlm on HPs requires rw-rw-rw- on /dev/lan0

10. vi (Re: =-> Is /tmp: -rw-rw-rw- root system" a risc?)

11. create a srw-rw-rw- device ?

12. FTP'ed files default to '-rw-r--r--' i need '-rw-------'