<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikicyber.org/index.php?action=history&amp;feed=atom&amp;title=Draft%3AIntermediate_Prohibited_Files</id>
	<title>Draft:Intermediate Prohibited Files - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wikicyber.org/index.php?action=history&amp;feed=atom&amp;title=Draft%3AIntermediate_Prohibited_Files"/>
	<link rel="alternate" type="text/html" href="https://wikicyber.org/index.php?title=Draft:Intermediate_Prohibited_Files&amp;action=history"/>
	<updated>2026-09-24T04:43:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wikicyber.org/index.php?title=Draft:Intermediate_Prohibited_Files&amp;diff=168&amp;oldid=prev</id>
		<title>MigrationBot: Backfill (v3.0 review queue): added to the review queue</title>
		<link rel="alternate" type="text/html" href="https://wikicyber.org/index.php?title=Draft:Intermediate_Prohibited_Files&amp;diff=168&amp;oldid=prev"/>
		<updated>2026-09-22T05:42:40Z</updated>

		<summary type="html">&lt;p&gt;Backfill (v3.0 review queue): added to the review queue&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:42, 22 September 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l47&quot;&gt;Line 47:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 47:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Linux Prohibited Files|032]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Linux Prohibited Files|032]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Migrated from cypat.guide]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Migrated from cypat.guide]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Pending review]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikicyber:diff:1.41:old-88:rev-168:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>MigrationBot</name></author>
	</entry>
	<entry>
		<id>https://wikicyber.org/index.php?title=Draft:Intermediate_Prohibited_Files&amp;diff=88&amp;oldid=prev</id>
		<title>MigrationBot: Import from cypat.guide: docs/linux/prohibited_files/intermediate_prohibited_files.md</title>
		<link rel="alternate" type="text/html" href="https://wikicyber.org/index.php?title=Draft:Intermediate_Prohibited_Files&amp;diff=88&amp;oldid=prev"/>
		<updated>2026-09-18T17:06:18Z</updated>

		<summary type="html">&lt;p&gt;Import from cypat.guide: docs/linux/prohibited_files/intermediate_prohibited_files.md&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Submit}}&lt;br /&gt;
&amp;lt;!-- Migrated from https://cypat.guide/docs/linux/prohibited_files/intermediate_prohibited_files (source: docs/linux/prohibited_files/intermediate_prohibited_files.md) --&amp;gt;&lt;br /&gt;
Author(s): Matthias Lee (ml2322) &amp;lt;br /&amp;gt; Last Updated: 07-07-2025&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;mw-collapsible mw-collapsed wikitable&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
! Recommended Prerequisites (click to expand)&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Introductory Prohibited Files&amp;lt;/li&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== More efficient strategies to find prohibited files ===&lt;br /&gt;
&lt;br /&gt;
==== find ====&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;find&amp;lt;/code&amp;gt; command is a powerful tool to search the system for files matching certain criteria. To find prohibited files with it, we can use the &amp;lt;code&amp;gt;-name&amp;lt;/code&amp;gt; argument to search for all files with a specific extension. To do this, we can use a wildcard like &amp;lt;code&amp;gt;-name &amp;amp;quot;*.mp3&amp;amp;quot;&amp;lt;/code&amp;gt; to find everything that ends in &amp;lt;code&amp;gt;.mp3&amp;lt;/code&amp;gt;. However, we still need to tell &amp;lt;code&amp;gt;find&amp;lt;/code&amp;gt; where to look. For example, to search for all MP3 files in &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;, the command would be &amp;lt;code&amp;gt;find /home -name &amp;amp;quot;*.mp3&amp;amp;quot;&amp;lt;/code&amp;gt;. NOTE: &amp;lt;code&amp;gt;*&amp;lt;/code&amp;gt; is a special character in bash, so you need to put it in quotes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;user@system:/home/user$ sudo find /home -name &amp;quot;*.wav&amp;quot;&lt;br /&gt;
/home/jacob/Audio/heyy_john.wav&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Additionally, prohibited files may not always be in the user home directories. Therefore, it&amp;#039;s useful to search other directories or even the whole system sometimes (replace &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; with &amp;lt;code&amp;gt;/&amp;lt;/code&amp;gt; for the whole system, or some other directory). However, the more broad the search, the longer it will take, and the more false positives you will get.&lt;br /&gt;
&lt;br /&gt;
=== Remediating protected prohibited files ===&lt;br /&gt;
&lt;br /&gt;
Prohibited files may sometimes have restrictive permissions to prevent you from deleting them.&lt;br /&gt;
&lt;br /&gt;
==== Taking ownership of the file ====&lt;br /&gt;
&lt;br /&gt;
A good first step to delete a file is to take ownership of it with the &amp;lt;code&amp;gt;chown&amp;lt;/code&amp;gt; command. For several files, you can use a wildcard to target them all at once. You specify &amp;lt;code&amp;gt;user:user&amp;lt;/code&amp;gt;, as you change the user ownership and group ownership to yourself.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;user@system:/home/user$ sudo chown user:user *.mp3&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==== Setting permissions ====&lt;br /&gt;
&lt;br /&gt;
The next step to take control of a file is to enable write permissions on it, with &amp;lt;code&amp;gt;chmod&amp;lt;/code&amp;gt;. We will change the permissions to &amp;lt;code&amp;gt;775&amp;lt;/code&amp;gt; to ensure we are able to delete it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;user@system:/home/user$ sudo chmod 775 *.mp3&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==== Changing attributes ====&lt;br /&gt;
&lt;br /&gt;
If the above two methods didn&amp;#039;t enable you to delete the file, the final thing to try is to remove the immutable and append only attributes with &amp;lt;code&amp;gt;chattr&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;user@system:/home/user$ sudo chattr -ia *.mp3&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
====== Further Reading ======&lt;br /&gt;
&lt;br /&gt;
* https://commandmasters.com/commands/chattr-linux/&lt;br /&gt;
* https://www.howtogeek.com/437958/how-to-use-the-chmod-command-on-linux/&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux Prohibited Files|032]]&lt;br /&gt;
[[Category:Migrated from cypat.guide]]&lt;/div&gt;</summary>
		<author><name>MigrationBot</name></author>
	</entry>
</feed>