I cannot see files uploaded to ngnix website path
I upload my web site via dploy.io, I have provided /usr/share/ngnix/html as the path to upload files. Dploy tells me the file are successfully uploaded, but I cannot see them when I log as root (using putty). Yet, if I do a find / -name ‘world.html’ -print ubuntu tells me the file is there! yet, no amount of ls -la will show it, and oddly report 20 files while only 5 showing (including . and .. entries). I destroyed and reinstalled the droplet many times trying different variations without success. I am not sure if it’s an Ubuntu or an Ngnix issue, or neither. Any help would be greatly appreciated. Thank you.
Here’s a paste of session interaction:
root@valcatraz:/usr/share/nginx/html# ls -la
drwxr-xr-x 2 root root 4096 Jul 4 12:36 .
drwxr-xr-x 3 root root 4096 Mar 24 12:11 ..
-rw-r–r– 1 root root 537 Mar 4 2014 50x.html
-rw-r–r– 1 root root 618 Jul 4 12:36 index.html
-rw-r–r– 1 root root 20 Mar 24 12:12 info.php
root@valcatraz:/usr/share/nginx/html# find / -name 'world.html’ -print
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×