• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Linux Plesk Joomla

W

WebGuy

Guest
Maybe someone can take a shot at answering this because I sure am befuddled with this "permissions" stuff.

I have read everything I can find concerning and even have purchased a book BUT HAVE FOUND NOTHING ON THIS SUBJECT THAT SUPPLIES A DETAILED EXPLANATION OF HOW IT WORKS OR HOW IT SHOULD WORK.

It would be nice if there was a clear clean explanation of how permissions work AND/OR should work with Linux/Joomla.

When I'm logged into PLESK the file permissions via File Manager are not reading the same as they are in when logged in via FTP and/or Joomla using Xplorer?
How can this be?

If I set the file permissions when logged into FTP or Joomla shouldn't the File Manager in PLESK pick this up and show the same?

If anyone could be so kind as to provide a clear concise explanation of this I would appreciate it.

Now if I SSH in (can only access this (as far as I know) by logging in as "root") I understand that I am also logged in as "Owner"? Is that correct? Why would file permissions be different here?

When I am logged into PLESK and using File Manager am I logged in as "Owner"? because this is what I see Under File Manager in httpdocs/

User = my FTP login
Group = psacln

Last night logged into Joomla via Xplorer FTP I went through all the folders and files and set them to 755 and 644, however I logged back into FTP Joomla admin this morning and found that they were all changed back to previous settings...

AND in PLESK File Manager they were completely different.
I must be losing my mind?

How can this happen? How do I stop this from happening?

It appears as if there is a "file" somewhere that is reading the permissions and not allowing these to be changed?

If there is, where is it and how do I set it to allow for permission changes?

IS there any way to set the permissions so that they are all correct, reading the same thru Plesk File Manager/FTP/Joomla?

Any brave souls out here up to the challenge of a response?
 
I have the same problems to.
This is very annoying, we have alot of customers with joomla.
 
I will try to describe here the WHY is happening and I hope a solution.

WHY?

A: PLESK FTP manager will manage files in PHP, so probably user is apache:apache

B: Regular FTP will upload as domain:psacln

Both of them cannot have access to the same file, so FTP user cannot delete/edit apache:apache files.

SOLUTION:
install mod_suphp (yum, apt-get etc).

Then prepare mod_suPHP (look for other help on forum)

What I write down here, we do with Power Toys VHOST.CONF tool, but can be done manually as well.

Edit httpd.include from /var/www/vhosts/domain.com/conf/

Before </VirtualHost> host add
Include /var/www/vhosts/domain.com/conf/vhost.conf

Then create file vhost.conf

<IfModule mod_suphp.c>
<Directory "/var/www/vhosts/domain.com/httpdocs">
php_admin_flag engine on
suPHP_Engine On
suPHP_ConfigPath "/var/www/vhosts/domain.com/httpdocs"
#AddHandler x-httpd-php .php
AddHandler php5-script .php
#AddHandler x-httpd-php .php .php4 .php3 .phtml
#suPHP_AddHandler x-httpd-php
suPHP_AddHandler php5-script .php
php_value open_basedir "/tmp/"
php_value upload_tmp_dir "/var/www/vhosts/domain.com/httpdocs/tmp/"
</Directory>
</IfModule>

Now should restart apache and should work.
 
Did this solution work? We are having the same issues!!
 
Back
Top