AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
Expand all | Collapse all

ftp stripping permissions

  • 1.  ftp stripping permissions

    Posted Tue April 08, 2014 07:07 AM

    Originally posted by: pmcwatt72


    Hi,

    I start with a file with rw-rw-r-- permissions. I ftp it to another system and it strips it back to rw-r--r--

    I've tried setting the umask for the ftp daemon to 007 but I get the same results. (ftpd -u 007)

    All other umask settings are as default.

    How do I keep permissions following the transfer?

     


    #AIX-Forum


  • 2.  Re: ftp stripping permissions

    Posted Wed April 23, 2014 05:17 AM

    Originally posted by: Wouter Liefting


    Use scp or rsync with the appropriate options. Or use lftp and use the chmod command within lftp after the transfer.


    #AIX-Forum