• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Problems Permissions (after Updates?)

Status
Not open for further replies.

Michaelga

New Pleskian
Hello,

I use Plesk 11.5.30 in newest Version and got problems after updating.
On my instance there are many Joomla-Sites installed.

Last days there was no problem to install and customize. But today
I got problems with FTP-Access.

I have access but when I want to edit CSS_Files or delete data I got
very often "Permission denied".

I am not sure, but I think the Owner/Group was changed. 33 33

Whats happen there? Who can help. If you speak german it would be much more
easier (I am not Linux or Plesk professional).

Regards
Michael
 
Run the following utility to restore default permissions for all domains in-case they were messed up due to the upgrade:

Code:
/usr/local/psa/bin/repair --restore-vhosts-permissions
 
Hello,

thanks for fast response. But when I want to execute the command from root I got error messages...

-----------------
Failed to open cgi-bin: No such file or directoryFailed to open httpsdocs: No such file or directoryFailed to open anon_ftp: No such file or directoryFailed to open anon_ftp/pub: No such file or directoryFailed to open anon_ftp/conf: No such file or directoryFailed to open anon_ftp/incoming: No such file or directory
--------------


My standard folder is HTTPDOCS. (not httpsdocs). Is it necessary (or possible) to add this directory?

Michael
 
I execute the command again.

Failed to open cgi-bin: No such file or directoryFailed to open httpsdocs: No such file or directoryFailed to open anon_ftp: No such file or directoryFailed to open anon_ftp/pub: No such file or directoryFailed to open anon_ftp/conf: No such file or directoryFailed to open anon_ftp/incoming: No such file or directory

Directory permissions were successfully updated.


But files are still with 33 33 when I join by FTP to useraccounts...
 
By permissions, do you also mean the user and group of the files is 33 33? You can confirm that with

ls -l /var/www/vhosts/domain.com/httpdocs/
 
OK, that is weired but also suggests that you are using PHP as an Apache module and you did upload the files through php. Recommendations are:

1. Firstly for security reasons, PHP as CGI is recommended with (suPHP) and
2. You can easily reset the respective permissions from SHELL with:

Code:
chown -R [ftp-user] : psacln /var/www/vhosts/domain.com/httpdocs/*

Though you might need your host or someone familiar with SHELL to do that for you (as you could easily mess up stuff, if you are not familiar with SHELL..)
 
Status
Not open for further replies.
Back
Top