#1  
Old 21st April 2006, 14:32
r12dk r12dk is offline
Junior Member
 
Join Date: Apr 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Change default ftp umask

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.
Reply With Quote
Sponsored Links
  #2  
Old 21st April 2006, 14:44
r12dk r12dk is offline
Junior Member
 
Join Date: Apr 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.)
Reply With Quote
  #3  
Old 21st April 2006, 15:56
tom tom is offline
Senior Member
 
Join Date: Apr 2006
Posts: 492
Thanks: 8
Thanked 8 Times in 7 Posts
Default

The umask for ftp upload I guess you can change here:
Quote:
/etc/proftpd_ispconfig.conf
tom
Reply With Quote
  #4  
Old 21st April 2006, 16:20
r12dk r12dk is offline
Junior Member
 
Join Date: Apr 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #5  
Old 21st April 2006, 18:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

You could have changed it in /etc/proftpd.conf. That file doesn't get overwritten by ISPConfig.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change default web-template hagel Installation/Configuration 15 29th March 2010 17:10
how to change the default port 81 ? Jugernaut Installation/Configuration 12 10th February 2010 15:09
WEB UI FTP not working gimhan90 Installation/Configuration 2 16th March 2006 09:03
Change the default language and theme Felipe Tips/Tricks/Mods 2 13th December 2005 18:11
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs pontifex HOWTO-Related Questions 2 26th October 2005 18:54


All times are GMT +2. The time now is 08:08.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.