Can't see folders as root
Debian version 7 64 bit
CPU type GenuineIntel Intel(R) Xeon(R) CPU L5420 @ 2.50GHz [Family 6 Model 23 Stepping 10] Number of processors 8 Coprocessors --- Operating System Linux 3.2.0-4-amd64 I have a web page http://dingo-den.com which has a bunch photo albums on it. I just created a new server and transferred everything over from the old server and after a few problems it is working. My problem is this. The folder that holds all the photos can't be seen by root ?? I know that it is working because if I right click on an image and click "Inspect Element" it shows the path to the image. <img style="-webkit-user-select: none; cursor: zoom-in;" src="http://dingo-den.com/gallery3/var/albums/Ride-around-Mesa/988893_10205285398568243_3960245791219480616_n.jpg?m=1426124579" width="292" height="520"> If I log in to the server via putty and go to the folder /gallery3/var/ and do "ls -l" as root I do not see the folder albums from the link ?? root@dingo1:/var/www/gallery3/var# ls -l total 12 -rwxrwxrwx 1 root root 1577 Aug 23 2013 database.php drwxr-xr-x 2 root root 4096 Aug 22 2013 modules drwxr-xr-x 4 root root 4096 Mar 25 02:43 resizes So if I do rsync I am guessing that it will not backup the folders that root can't see ? If I go to http://dingo-den.com/gallery3/var/ I can see the folders ? I could see them on the old server but that is now gone......... Any help would be appreciated. |
OK I found the answer and it was all my fault. I had the gallery3 folder in folder /var/www/ and also the folder it was supposed to be in.
This can be closed... |
All times are GMT -5. The time now is 05:06 AM. |