[NTLUG:Discuss] ProFTPD frustrations

Eric Schnoebelen eric at cirr.com
Fri Feb 18 19:44:54 CST 2000


TJ Bell writes:
- MadHat wrote:
- > The docs mention that the number should be octal in the format of 0xxx,
- > so maybe you are missing the leading 0?  I am not a ProFTPd user, just
- > trying to aid another set of eyes to the problem.  If that doesn't work,
- > let me know...  I might have some time to play with it.
- 
- That didn't work either, but it changed something...after upload, file
- permission is -rw-r--r-- (644), which makes me wonder if the umask of
- 022 is complementing 666 to make 644 instead of complementing 777 to
- make 755??  If so, how would I fix that??  Ideas??

	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..)

--
Eric Schnoebelen		eric at cirr.com		http://www.cirr.com
		Q: What kind of a dog says: "bofh! bofh!" ?
		A: A rootweiler.
                                        -- oyvindmo at pvv.ntnu.no




More information about the Discuss mailing list