Thanks for your reply. Unfortunately I am in doubt about two things:
1. I do not understand what is being done. I will look up all commands but could someone provide a one-line summary of what is being done here:
Code:
cp /usr/local/cpanel/base/3rdparty/squirrelmail/config/config.php ~/squirrelmail_config.php
touch /var/cpanel/squirrelmail/install
chmod +x /var/cpanel/squirrelmail/install
vim /var/cpanel/squirrelmail/install
Contents of /var/cpanel/squirrelmail/install
Code:
#!/bin/sh
cp /root/squirrelmail_config.php /usr/local/cpanel/base/3rdparty/squirrelmail/config/config.php
chown cpanel:cpanel /usr/local/cpanel/base/3rdparty/squirrelmail/config/config.php
2. How about this comment? Any thoughts about this?
Applying attributes is not a very practical solution . Attributes can completely corrupt some configuration files during updates when applied . Trying to find out the reason behind automatic changes is the best thing to do .
Reply With Quote