• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Yet ANOTHER issue with Plesk. FTP.. Permissions

EricHamby

Basic Pleskian
i installed WordPress via the panel. Been using the site now a bit and when i look at the directory through the panel i see.

wp-content
>envato-backups
>languages
>plugins
>themes
>upgrade
>uploads
>index.php

However when viewing it with dreamweaver is get.

wp-content
>languages
>plugins
>themes
>index.php

I am also unable to upload or do anything to the directories that arent showing though dreamweaver. Upload fails immediately.
 
This is most likely due to the Subscription not being set to use php in fastcgi mode (i.e. it is using mod_php instead).

What happens in mod_php mode is that any files/directories created by a php script are owned by apache. These files can't then be modified/uploaded to by the "ftp username" via Dreamweaver. Similarly, Plesk's File Manager only allows files/directories owned by the ftp username to be edited/uploaded to.

All the files and directories should still be viewable in Dreamweaver (Remote site, not Local). I'm guessing that the "other" attribute on some of those directories is not set to allow reading or something like that, as otherwise you'd at least get a copy of the file locally, even if you can't edit it remotely.

The solution to this is to change to running php via fastcgi, and also to recursively chown the directories and files to be owned by the ftp username (note: do make sure you include any .htaccess files in the chown).

There is some small risk of screwing things up when doing this, so make a backup first.

You'll note that the permissions on some directories and files in the existing site may look a bit odd -- they are 757 or 747 or something. This is to allow the php script (apache) to create files and subdirectories (e.g. the upload directory) in mod_php mode without encountering write/create file permission problems. Most of these odd file permissions are not required when running php in fastcgi mode, but altering them could be a bit tricky as it isn't always obvious what directory needs to be set to what, so it might be best to leave them as they are (though there is a small security risk involved).
 
after looking around seems it is set to fastcgi already.

Also tested this in filezilla and got same results.
 
Last edited:
Check which user owns those directories. It is possible WP was installed in mod_php mode, but the site was later switched to fastcgi. If the problem directories are owned by apache then the site was definitely created in mod_php mode and that's definitely what the problem is. Also check the permissions on those directories, as outlines in my original post, just in case.

You can change all sites in one go by adjusting the Service Plan, I think.

mjehlenz's suggestion is interesting. It isn't something I'd have thought of. We learn something new all the time.
 
Back
Top