[Module] ELFileManager (build on elfinder)
#80
RE: [Module] ELFileManager (build on elfinder)
(04-01-2017, 09:19 PM)ponte Wrote: hi all,

is there a chance a chmod operation could be added to his plugin?

Many thanks

Default settings have chmod turned off.
With some adjustments you can turn it on.

Here's how I got it working on a CentOS 7 host:

(1) /etc/sentora/panel/modules/ELFileManager/app/php/elFinderVolumeDriver.class.php
Change 'statOwner' and 'allowChmodReadOnly' (on or about lines 257-259) to true.

Code:
                'statOwner'       => true,                 // allow exec chmod of read-only files                 'allowChmodReadOnly' => true,

(2) /etc/sentora/panel/modules/ELFileManager/app/js/elfinder.full.js
Change self.checkstate (on or about line 10984) to this.checkstate.

Code:
               return !this._disabled && this.checkstate(this.files(sel)) ? 0 : -1;

(3) Install php-posix and php-process

yum install php-posix php-process

(4) restart web services

systemctl restart httpd

Note: 'Change Mode' will appear on the default theme's toolbar as a yellow asterisk at the right of the 'Get Info'. The other themes' toolbar: CHMOD appears in the same location but only as an empty box with no icon.
Reply


Messages In This Thread
RE: [Module] ELFileManager (build on elfinder) - by republicus - 02-07-2018, 01:48 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
[MODULE] phpMyAdmin-AU (Auto-Update) TGates 14 51 ,208 06-15-2021, 06:54 AM
Last Post: TGates
[MODULE] SenBrand - Basic Branding module for Sentora TGates 20 58 ,475 06-04-2021, 11:47 AM
Last Post: ccr1969
[MODULE] CoinCorner BitCoin Module Xversion 4 16 ,836 06-03-2021, 05:02 AM
Last Post: zHostingSolutions

Forum Jump:


Users browsing this thread: 1 Guest(s)