[NTLUG:Discuss] ProFTPD frustrations
Victor Brilon
victor at vail.net
Fri Feb 18 23:49:15 CST 2000
There's no way for your ftp daemon to do this without hacking the
source. Why not just write a simple daemon (in perl/shell/whatever) that
checks the upload dir every so often and fixes the permission when it
sees new files?
Victor
On Fri, Feb 18, 2000 at 11:39:29PM -0600, TJ Bell wrote:
> Eric Schnoebelen wrote:
> >
> > You're not going to get the ftp server to open the file
> > for writing _and_ execute permissions. ftpd's generally open
> > files for read/write.
> >
> > If you want a file to be executable after you've
> > uploaded it, you'll need to do a site specific command.
> > Generally, ``SITE CHMOD <args> <filename>'' will do what you
> > request.. (of course, any and all of the SITE extentions may be
> > disabled in a given ftp server..)
>
> There's got to be some way of doing it. Before putting these files on
> this linux box, we were uploading them to Webjump via FTP and it did all
> of that for us. Basically what I need is for the user (webmaster) to be
> able to FTP into the system, upload the files, and the site is updated.
> But unless the files are +x for the world, they won't be visible to web
> surfers.
>
> I'm the guy in the "Anti-DVD CCA" shirt and Copyleft hat tomorrow if
> anyone has ideas!! ;-)
>
> --
> TJ Bell -aka- MudPoet
> echo tjbexx at usa.nyz | tr xyz let
> http://tjbell.dhs.org
> ICQ: 6014042 - AIM: MudPoet
>
> _______________________________________________
> http://ntlug.org/mailman/listinfo/discuss
--
Victor Brilon
victor at vail.net
Random thought for the day --
> This made me wonder, suddenly: can telnet be written in perl?
Of course it can be written in Perl. Now if you'd said nroff,
that would be more challenging... --Larry Wall
More information about the Discuss
mailing list