SUMMARY: ftp and umask

From: Brehl, Blake (Blake.Brehl_at_anritsu.com)
Date: 10/14/05

  • Next message: jeduardo_at_br.ibm.com: "MIBs EVA 3000"
    Date: Fri, 14 Oct 2005 11:28:08 -0700
    To: tru64-unix-managers@ornl.gov
    
    

    Original below. FTP doesn't read the .profile. Found the SITE command
    supported by the ftpd, which solves the immediate problem.

    ftp> binary
    ftp> site umask 002
    200 UMASK set to 002 (was 022)
    ftp> put somefile

    Also found HPUX supports calling the ftpd in inetd.conf with a call -u
    022, and the client session inherits the umask of the account running
    the ftpd. Didn't find the -u in the Tru64 man pages and didn't try it.
    It may be possible to run ftpd out of another account.

    Best Regards, Blake

    -----Original Message-----
    Tru64UNIX V5.1a sp3
     
    trying to ftp from one Alpha to another and have the permissions arrive
    as 664. Doesn't seem to matter what the source file permissions are,
    the target always arrives as 644. The target server /etc/profile umask
    is 022, the account used for ftp has 002 umask in the .profile.
    Touching a file becomes the desired 664. Any ideas?
     
    Best Regards,
     
    Blake Brehl
    Sys Admin/DBA
    Anritsu Company United States
    Morgan Hill, CA
    blake.brehl@anritsu.com

    This message is intended for the use of the individual/entity to whom it is addressed. This message may contain privileged information exempt from disclosure. If you are not the addressee, distribution or copying of this message, or dissemination of the information contained herein, is strictly prohibited. If you should receive this message in error, please destroy it, or return to sender. Thank You.


  • Next message: jeduardo_at_br.ibm.com: "MIBs EVA 3000"

    Relevant Pages

    • How do I alter timeout and default umask of ftpd ?
      ... I have a solaris 9 server. ... I need to force a umask of 002 on files uploaded and I need the ftp session ... # FTPD - FTP server daemon ...
      (SunManagers)
    • Re: Default permission bits on USS files
      ... UMASK controls the bits that will *not* ... The creating program in the case of ftp, ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
      (bit.listserv.ibm-main)
    • ProFTP
      ... ich hoffe hier kann mir jemand bei meinem FTP Problem helfen. ... # Umask 022 is a good standard umask to prevent new dirs and files ... # Set the user and group under which the server will run. ... Aber ich komme immer in das Homeverzeichnis. ...
      (de.comp.os.unix.linux.misc)
    • Re: Setting default umask for ftp
      ... When I ftp to my AIX box, and put files there, they are created with some ... umask, that is not the same as my users umask, defined in smitty. ... Where can I set the umask for files created via ftp login? ... Man ftpd for the details. ...
      (comp.unix.aix)
    • Re: Setting default umask for ftp
      ... umask, that is not the same as my users umask, defined in smitty. ... Where can I set the umask for files created via ftp login? ... In /etc/inetd.conf on the server side you may use sth like: ...
      (comp.unix.aix)

  • Quantcast