Page 1 of 1

File Permissions FTP

Posted: Thu Mar 23, 2006 12:21 pm
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.

Re: File Permissions FTP

Posted: Thu Mar 23, 2006 1:24 pm
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?!

Re: File Permissions FTP

Posted: Thu Mar 23, 2006 1:37 pm
by jelle
hmm interesting. It is as dangerous as your other users coming in and 'tidying up' :)

Re: File Permissions FTP

Posted: Fri Mar 24, 2006 6:28 pm
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.

Re: File Permissions FTP

Posted: Mon Apr 03, 2006 3:00 pm
by jelle
not that I am aware of, but you should grep for that term in the sourcetree and see for yourself.