#!/bin/bash
cd /var/cpanel/users
for user in *
do
chown -R $user.$user /home/$user/public_html/*
done
Was this post helpful?
Let us know if you liked the post. That’s the only way we can improve.
#!/bin/bash
cd /var/cpanel/users
for user in *
do
chown -R $user.$user /home/$user/public_html/*
done
Copyright © 2026, Linux Shtuff. Proudly powered by WordPress. Blackoot design by Iceable Themes.