Unable to delete files

ir4dl

New member
Joined
Nov 6, 2009
Messages
3
Hi.

i have a problem with deleting file . i have a folder named modules ( one of Nuke Cms Folder ) and i want to delete it , when i checkbox and click on delete then Click ok , it show me this Error :

Unable to delete files
Unable to delete directory /domains/centerdl.com/public_html/modules: The directory /domains/centerdl.com/public_html/modules is not empty

How can i delete it ? please help me .
 
First, try deleting all the files within the "modules" directory before attempting to delete the "modules" directory.

UNIX-based systems will not allow you to delete a directory if it contains files or folders.

You can force it to delete by executing this command as root:

rm -rf /domains/centerdl.com/public_html/modules/
 
First, try deleting all the files within the "modules" directory before attempting to delete the "modules" directory.

UNIX-based systems will not allow you to delete a directory if it contains files or folders.

You can force it to delete by executing this command as root:
thanks . but i can't delete ke sub folder an files in " Modules " folder ,too .

and about this command , can you tell me how can i use it ? because it my first time i use the DirectAdmin .

Thank you very much .
 
Presumably you're a site-owner, and not a register owner of the DirectAdmin software.

If that's the case you should be asking your hosting company for support.

Jeff
 
Presumably you're a site-owner, and not a register owner of the DirectAdmin software.

If that's the case you should be asking your hosting company for support.

Jeff
yes , i'm a site-owner .

I'll tell my support hosting to delete this folder .

thank you very much
 
prolly is a sub-folder created by apache with a cms, just root can delete it, happend many times to my customers too

Regards
 
Unable to delete directory /domains/priit74.pri.ee/public_html/consumer: The directory /domains/priit74.pri.ee/public_html/consumer is not empty

Help me , it doesnt work for me : rm -rf /domains/priit74.pri.ee/public_html/consumer ???
 
you login directadmin via user-level ?
if you upload/create folder via php-scripts, you can change owership.
 
you login directadmin via user-level ?
if you upload/create folder via php-scripts, you can change owership.

i cant owned it : An error occured while resetting the file ownership
You must enter a valid path. eg: /public_html

/home/np18393/domains/priit74.pri.ee/public_html/public/cid{CID} is not a valid path
 
If you own the server you need to log in through the shell, as root, or you need to log in as an unprivileged user and su to root. And you need to either use the full path of the file you're trying to change, or you need to first cd to the directory holding the file you're changing.

If you don't own the server, then you need to discuss the issue with the server administrators, generally your hosting company.

If you do own the server but don't understand the posts offered here to help you then don't do anything; you'll probably do damage to your server. Instead hire someone to do it for you.

Jeff
 
Back
Top