[NTLUG:Discuss] ProFTPD frustrations

Eric Schnoebelen eric at cirr.com
Sat Feb 19 10:49:23 CST 2000


TJ Bell writes:
- 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.

	More than likely the other ftp client was magically
making the file executable for you.  Or perhaps the webjump ftp
server was doing it for you..

	You might take a look around and see if you can find a
ftp client that will replicate the file modes from the client to
the server, and make sure the file modes on the client include
the execute bit..

--
Eric Schnoebelen		eric at cirr.com		http://www.cirr.com
  Fortune: What I want is all of the power and none of the responsibility.




More information about the Discuss mailing list