<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=4417&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / files attributes]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=4417</link>
		<description><![CDATA[The most recent posts in files attributes.]]></description>
		<lastBuildDate>Thu, 15 Jul 2021 21:12:20 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[files attributes]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=30705#p30705</link>
			<description><![CDATA[<p>in continuation of my message <a href="https://dev1galaxy.org/viewtopic.php?id=4415" rel="nofollow">https://dev1galaxy.org/viewtopic.php?id=4415</a> concerning more debootstrap than the files attributes in the actual partition, I show for a way to erase the attribut &quot;i&quot;</p><p>I did find a long a very interesting article</p><p><a href="https://www.informatik-aktuell.de/betrieb/betriebssysteme/rechte-im-dateisystem-mehr-als-nur-rwx.html" rel="nofollow">https://www.informatik-aktuell.de/betri … r-rwx.html</a></p><p>in German giving following informations:</p><div class="quotebox"><blockquote><div><p>Das Attribut &quot;i&quot;</p><p>&#160; &#160; Durch das Attribut &quot;i&quot; wird die Datei immun gegen das Ändern, Umbenennen und Löschen. Auch der &quot;root&quot; kann eine Datei mit diesem Attribut nicht löschen, ohne vorher das Attribut zurückzusetzen. Auch dazu sehen Sie ein Beispiel: root@stefan:~# chattr +i datei1.txt</p><p>&#160; &#160; root@stefan:~# lsattr datei1.txt <br />&#160; &#160; ----i-------------- datei1.txt</p><p>&#160; &#160; root@stefan:~# echo &quot;Eine zweite Zeile anhängen &quot; &gt;&gt; datei1.txt <br />&#160; &#160; -bash: datei1.txt: Keine Berechtigung</p><p>&#160; &#160; root@stefan:~# ls -l datei1.txt <br />&#160; &#160; -rw-r--r-- 1 root stefan 27 27. Jul 18:02 datei1.txt</p><p>&#160; &#160; root@stefan:~# rm datei1.txt<br />&#160; &#160; rm: Entfernen von &quot;datei1.txt&quot; nicht möglich: Die Operation ist nicht erlaubt</p><p>&#160; &#160; root@stefan:~# mv datei1.txt datei1a.txt <br />&#160; &#160; mv: Verschieben von &quot;datei1.txt&quot; nach &quot;datei1a.txt&quot; nicht möglich: Die Operation ist nicht erlaubt</p><p>&#160; &#160; root@stefan:~# chattr -i datei1.txt <br />&#160; &#160; root@stefan:~# rm datei1.txt</p><p>Alle Aktionen wurden hier als Benutzer &quot;root&quot; durchgeführt. Wie Sie sehen, ist danach keine Aktion mit der Datei mehr möglich. Erst wenn das Attribut von der Datei entfernt wird, kann die Datei wieder gelöscht werden.</p></div></blockquote></div><p>this command <strong>chattr -i</strong> is really the solution, the file is now erased!</p>]]></description>
			<author><![CDATA[dummy@example.com (oui)]]></author>
			<pubDate>Thu, 15 Jul 2021 21:12:20 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=30705#p30705</guid>
		</item>
	</channel>
</rss>
