Page 1 of 1

mkdir(events/4): Permission denied

Posted: Sat Jun 11, 2005 7:03 pm
by bhomass
I am adding monitor on the console and got :

Warning: mkdir(events/4): Permission denied in /var/www/html/zm/zm_actions.php on line 234


Warning: symlink(): Permission denied in /var/www/html/zm/zm_actions.php on line 236

each time. after a search, it seems these are bugs supposedly fixed in version 1.20.1. I am using 1.21.0, running on Suse 9.3.

do these warning matter? how to remove them?

Thanks

Re: mkdir(events/4): Permission denied

Posted: Sat Jun 11, 2005 7:19 pm
by cordel
bhomass wrote:I am adding monitor on the console and got :
Warning: mkdir(events/4): Permission denied in /var/www/html/zm/zm_actions.php on line 234
Warning: symlink(): Permission denied in /var/www/html/zm/zm_actions.php on line 236
Check your permissions for the event folder that the web user (same user and group you used in the configure for zm) can READ and WRITE.
Regards,
Cordel

Posted: Sat Jun 11, 2005 7:33 pm
by bhomass
I checked. the event dir has apache:apache for u&g, in agreement with configure setting (default). nevertheless, I did a chmod o+w, and got rid of the waring messages. why is that? is zm running as some one else?

Thanks

Posted: Sat Jun 11, 2005 7:43 pm
by cordel
ZM will run as whom ever you configure it for but needs to be the same user and group that the web server is running. which varies depending of the flavor of linux.

Posted: Sat Jun 11, 2005 9:37 pm
by bhomass
your are right. they default to wwwrun:www. I changed them to apache:apache

Thanks for the directions