Page 1 of 1

[solved] Can't Edit Files

Posted: Mon Dec 10, 2007 8:24 pm
by paradox
I have installed the Cataloger module via the module manager. I edited  the item template and when I attempted to upload the new file and overwrite the original one I got a "you don't have permission" message from my Cute FTP program.

I'm assuming thre reason why I don't have permission is because the files were upped and installed by the module manager.

Is there a way to gain permissions to overwrite the template files or is it best to remove the cataloger module from the CMSMS admin interface and then reinstall it by downloading the cataloger and FTPing it back up to the modules files directory.

For access to editing module files in general is it best to avoid using the module manager to install the modules?

Thanks

Re: Can't Edit Files

Posted: Mon Dec 10, 2007 8:40 pm
by kermit
since your php runs as the webserver; the webserver user and not your hosting account user, owns the files.

the easy answer is..... edit the templates from the admin area; NOT via ftp. cataloger templates are editable via extensions -> cataloger.

this is not a 'problem' specific to cmsms, so please don't blame it.

under most circumstances, you should never have to edit files in ./modules unless you're modifying existing code. templates and settings are generally editable from the admin area. if you do need to upload a changed file or two and cannot via ftp because 'you' don't 'own' the files; try the filemanager in advanced mode before resorting to having your host chown the affected directories/files to your user (which would also require a chmod to 777/666 as well so cmsms can also write/maintain/uninstall the files).

Re: Can't Edit Files

Posted: Mon Dec 10, 2007 8:41 pm
by calguy1000

Code: Select all

this is not a 'problem' specific to cmsms, so please don't blame it.
Heh.... people are catching on.

I consider this topic closed.

Re: [Solved] Can't Edit Files

Posted: Mon Dec 10, 2007 9:23 pm
by paradox
Thanks a lot  :)