Issues about Setting TMCE in directories

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
thuyengo
Forum Members
Forum Members
Posts: 10
Joined: Wed Feb 22, 2017 7:12 am

Issues about Setting TMCE in directories

Post by thuyengo »

Hello all member!

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?

Thank's a lot!
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Issues about Setting TMCE in directories

Post by velden »

A world-readable .htaccess seems like a contradiction to me.
My first guess would be a somewhat strange/restrictive web server setup.

Many files in de /tmp (sub)folders need to be world-readable. E.g. the cached css files.

Installed latest TinyMCE on latest public CMSMS and works for me.

BTW: TinyMCE is a 3rd party module. So not core CMSMS.
Post Reply

Return to “Modules/Add-Ons”