WebFaction
Community site: login faq

Passing a malformed name to the api 'create_app' fails (as it should) but leaves behind a directory which is, it seems, undeletable.

Specifically,

server.create_app (session_id, 'test.badname', 'static_php54', False, '', '')

fails with the message "Please enter only lowercase lettes, numbers or the '_' character", but it leaves behind the directory 'test.badname', and I can't figure out how to delete this directory in order to tidy up.

'test.badname' does not appear as an application in the control panel, so I can't delete it through the control panel.

Trying to delete it through the api fails, i.e.

server.delete_app (session_id, 'test.badname')

fails with the mssage 'App not found "test.badname"'

Finally, attempting to delete the directory from the shell also fails:

rm test.badname/index.html
rmdir test.badname

gives "rmdir: failed to remove 'test.badname': Permission denied"

What should I do to make this directory deletable? It appears to have reasonably normal permission flags, i.e. 'drwxr-sr-x', and the owner is my user.

asked 23 Apr '13, 15:40

atherton
59
accept rate: 0%


You can't delete items from ~/webapps, because root owns ~/webapps.

Please open a support ticket, and we'll delete the broken app directory for you.

Sorry for the trouble!

permanent link

answered 23 Apr '13, 17:30

seanf
12.2k41836
accept rate: 37%

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:

×75
×19
×2
×1
×1

question asked: 23 Apr '13, 15:40

question was seen: 2,178 times

last updated: 23 Apr '13, 17:30

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