This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[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
Thanks given by:


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 40 ,801 06-15-2021, 06:54 AM
Last Post: TGates
[MODULE] SenBrand - Basic Branding module for Sentora TGates 20 43 ,636 06-04-2021, 11:47 AM
Last Post: ccr1969
[MODULE] CoinCorner BitCoin Module Xversion 4 13 ,114 06-03-2021, 05:02 AM
Last Post: zHostingSolutions

Forum Jump:


Users browsing this thread: 1 Guest(s)