BlockquoteWhy not simply test it? If it works for a user with sudo permissions and not for another user, then you know itâs a MODX permission issue.
This is what is confusing. She is the site admin. Has FULL access to everything in the Administrator ACL (which has all options selected). She is SUDO from what I can see. And she cannot use the browse function in the RTE. Gets that error message.
Which makes me belive it is a configuration issue? Like that elfinder application does not know of, or is going to, the correct path to where all the files should be stored.
I searched for a long time trying to figure out how to see where its path is being referenced or set. I donât see anything logical in the MODX system settings that is related to this.
And what I see in, what I think, is the elfinder configuration file is this:
// Documentation for connector options:
// https://github.com/Studio-42/elFinder/wiki/Connector-configuration-options
$opts = array(
// 'debug' => true,
'roots' => array(
// Items volume
array(
'driver' => 'LocalFileSystem', // driver for accessing file system (REQUIRED)
'path' => '../files/', // path to files (REQUIRED)
'URL' => dirname($_SERVER['PHP_SELF']) . '/../files/', // URL to files (REQUIRED)
'trashHash' => 't1_Lw', // elFinder's hash of trash folder
'winHashFix' => DIRECTORY_SEPARATOR !== '/', // to make hash same to Linux one on windows too
'uploadDeny' => array('all'), // All Mimetypes not allowed to upload
'uploadAllow' => array('image/x-ms-bmp', 'image/gif', 'image/jpeg', 'image/png', 'image/x-icon', 'text/plain'), // Mimetype `image` and `text/plain` allowed to upload
'uploadOrder' => array('deny', 'allow'), // allowed Mimetype `image` and `text/plain` only
'accessControl' => 'access' // disable and hide dot starting files (OPTIONAL)
),
// Trash volume
array(
'id' => '1',
'driver' => 'Trash',
'path' => '../files/.trash/',
'tmbURL' => dirname($_SERVER['PHP_SELF']) . '/../files/.trash/.tmb/',
'winHashFix' => DIRECTORY_SEPARATOR !== '/', // to make hash same to Linux one on windows too
'uploadDeny' => array('all'), // Recomend the same settings as the original volume that uses the trash
'uploadAllow' => array('image/x-ms-bmp', 'image/gif', 'image/jpeg', 'image/png', 'image/x-icon', 'text/plain'), // Same as above
'uploadOrder' => array('deny', 'allow'), // Same as above
'accessControl' => 'access', // Same as above
)
)
);
That comes from the file:
public_html/assets/components/fred/web/vendor/elfinder/php/connector.minimal.php-dist
which is the only config file I find that has anything to do with elfinder. Which I donât think is used because it has .php-dist as the file extension and not simply .php??