• 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.

Can't do anything to files in subdirectory

T

thaigringo

Guest
I have just installed Joomla in a subdirectory on a shared hosting site. When i try to do any changes to the site I receive an error...

Permission denied... Access denied... etc
This is no matter how i try... ftp... filemanager... Joomla admin

It seems that all the directories and files after the install are owned by apache and i do not have access to that group...

I can't find any place in the plesk control panel that allows me to gain access...

HELP please

below is just one of the errors from plesk file manager

Error: Unable to remove file /httpdocs/Joomla/images/frontslideshow//var/www/vhosts/world-kumite.org/httpdocs/Joomla/images/frontslideshow/01.jpg: filemng failed: rm: cannot remove `/var/www/vhosts/world-kumite.org/httpdocs/Joomla/images/frontslideshow/01.jpg': Permission denied
filemng: Error occured during /bin/rm command.
 
Use utility vhostmng to restore original permissions and owners under a virtual host. Here is the syntax:

~# /usr/local/psa/admin/sbin/vhostmng --install-vhost --vhost-name=<domain name> --user-name=<username> --set-content-permissions

Where <domain name> is domain name where to restore permissions; <username> is domain's FTP user that is configured in Parallels Plesk Panel on page Domains -> <domain name> -> Setup.
 
If Joomla is in a subdirectory, it inherits the ownership and permissions from the top. Why subdirectory? Why not it's own domain and file structure? More control over settings that way...or even a subdomain is better...


When using Joomla for a domain, go into the web hosting settings for the domain, and under "services" make sure that "php support" is checked, then in the "run as)" hit the dropdown and select "fastCGI application" with "php 'safe mode' not selected.

Otherwise apache has permissions, not the user such as you.

Also, check the permissions for the directories and the files...directories should be at 644 and files at 755... you can run these commands in the httpd directory to reset this:

find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;

whiles you're there, verify that the directories and files are owned by the user, not apache or root (after you change the web settings to fastCGI).

If after all that does not correct the owners and permissions, run "chown" to change ownership manually.

Also, verify in the joomla admin that the files are all writable....
 
Back
Top