|
I am trying to make a copy of my wordpress site folder under webapps. However when i issue cp or mv command in ssh, i get denied. The following is what i did: [kentzo@web204 webapps]$ pwd
/home/kentzo/webapps
[kentzo@web204 webapps]$ ls -l
total 8
drwxr-xr-x 6 kentzo kentzo 4096 Sep 20 10:19 momo
drwxr-xr-x 5 kentzo kentzo 4096 Jul 29 03:30 wp_3_1
[kentzo@web204 webapps]$ whoami
kentzo
[kentzo@web204 webapps]$ mv momo momo.bak
mv: cannot move How to make a backup copy of the folder under webapps? What i want to do is actually make momo a symbolic link. Then i will checkout my new wordpress folder under /webapps then point momo to my new folder. By doing this i do not need to change any apache configuration file. Is this possible? |
|
The webapps folder is owned by root, and only the control panel can create directories within it (when you create an app). So, you could create a new Static/CGI/PHP app and copy the contents of momo into the new app's directory. If you then want to have the app "momo" be a symbolic link, you'd need to delete the app from the control panel, and create a new app named "momo" that is a symbolic link app. I hope this helps! |