subdomain files gone?

Hi

Have moved over a site that has subdomains, the layout on the ftp is
blah.com/subdomain

When i log in as root, I can view the files in the sftp

but when logging in (ftp) as the site admin the files are not viewable?

any ideas?

If you were root when you moved the files, make sure to chown all the files to the account’s username or else the account owner won’t be able to see them. I’m speaking from experience cause I do that all the time when moving accounts :smiley:

Hi Greg

All a bit new to me… How do i go about changing the chown on files?

Cheers

SSH as root and do:

cd /home/username/domainname.com
chown -R username.username *

and that should do it. Of courses, substitute the correct username and domain name in there :wink:

Thanks Greg