Re: FTP Umask?

From: Sue Pellerito (Sue.Pellerito@JACKINTHEBOX.COM)
Date: Tue Oct 08 2002 - 13:23:56 EDT


I would like to try this. Did you get a reply from Viren regarding your
question? I have a few users who complain that their permissions have
changed after an ftp from windows or mainframe.

"Johnn D. Tan" <jdtan@MED.CORNELL.EDU>@Princeton.EDU> on 10/07/2002
04:53:06 PM

Please respond to IBM AIX Discussion List <aix-l@Princeton.EDU>

Sent by: IBM AIX Discussion List <aix-l@Princeton.EDU>

To: aix-l
cc:

Subject: Re: FTP Umask?

Viren:

Just curious: how does AIX know to associate the 5021 port with the
new line you entered in inetd.conf? Is it the order that matters?

johnn

>Yes, this is possible. Requires the sys admin and the user to do a few
>things. If its a one time/infrequent deal then let them telnet and
>chmod, if not read on....
>
>In /etc/inetd.conf add a line like this
>ftp stream tcp6 nowait root /usr/sbin/ftpd ftpd -u 777
>
>In /etc/services add a line like this
>ftp 5021/tcp
>
>I have just picked a port number for the above, can be any valid port
>number.
>You can leave the existing entries for ftp in the above files as is for
>regular users who want to have the default values for umask.
>
>Recycle inetd
>stopsrc -s inetd ; startsrc -s inetd
>
>The user, depending on the ftp program being used will need to specify,
>the port number - 5021 in this case. If coming from another UNIX system
>then the ftp command has a parameter to specify the port number.
>For more info look at man pages for ftp and ftpd.
>
>Viren Gupta
>Time Inc
>
>
>antfio@MUZE.COM wrote:
>
>>Good Day,
>>
>> I was wondering if it was possible to have a user FTP a file to
AIX
>>with the permission of 777. Does anyone know if this is possible, or will
he
>>just have to telnet in and chmod it later?
>>
>>TIA,
>>
>>Anthony



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:15 EDT