[NTLUG:Discuss] ProFTPD frustrations

TJ Bell tjbell at usa.net
Wed Feb 16 12:49:41 CST 2000


MadHat wrote:
> 
> TJ Bell wrote:
> >
> > I'm ftp-ing into a machine which runs ProFTPD as its ftp daemon.  When I
> > upload files, I want them to automatically be given permission of 755.
> > In /etc/proftpd.conf on the hosting machine, there is a line that reads:
> > Umask     022
> > and if I telnet into the box (as the same user) and type `umask`, it
> > reports 022.  Shouldn't this make it do what I'm wanting it to do??
> >
> > Every file that is uploaded is set 640 and it's driving me NUTS.
> >
> > Any and all help is appreciated.
> 
> 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??

-- 
TJ Bell -aka- MudPoet
echo tjbexx at usa.nyz | tr xyz let
http://tjbell.dhs.org
ICQ: 6014042 - AIM: MudPoet




More information about the Discuss mailing list