TinyMCE file browser enforces 777 on all thumbs directories?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
dlen
Forum Members
Forum Members
Posts: 67
Joined: Fri Apr 09, 2010 11:32 pm

TinyMCE file browser enforces 777 on all thumbs directories?

Post 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
User avatar
Rolf
Dev Team Member
Dev Team Member
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: TinyMCE file browser enforces 777 on all thumbs director

Post by Rolf »

Do you also have issues installing modules? Might be file owner problems at the server
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
dlen
Forum Members
Forum Members
Posts: 67
Joined: Fri Apr 09, 2010 11:32 pm

Re: TinyMCE file browser enforces 777 on all thumbs director

Post 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.
User avatar
Rolf
Dev Team Member
Dev Team Member
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: TinyMCE file browser enforces 777 on all thumbs director

Post by Rolf »

- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Locked

Return to “Modules/Add-Ons”