{"id":8553,"date":"2014-12-22T21:18:45","date_gmt":"2014-12-22T21:18:45","guid":{"rendered":"https:\/\/wp.okra.host\/article\/problems-deleting-files\/"},"modified":"2021-03-07T14:28:09","modified_gmt":"2021-03-07T13:28:09","slug":"problems-deleting-files","status":"publish","type":"ht_kb","link":"https:\/\/kb.okra.host\/de\/article\/problems-deleting-files\/","title":{"rendered":"Problems deleting files"},"content":{"rendered":"<h2 id=\"overview\" >\u00dcbersicht<\/h2>\n<p>FTP provides a convenient interface to quickly delete multiple files from a your site with minimal overhead. Problems can exist in multi-user environments where files are owned by one of many different users.<\/p>\n<h2 id=\"cause\" >Ursache<\/h2>\n<p>FTP abides by <em><a href=\"http:\/\/en.wikipedia.org\/wiki\/Discretionary_access_control\">UNIX discretionary access controls<\/a><\/em>\u00a0(DAC) that restricts what files users can delete\/modify\/read. Without requisite permissions these files, owned by\u00a0a user other than who is logged into the FTP server, cannot be removed.<\/p>\n<h2 id=\"solution\" >L\u00f6sung<\/h2>\n<p>There are 4 solutions:<\/p>\n<ul>\n<li>Change ownership on the files to match the user logged into FTP through\u00a0<strong>Dateien<\/strong> &gt;\u00a0<strong>Datei-Manager<\/strong> &gt;\u00a0<strong> Eigenschaften<\/strong>\u00a0beneath the\u00a0<em>Actions<\/em> column within the <a title=\"Anmeldung am Bedienfeld\" href=\"https:\/\/kb.okra.host\/de\/control-panel\/logging-into-the-control-panel\/\">Bedienfeld<\/a>.<\/li>\n<li>Use the\u00a0<strong>Datei-Manager<\/strong> to remove these files.\n<ul>\n<li>File Manager ignores DAC for the primary user<\/li>\n<\/ul>\n<\/li>\n<li>Recursively <a title=\"Eine \u00dcbersicht \u00fcber Berechtigungen\" href=\"https:\/\/kb.okra.host\/de\/guides\/permissions-overview\/\">change permissions<\/a> to 777 on the directory and its descendants recursively within the control panel through the <strong>Datei-Manager<\/strong>\u00a0<strong>Eigenschaften<\/strong> dialog.\n<ul>\n<li><span style=\"color: #ff0000\">Extremely unsafe, but fastest to delete files of mixed users<\/span><\/li>\n<\/ul>\n<\/li>\n<li>Log into the FTP server as the owner of the file to remove those files. In situations where the owner is\u00a0<em>apache<\/em> (web server role), then these files may be deleted by the primary account holder 24 hours after the file is created\u2013 a separate\u00a0task runs nightly to open up privileges.<\/li>\n<\/ul>\n<h2 id=\"see-also\" >\u00a0Siehe auch<\/h2>\n<p><a title=\"Eine \u00dcbersicht \u00fcber Berechtigungen\" href=\"https:\/\/kb.okra.host\/de\/guides\/permissions-overview\/\">Permissions Overview<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Overview FTP provides a convenient interface to quickly delete multiple files from a your site with minimal overhead. Problems can exist in multi-user environments where files are owned by one of many different users. Cause FTP abides by UNIX discretionary access controls\u00a0(DAC) that restricts what files users can delete\/modify\/read. Without&#8230;<\/p>","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[59],"ht-kb-tag":[],"class_list":["post-8553","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-ftp"],"_links":{"self":[{"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb\/8553","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/comments?post=8553"}],"version-history":[{"count":1,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb\/8553\/revisions"}],"predecessor-version":[{"id":8554,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb\/8553\/revisions\/8554"}],"wp:attachment":[{"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/media?parent=8553"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb-category?post=8553"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb-tag?post=8553"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}