View Single Post
  #4  
Old 6th February 2006, 18:45
st2xo st2xo is offline
Member
 
Join Date: Jan 2006
Location: Wiesloch [DE]
Posts: 47
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
The xript is /root/ispconfig/scripts/lib/config.lib.php. Look at the function make_docroot() (around line 966).
Thank you Falko - I think I first check out su_php. If that do not work I like, IŽll patch the file (but probably it will ...)
If somebody else could use this info: the two rows on line 1083 should be changed from
Code:
exec("chown -R $apache_user:web$doc_id $web_path_realname &> /dev/null");
exec("chown -R $apache_user:web$doc_id $web_path &> /dev/null");
to
Code:
exec("chown -R wwwrun:web$doc_id $web_path_realname &> /dev/null");
exec("chown -R wwwrun:web$doc_id $web_path &> /dev/null");
sometimes wwwrun is www-data - check this out before! This is not tested!


there is a very strange thing I observed:
is there any process that checks every 1-2 minutes the file owners in /home/www and makes changes on it?

I added one user manually with useradd, this user has now the uid 10028 (this is the highest number in /etc/passwd but not the last entry).

Now, a web directory /www/web22 is being permanently changed to xyz.web22 (where xyz is the user with uid 10028). All other dirs in /www are untouched.

(the /www/web22 directory is the second last web, so the last is web23)
Do you know what this could be?
__________________
regards,
Stefan.

Last edited by st2xo; 6th February 2006 at 18:47.
Reply With Quote