Not logged in. · Lost password · Register
Forum: General Help and Support Installation and Configuration RSS
How to delete /data/ directory ?
Impossible on my wiki
Avatar
bahamut100 #1
Member since Oct 2006 · 10 posts
Group memberships: Members
Show profile · Link to this post
Subject: How to delete /data/ directory ?
I want delete my wiki. All files are deleted, exept the http://mywiki.com/www/data/cache/
                                                                        http://mywiki.com/www/data/meta/
                                                                        http://mywiki.com/www/data/pages/

I have this message : "Error 553 : permission denied" and "Error 550 : Directory is not empty"

How to delete these directory ?
Avatar
peppe #2
Member since Jan 2007 · 1 post · Location: Italy
Group memberships: Members
Show profile · Link to this post
I suppose that those files are created by dokuwiki, and so they have uid/gid of the user your webserver is running as. If you don't have  root permissions on your server you can simply use a small php script, like

<?php
system("rm -rfv data/");
?>

and putting this in the base directory of your doku installation, then you use a browser to invoke it.

More safely, you can change permissions of those files/directories to 0777 (using a similar php script), then you should be able to delete them.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2020-01-18, 08:10:30 (UTC +01:00)