Reset Permissions in a Cpanel Users Directory

Categories Scripts

#!/bin/bash
cd /var/cpanel/users
for user in *
do
chown -R $user.$user /home/$user/public_html/*
done

Leave a Reply