{"id":14902,"date":"2021-11-27T07:55:15","date_gmt":"2021-11-27T07:55:15","guid":{"rendered":"https:\/\/www.milesweb.in\/hosting-faqs\/?p=14902"},"modified":"2021-11-30T09:35:11","modified_gmt":"2021-11-30T09:35:11","slug":"disable-trash-option-default-directadmin-file-manager","status":"publish","type":"post","link":"https:\/\/www.milesweb.in\/hosting-faqs\/disable-trash-option-default-directadmin-file-manager\/","title":{"rendered":"How to Disable the Trash Option by Default for DirectAdmin File Manager?"},"content":{"rendered":"<p>When deleting a file using FileManager, the confirmation window will show an option &#8220;<em>Trash.<\/em>&#8221; 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.<\/p>\n<p>This feature is available because of a new internal directadmin.conf value:<\/p>\n<pre class=\"lang:default decode:true \">fm_to_trash_default=1<\/pre>\n<p>It is the reason why the <strong>Trash<\/strong> option is enabled by default.<\/p>\n<h2>To Disable the Trash Option by Default<\/h2>\n<p>1. Log in to DirectAdmin via SSH access.<\/p>\n<p>2. Run this command:<\/p>\n<pre class=\"lang:default decode:true \">\/usr\/local\/directadmin\/directadmin set fm_to_trash_default 0<\/pre>\n<p>It will set the value to <strong><em>0\u00a0<\/em><\/strong>which in turn disables the <em>Trash<\/em> button as a default.<\/p>\n<p>3. Restart the DirectAdmin service to apply the changes.<\/p>\n<p>It is that simple to change settings and disable the Trash option of DirectAdmin File Manager as default.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When deleting a file using FileManager, the confirmation window will show an option &#8220;Trash.&#8221; 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 [&hellip;]<\/p>\n","protected":false},"author":27,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1798,41],"tags":[2559,2759,2203,1198,2506,1471,312],"class_list":["post-14902","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-directadmin","category-howtos","tag-directadmin-file-manager","tag-disable-trash-directadmin-file-manager","tag-file-manager-settings","tag-ssh-access","tag-ssh-access-user-directadmin","tag-ssh-commands","tag-trash"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Disable the Trash Option by Default for DirectAdmin File Manager?<\/title>\n<meta name=\"description\" content=\"This article is for users with SSH access to the DirectAdmin server and shows how to disable the Trash option in File Manager.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.in\/hosting-faqs\/disable-trash-option-default-directadmin-file-manager\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Disable the Trash Option by Default for DirectAdmin File Manager?\" \/>\n<meta property=\"og:description\" content=\"This article is for users with SSH access to the DirectAdmin server and shows how to disable the Trash option in File Manager.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/disable-trash-option-default-directadmin-file-manager\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2021-11-27T07:55:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-11-30T09:35:11+00:00\" \/>\n<meta name=\"author\" content=\"Prasad Khartadkar\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prasad Khartadkar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/disable-trash-option-default-directadmin-file-manager\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/disable-trash-option-default-directadmin-file-manager\\\/\"},\"author\":{\"name\":\"Prasad Khartadkar\",\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/#\\\/schema\\\/person\\\/c9138a9488172a8d0aa2d4f40878d83e\"},\"headline\":\"How to Disable the Trash Option by Default for DirectAdmin File Manager?\",\"datePublished\":\"2021-11-27T07:55:15+00:00\",\"dateModified\":\"2021-11-30T09:35:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/disable-trash-option-default-directadmin-file-manager\\\/\"},\"wordCount\":139,\"commentCount\":0,\"keywords\":[\"DirectAdmin File Manager\",\"Disable Trash DirectAdmin File Manager\",\"file manager settings\",\"SSH access\",\"SSH Access User DirectAdmin\",\"SSH commands\",\"trash\"],\"articleSection\":[\"DirectAdmin\",\"How-Tos\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/disable-trash-option-default-directadmin-file-manager\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/disable-trash-option-default-directadmin-file-manager\\\/\",\"url\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/disable-trash-option-default-directadmin-file-manager\\\/\",\"name\":\"How to Disable the Trash Option by Default for DirectAdmin File Manager?\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/#website\"},\"datePublished\":\"2021-11-27T07:55:15+00:00\",\"dateModified\":\"2021-11-30T09:35:11+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/#\\\/schema\\\/person\\\/c9138a9488172a8d0aa2d4f40878d83e\"},\"description\":\"This article is for users with SSH access to the DirectAdmin server and shows how to disable the Trash option in File Manager.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/disable-trash-option-default-directadmin-file-manager\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/disable-trash-option-default-directadmin-file-manager\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/disable-trash-option-default-directadmin-file-manager\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Disable the Trash Option by Default for DirectAdmin File Manager?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/#website\",\"url\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/#\\\/schema\\\/person\\\/c9138a9488172a8d0aa2d4f40878d83e\",\"name\":\"Prasad Khartadkar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Prasad-K.-1-150x150.jpg\",\"url\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Prasad-K.-1-150x150.jpg\",\"contentUrl\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Prasad-K.-1-150x150.jpg\",\"caption\":\"Prasad Khartadkar\"},\"description\":\"Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.\",\"sameAs\":[\"https:\\\/\\\/www.milesweb.in\"],\"url\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/author\\\/prasad-khartadkar\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Disable the Trash Option by Default for DirectAdmin File Manager?","description":"This article is for users with SSH access to the DirectAdmin server and shows how to disable the Trash option in File Manager.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.milesweb.in\/hosting-faqs\/disable-trash-option-default-directadmin-file-manager\/","og_locale":"en_US","og_type":"article","og_title":"How to Disable the Trash Option by Default for DirectAdmin File Manager?","og_description":"This article is for users with SSH access to the DirectAdmin server and shows how to disable the Trash option in File Manager.","og_url":"https:\/\/www.milesweb.in\/hosting-faqs\/disable-trash-option-default-directadmin-file-manager\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2021-11-27T07:55:15+00:00","article_modified_time":"2021-11-30T09:35:11+00:00","author":"Prasad Khartadkar","twitter_misc":{"Written by":"Prasad Khartadkar","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/disable-trash-option-default-directadmin-file-manager\/#article","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/disable-trash-option-default-directadmin-file-manager\/"},"author":{"name":"Prasad Khartadkar","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e"},"headline":"How to Disable the Trash Option by Default for DirectAdmin File Manager?","datePublished":"2021-11-27T07:55:15+00:00","dateModified":"2021-11-30T09:35:11+00:00","mainEntityOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/disable-trash-option-default-directadmin-file-manager\/"},"wordCount":139,"commentCount":0,"keywords":["DirectAdmin File Manager","Disable Trash DirectAdmin File Manager","file manager settings","SSH access","SSH Access User DirectAdmin","SSH commands","trash"],"articleSection":["DirectAdmin","How-Tos"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.milesweb.in\/hosting-faqs\/disable-trash-option-default-directadmin-file-manager\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/disable-trash-option-default-directadmin-file-manager\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/disable-trash-option-default-directadmin-file-manager\/","name":"How to Disable the Trash Option by Default for DirectAdmin File Manager?","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website"},"datePublished":"2021-11-27T07:55:15+00:00","dateModified":"2021-11-30T09:35:11+00:00","author":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e"},"description":"This article is for users with SSH access to the DirectAdmin server and shows how to disable the Trash option in File Manager.","breadcrumb":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/disable-trash-option-default-directadmin-file-manager\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.in\/hosting-faqs\/disable-trash-option-default-directadmin-file-manager\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/disable-trash-option-default-directadmin-file-manager\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.in\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How to Disable the Trash Option by Default for DirectAdmin File Manager?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.in\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e","name":"Prasad Khartadkar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/Prasad-K.-1-150x150.jpg","url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/Prasad-K.-1-150x150.jpg","contentUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/Prasad-K.-1-150x150.jpg","caption":"Prasad Khartadkar"},"description":"Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.","sameAs":["https:\/\/www.milesweb.in"],"url":"https:\/\/www.milesweb.in\/hosting-faqs\/author\/prasad-khartadkar\/"}]}},"_links":{"self":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/14902","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=14902"}],"version-history":[{"count":2,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/14902\/revisions"}],"predecessor-version":[{"id":14919,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/14902\/revisions\/14919"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=14902"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=14902"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=14902"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}