[4590] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: FTP permissions on uploaded files

daemon@ATHENA.MIT.EDU (Alex Mottram)
Fri Nov 15 15:54:53 1996

Date: Fri, 15 Nov 1996 14:49:10 -0600 (CST)
From: Alex Mottram <alex@net-connect.net>
To: Mark Menard <mark@capital.net>
cc: redhat-list@redhat.com
In-Reply-To: <Pine.LNX.3.94.961115162057.3500H-100000@www.netgoth.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

On Fri, 15 Nov 1996, Mark Menard wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> 
> I am in the midst of setting up a server for an ISP using Red Hat 3.0.3. 
> Problem is all files when uploaded via FTP are 664 permissions. I want
> this to be 644 but I don't know where this is set and haven't puzzled it
> from the man pages yet.
> 
> Anyone have an idea?

Try using the -u [umask] (possibly undocumented) wuftpd command line 
option.  i.e:

(in inetd.conf)
ftp     stream  tcp     nowait  root    /usr/sbin/tcpd  in.ftpd -l -a -u023

:)


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post