postwwwacctuser doesn't run. Any requierement?

mstuebner

Well-Known Member
May 13, 2007
50
0
156
Hello,

to do some post-creation actions (setting chmod in special dirs) I wrote a postwwwacctuser in /scripts/ but it seems not to be called, because even a test with "touch file" doesn't create a file.

1. The script is owned by root:root and rwx. Anything else needed?
2. Second, how can the script output text to the webbrowser while running?

Maybe question 2 disappears if 1. is solved.

br Matthias
 

mstuebner

Well-Known Member
May 13, 2007
50
0
156
Problem was in front of the screen.

The postwwwacctuser just missed the #!/usr/local/bin/php in its first line.