How can I find out where all a user’s files are? WHM
If there is a discrepancy between quotas and a du -sh /home/username, chances are, some other files on the system are owned by that user’s UID. To find these, type:
- find / -user username -ls
Run that and you will get a long list of all files owned by that user. It might be wise to redirect the output to a file to browse through later.
Depending on the files, it’s usually better to chown
them to the root user rather than delete them.