Page 1 of 1

TinyMCE file browser enforces 777 on all thumbs directories?

Posted: Wed Sep 21, 2016 2:21 pm
by dlen
Action:
Open page in backend with TinyMCE as Editor.
Klick on edit/insert image.
Klick on file browser button.

Result:
Some thumbnails are shown, others not.
Those not shown are located in the /tmp/thumbs/images - subtree.

403 - error message in browser:

Code: Select all

...
Server unable to read htaccess file, denying access to be safe.
Server error log something along the lines:

Code: Select all

[Wed Sep 21 15:46:42.969087 2016] [core:crit] [pid 8733:tid 140556395001600] (13)Permission denied: [client 91.40.193.85:54962] AH00529: /var/www/web411/html/cmsms/tmp/thumbs/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/web411/html/cmsms/tmp/thumbs/' is executable, referer: http://mysite.tld/modules/TinyMCE/responsive_filemanager/filemanager/dialog.php?type=1&descending=false&lang=de&akey=49d387f0f832fcf58a28aca32a6ee541
- and this for every subdirectory as well. So I need all directories world-accessable and in each one a world-readable .htacess.

This means in my case, that the whole subtree has to get 777 permission settings for the directories in order to make the TinyMCE - file browser load the thumbs. Which seems kind o' nightmarish to me.

Could anybody explain, why tMCE needs other permission settings as the rest of CMSMS, and whether there is a better way to make it work?

- any constructive comment welcome

Re: TinyMCE file browser enforces 777 on all thumbs director

Posted: Wed Sep 21, 2016 3:39 pm
by Rolf
Do you also have issues installing modules? Might be file owner problems at the server

Re: TinyMCE file browser enforces 777 on all thumbs director

Posted: Wed Sep 21, 2016 8:09 pm
by dlen
I did only install CGsimplesmarty and tinyMCE, and those described above were my only problems.

afaics all files are owned by one owner, web123, of group web123.

Somehow, for tinyMCE other settings are necessary than for CMSMS core, respectively the file manager.

Re: TinyMCE file browser enforces 777 on all thumbs director

Posted: Thu Sep 22, 2016 5:44 am
by Rolf