SOLVED 403 Access Denied After Setting Owner via Shell

Adamfynd

Registered
Nov 2, 2018
3
0
1
Sverige
cPanel Access Level
Website Owner
A word of caution here. The above command can allow a user to take control of files on the same file system. See this article for more details: SysAdmin Tip: recursive chown can open your system for exploit « Power Prose
for i in `ls /var/cpanel/users/`; do chown -R $i:$i /home/$i/public_html ; done
Hi
I had some problems with file permissions
I have just implemented this command line but unfortunately the store stopped working and now shows an error message
403 Access Denied
How can I fix the problem quickly?

Thanks in advance