I'm trying to develop a Plugin for Mura CMS. When I upload the plugin zip file through the admin panel all the file permissions in the /plugin directory are 644 so I can't modify the cfm files in order to develop and debug on the server without repeating the upload process
My server ftp keeps changing the file permissions back to 644 after I change them to 777
Please could anyone suggest a way to get around this
Thanks David
First, if you're running into permissions issues after uploading the file via the Mura administrator, then you need to check the permissions granted to Mura. If Mura has correct permissions, the file will automatically be granted 777, or whatever has been set in the /config/settings.ini.cfm file's
defaultfilemode
setting.Secondly, if you wish to try uploading the plugin directly to Mura, unzip the plugin. Then FTP the plugin under the /plugins/ directory. For example:
/plugins/YourPlugin/
Then, open
/config/settings.ini.cfm
and see if you have a setting forautoDiscoverPlugins
... if not, go ahead and add it, then set the value totrue
. Reload Mura, and then the plugin should be "soft deployed" and you can then go to to the Settings > Plugins, and click the pencil icon to assign it to any site(s).That said, if after uploading the files via FTP still gives you trouble, then again, it's not a Mura issue, it's due to your server's permissions setup.
Cheers, Steve