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

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