Problem With Solutions

Something Different In Linux

Home » cpanel » set correct ownership to all accounts

How to set correct ownership to all account on the cPanel server. You can use the following commands to set the correct ownership for all accounts which is hosted on the cPanel server.

===============================

for i  in `cat /etc/trueuserdomains   | awk '{print $2}'`
> do
> chown $i.$i /home/$i -R;
> chown $i.mail /home/$i/etc -R;
> chown $i.nobody /home/$i/public_html;
> done;

===============================


Page optimized by WP Minify WordPress Plugin

Optimized by SEO Ultimate