Hey Travis,

with the newest dev I get following error:

warning: chmod() [function.chmod]: Operation not permitted in /www/htdocs/w00c124a/water/sites/all/modules/mediafront/players/osmplayer/player/OSMPlayer.php on line 418.

The permissions of /sites/all/mediafront/players/osmplayer/player/OSMPlayer.php and the css directory are 777.

What could I do?

Yannick

Comments

yannickoo’s picture

   	  // Now make sure the directory has the right permissions.
   	  chmod( $css_dir, 0775 );

When I change the permissions of the css directory to 755 I still get the error message ;(

travist’s picture

Yeah, it seems your server has disabled the chmod for your server user. I am going to have to think about how to fix this and get back with you. I may have to move all the CSS files back to the files folder.

yannickoo’s picture

This should be the best /sites/default/files/mediafront/css or so ;)

I called my provider and asked for this. They said that chmod is enabled cause it's Linux :D

I will test the chmod function with a single php script. Hold on.

Yannick

yannickoo’s picture

In my case chmod works only in cgi modus ;)

yannickoo’s picture

Status: Active » Fixed
yannickoo’s picture

Status: Fixed » Closed (fixed)
zaitsev’s picture

Issue summary: View changes

How did you fix it? i have a problem like this.