[NTLUG:Discuss] ProFTPD frustrations

MadHat madhat at unspecific.com
Wed Feb 16 07:37:43 CST 2000


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.

-- 
%_=split';','f; Perl ;h;st a;o;ker;@;not;.;hac;u;her;d;ju';
print map $_{$_}, split //,
'madhat at unspecific.com'




More information about the Discuss mailing list