PDA

View Full Version : Change default ftp umask


r12dk
21st April 2006, 14:32
Hello

Where do i change the deafult umask for the ftp?
Iam running proftpd and, where do i change the umask?

I can upload with the 022 umask, but apacke cant read the files.
ie:
Warning: Unknown(/var/www/web5/web/index.php): failed to open stream: Permission denied in Unknown on line 0

My files get uploaded with -rw------ (0600) permissions.

Thanks, Peter.

r12dk
21st April 2006, 14:44
And, also, kind of the same problem.

I want to change the openbase dir, where?

If i put in the php_admin_value in the site manager in ISP it is written i the start of VirtualHost and there by gets overwritten later with the default.

(I want to get :/usr/share/php:/usr/share/pear into the openbase dir, for pear access.)

tom
21st April 2006, 15:56
The umask for ftp upload I guess you can change here:
/etc/proftpd_ispconfig.conf
tom

r12dk
21st April 2006, 16:20
Hello Tom

yes, its the file, but ispconfig rewrites the config on restart.

But i found it, anyway:

for proftpd theres a master file in /root/ispconfig/isp/conf/proftpd_ispconfig.conf.master

and for apache its

/root/ispconfig/scripts/lib/config.lib.php

Now its working.

falko
21st April 2006, 18:21
You could have changed it in /etc/proftpd.conf. That file doesn't get overwritten by ISPConfig.