Knowledge Base Hub

Browse through our helpful how-to guides to get the fastest solutions to your technical issues.

Home  >  DirectAdmin  >  How to Disable the Trash Option by Default for DirectAdmin File Manager?
Top Scroll

How to Disable the Trash Option by Default for DirectAdmin File Manager?

 2 min

When deleting a file using FileManager, the confirmation window will show an option “Trash.” This option is always enabled by default. But, there is a way where you can change the default setting to disable the Trash option for DirectAdmin File Manager.

This feature is available because of a new internal directadmin.conf value:

fm_to_trash_default=1

It is the reason why the Trash option is enabled by default.

To Disable the Trash Option by Default

1. Log in to DirectAdmin via SSH access.

2. Run this command:

/usr/local/directadmin/directadmin set fm_to_trash_default 0

It will set the value to which in turn disables the Trash button as a default.

3. Restart the DirectAdmin service to apply the changes.

It is that simple to change settings and disable the Trash option of DirectAdmin File Manager as default.

 

 

For our Knowledge Base visitors only
Get 10% OFF on Hosting
Special Offer!
30
MINS
59
SECS
Claim the discount before it’s too late. Use the coupon code:
STORYSAVER
Note: Copy the coupon code and apply it on checkout.