Mairi,
2 ways.

1) Have user issue "umask 022" EVERY time she/he ftps' in! :(

or

2) Change the line in /etc/inetd.conf:

ftp  stream  tcp  nowait root /usr/sbin/tcpd  in.ftpd -l -a
to
ftp  stream  tcp  nowait root /usr/sbin/tcpd  in.ftpd -l -a -u 022

and then "kill -HUP ($pid of inetd)"

This (option 2) will change for all users.

Rick

On Wed, 8 Apr 1998, Mairi Maloney wrote:

> Can someone tell me where I need to configure a user's umask for ftp
> access. I have set the default umask to be 002 in the /etc/profile file as
> well as set the umask in her .bash_profile file. If she logs on at the
> console or thru telnet, files are created in the proper mode. However, when
> she logs on thru ftp (which is most common) files are created as if the
> umask were 022. This creates no end of access problems for other users who
> need write access to those files/dirs.
> 
> Thanks for any help.
> 
> mairi
> 
> ***************************************************************************
> 
> Mairi Maloney
> Coordinator, Computer Operations
> School of Information Resources and Library Science
> University of Arizona
> (520)621-3958
> [EMAIL PROTECTED]
> 
> "When I give food to the poor, they call me a saint. When I ask why
> the poor have no food, they call me a communist."  
>                                Dom Helder Camara, Archbishop of Brazil
> 
> 

--
Rick L. Mantooth        [EMAIL PROTECTED]
http://www.why.net/users/rickdman/index.html
I don't suffer from insanity, I enjoy every minute of it.


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to