File Permissions FTP

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
vollstock

File Permissions FTP

Post by vollstock »

Hi there,

I have installed a module. After that I wanted to upload a translation file via FTP. But I don't have the right to do so.
I think this is because I am not the owner of that file. Maybe the owner is the database user?!
Now I don't have the rights to upload a file in any directory CMSMS created. I don't even have the rights to delete the whole CMS. Those directories I didn't create will always remain.

Is there a way to cheat the File-Manager-Module to browse the CMS Folders?

Thank you very much for your help.
vollstock

Re: File Permissions FTP

Post by vollstock »

It seemed that I just have to change two lines in config.php.

Code: Select all

$config['uploads_path'] = '/home/mydomain/html';// /uploads
$config['uploads_url'] = 'http://www.mydomain.de';// /uploads
After commenting the "upload"-folder the file-manager startet one level deeper and I was able to upload and delete whatever liked.

Is this dangerous in any way? I can imagine that the file-manager is the only use for those variables.

Maybe its a good feature for future versions to give admin-users the permission to start one level deeper?!
jelle

Re: File Permissions FTP

Post by jelle »

hmm interesting. It is as dangerous as your other users coming in and 'tidying up' :)
vollstock

Re: File Permissions FTP

Post by vollstock »

There are no other users.
I wouldn't do that if ther were any ;)

My Question was if some other scripts also needed those variables and if something won't work correct after changing them.
jelle

Re: File Permissions FTP

Post by jelle »

not that I am aware of, but you should grep for that term in the sourcetree and see for yourself.
Locked

Return to “CMSMS Core”