Hi there
I'm using SFTP to access the root directory on a new server which I own. If I upload a file to a public_html folder for one of the accounts then the file doesn't appear in the browser. For example if it's the index.html then it'll return a 404 error. However, if I upload the same file using standard ftp as the account owner then the site will function properly.
In the ftp client the file will show the owner as either 'root' or 'user' but the permissions will stay at 644.
Can someone tell me what I'm doing wrong and why the files uploaded as root aren't being found?
Thank you all for your time.
J
I'm using SFTP to access the root directory on a new server which I own. If I upload a file to a public_html folder for one of the accounts then the file doesn't appear in the browser. For example if it's the index.html then it'll return a 404 error. However, if I upload the same file using standard ftp as the account owner then the site will function properly.
In the ftp client the file will show the owner as either 'root' or 'user' but the permissions will stay at 644.
Can someone tell me what I'm doing wrong and why the files uploaded as root aren't being found?
Thank you all for your time.
J