• 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

Migration Manager and cgi-bin permissions

qnet

Basic Pleskian
I am having a problem with migration manager when migrating domains from 10.x to 11.x. The problem is with the permissions
for the "cgi-bin" directory. After migration, the cgi-bin group is set to "psacln". It should be set to "psaserv". With it set to
"psacln" Apache says it can't get at ".htaccess" and Apache returns "Forbidden".

Is there a way to have Migration Manager set the group to "psaserv" for "cgi-bin" during migration?
 
Hi,

not that I know of.
But you could change the Groups like this:

# find /var/www/vhosts -name cgi-bin -gid `cat /etc/group | grep psacln | cut -d ":" -f3` -print0 | xargs chgrp psaserv

That should fix the issue for all wrong cgi-bin below /var/www/vhosts

Regards,
Kristian
 
Kristian, that is essentially what I do now. What I was hoping was Migration Manager would be fixed since it seems like it would be a rather trivial fix and the bug essentially breaks all migrated sites that use the cgi-bin directory.
 
Hi,

for it to be fixed, you will have to contact Plesk support.
I'm guessing they already know about this though.

Regards,
Kristian
 
Back
Top