login community faq

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 momo' tomomo.bak': Permission denied [kentzo@web204 webapps]$

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?

asked Sep 25 '11 at 10:57

kentzo's gravatar image

kentzo
14


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!

answered Sep 25 '11 at 11:32

maryh's gravatar image

maryh ♦♦
7265

ok...i got what you mean. I think it should work for me. Thanks!

(Sep 26 '11 at 01:31) kentzo kentzo's gravatar image
Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×144
×18
×16
×11

Asked: Sep 25 '11 at 10:57

Seen: 1,197 times

Last updated: Sep 26 '11 at 01:31

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited