WebFaction
Community site: login 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 25 Sep '11, 10:57

kentzo
1244
accept rate: 0%


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!

permanent link

answered 25 Sep '11, 11:32

maryh ♦♦
1.3k7
accept rate: 35%

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

(26 Sep '11, 01:31) kentzo
Your answer
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

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×244
×24
×22
×12

question asked: 25 Sep '11, 10:57

question was seen: 3,815 times

last updated: 26 Sep '11, 01:31

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM