FTP permissions and module files editing

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
mrdunkeriz
Forum Members
Forum Members
Posts: 15
Joined: Sun Feb 14, 2010 8:58 am

FTP permissions and module files editing

Post by mrdunkeriz »

Hello,

I haver an issue with FTP permissions on CMSMS. To begin with, I uploaded a few modules, they don't work as I expected, I want to delete them - I can't: "Permission denied". But I can rename them (wierd!). So I forgot this one for a while. Now I want to alter some code in Gallery module files. But I can't upload/overwrite files. I try to change files and/or directory permissions via FileZilla - "Operation not permitted". Maybe somebody knows, what's going on? Any help would be very much appreciated!

BTW it seems, this problem only exists inside "Modules" directory, because I was able to change some core code before.

Thanks in advance!

Regards
Arminas
NaN

Re: FTP permissions and module files editing

Post by NaN »

Hello Arminas,

How did you install the modules the first time?
Did you use the ModuleManager or a WebFTP (some providers offer this)?

If so your FTP account is not owner of the files but the webserver itself.
And therefore you cannot change the files via FTP but by the server.
Most webspace providers offer tools that can reset the file owners to a certain user account.
Try to set the file owner of modules (and each subdir and files ...) to your FTP account.

If there is no such tool enable the advanced settings of the FileManager and browse to your modules folder. Try to delete the modules you want to change with the FileManager and then upload the files via FTP again.

If this all fails i cannot help you anymore.
Sorry.
But in the most cases your provider still can.
mrdunkeriz
Forum Members
Forum Members
Posts: 15
Joined: Sun Feb 14, 2010 8:58 am

Re: FTP permissions and module files editing

Post by mrdunkeriz »

Thanks, NaN!!! You were right - I installed different modules in a different manner. Advanced File manager is a life saver! I did deleted unnecessary folders and set permissions to the others, so I can upload whatever I want now. Thanks again, you saved me a lot of time :)
Post Reply

Return to “Developers Discussion”