<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://forum.ubuntu-fr.org/extern.php?action=feed&amp;tid=382000&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Forum Ubuntu-fr.org / [résolu] Chown sans droit 'sudo']]></title>
		<link>http://forum.ubuntu-fr.org/viewtopic.php?id=382000</link>
		<description><![CDATA[Les sujets les plus récents dans [résolu] Chown sans droit 'sudo'.]]></description>
		<lastBuildDate>Tue, 02 Mar 2010 18:09:13 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Réponse à&#160;:  [résolu] Chown sans droit 'sudo']]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3313274#p3313274</link>
			<description><![CDATA[<p>J&#039;ai toujours pas piger la demande ça fait rien <img src="http://forum.ubuntu-fr.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (n3o51)]]></author>
			<pubDate>Tue, 02 Mar 2010 18:09:13 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3313274#p3313274</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [résolu] Chown sans droit 'sudo']]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3312774#p3312774</link>
			<description><![CDATA[<div class="quotebox"><cite>nesthib a écrit&#160;:</cite><blockquote><div><p>bon on va peut être arrêter un peu le HS</p></div></blockquote></div><p>t&#039;enerve pas <img src="http://forum.ubuntu-fr.org/img/smilies/wink.png" width="15" height="15" alt="wink" /> ... de toutes façon les histoire de droits<br />vu les mauvaises habitudes windowsienne c&#039;est pas facile à gérer en fait <img src="http://forum.ubuntu-fr.org/img/smilies/hmm.png" width="15" height="15" alt="hmm" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Qid)]]></author>
			<pubDate>Tue, 02 Mar 2010 13:55:22 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3312774#p3312774</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [résolu] Chown sans droit 'sudo']]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3312761#p3312761</link>
			<description><![CDATA[<p>bon on va peut être arrêter un peu le HS… j&#039;ai corrigé, <a href="./viewtopic.php?pid=3311899#p3311899">je l&#039;ai signalé dans le post juste après, je t&#039;ai remercié</a> (en fait j&#039;avais fait la correction avant de voir ton post) et je suis réglo sur tout le reste.</p><p><strong>Pour revenir donc au sujet du fil</strong>, je pense que pour être sûr que tout fichier déposé changera bien de propriétaire il faut également protéger le <span class="bbu">dossier parent</span> en écriture pour éviter le renommage du dossier surveillé ce qui ferait perdre la main à inotify, ou alors intégrer directement un mécanisme de protection dans le script pour détecter le renommage du dossier.</p>]]></description>
			<author><![CDATA[dummy@example.com (nesthib)]]></author>
			<pubDate>Tue, 02 Mar 2010 13:49:21 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3312761#p3312761</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [résolu] Chown sans droit 'sudo']]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3312664#p3312664</link>
			<description><![CDATA[<div class="quotebox"><cite>nesthib a écrit&#160;:</cite><blockquote><div><p>j&#039;en prends note <img src="http://forum.ubuntu-fr.org/img/smilies/wink.png" width="15" height="15" alt="wink" /> désolé</p></div></blockquote></div><p>bha c&#039;est un peu troublant pour tout le monde en faite <img src="http://forum.ubuntu-fr.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Qid)]]></author>
			<pubDate>Tue, 02 Mar 2010 13:01:31 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3312664#p3312664</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [résolu] Chown sans droit 'sudo']]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3312058#p3312058</link>
			<description><![CDATA[<p>j&#039;en prends note <img src="http://forum.ubuntu-fr.org/img/smilies/wink.png" width="15" height="15" alt="wink" /> désolé</p><p>sinon pour la faille dont je parlais c&#039;était à propos de la possibilité de changer le nom du dossier ou de le supprimer. Ceci peut éventuellement être réglé en changeant les attributs du dossier mais il faudrait que je creuse un peu plus</p>]]></description>
			<author><![CDATA[dummy@example.com (nesthib)]]></author>
			<pubDate>Tue, 02 Mar 2010 01:13:06 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3312058#p3312058</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [résolu] Chown sans droit 'sudo']]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3312028#p3312028</link>
			<description><![CDATA[<div class="quotebox"><cite>nesthib a écrit&#160;:</cite><blockquote><div><p>je signale quand même si tu as bien lu mes modifs précédentes</p></div></blockquote></div><p>J&#039;en fais pas une affaire d&#039;état mais j&#039;suis pas fan, forum technique ou pas...</p>]]></description>
			<author><![CDATA[dummy@example.com (alej)]]></author>
			<pubDate>Tue, 02 Mar 2010 00:42:02 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3312028#p3312028</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [résolu] Chown sans droit 'sudo']]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3312026#p3312026</link>
			<description><![CDATA[<p>^^ super pouvoirs</p><p>edit :&#160; heureux ? <img src="http://forum.ubuntu-fr.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><p>ps. (je signale quand même si tu as bien lu mes modifs précédentes)</p>]]></description>
			<author><![CDATA[dummy@example.com (nesthib)]]></author>
			<pubDate>Tue, 02 Mar 2010 00:35:54 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3312026#p3312026</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [résolu] Chown sans droit 'sudo']]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3312023#p3312023</link>
			<description><![CDATA[<div class="quotebox"><cite>nesthib a écrit&#160;:</cite><blockquote><div><p>sinon en quoi faut être fair play ?</p></div></blockquote></div><p>Ben, j&#039;trouve bizarre que quand j&#039;édite, y&#039;a marqué que j&#039;ai fait une modif - ce qui me paraît tout à fait normal sur un forum - et pas toi...</p>]]></description>
			<author><![CDATA[dummy@example.com (alej)]]></author>
			<pubDate>Tue, 02 Mar 2010 00:33:52 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3312023#p3312023</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [résolu] Chown sans droit 'sudo']]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3312011#p3312011</link>
			<description><![CDATA[<p>@alej : non je ne pensais pas à ça (ça se corrige facilement, il suffit jute de rajouter -R au chown)</p><p>(sinon en quoi faut être fair play ?)</p>]]></description>
			<author><![CDATA[dummy@example.com (nesthib)]]></author>
			<pubDate>Tue, 02 Mar 2010 00:22:50 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3312011#p3312011</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [résolu] Chown sans droit 'sudo']]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3311968#p3311968</link>
			<description><![CDATA[<p>Si tu balances dans le répertoire ... un autre répertoire, le script est aux fraises... <img src="http://forum.ubuntu-fr.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p><p>Édité 1 : enfin, si tu balances un répertoire contenant le/les fichier(s)...</p><p>Édité 2 : hé, les modos, quand vous éditez, faut être fair-play, hein...</p>]]></description>
			<author><![CDATA[dummy@example.com (alej)]]></author>
			<pubDate>Mon, 01 Mar 2010 23:58:43 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3311968#p3311968</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [résolu] Chown sans droit 'sudo']]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3311949#p3311949</link>
			<description><![CDATA[<p>bon je rajouterais bien qu&#039;il y a encore une petite faille, point bonus à celui qui la trouve !</p>]]></description>
			<author><![CDATA[dummy@example.com (nesthib)]]></author>
			<pubDate>Mon, 01 Mar 2010 23:44:01 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3311949#p3311949</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [résolu] Chown sans droit 'sudo']]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3311935#p3311935</link>
			<description><![CDATA[<p>Faut que je révise <img src="http://forum.ubuntu-fr.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /> mais là, ça paraît juste. Sauf qu&#039;il faut quand même le faire !</p>]]></description>
			<author><![CDATA[dummy@example.com (alej)]]></author>
			<pubDate>Mon, 01 Mar 2010 23:35:04 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3311935#p3311935</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [résolu] Chown sans droit 'sudo']]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3311914#p3311914</link>
			<description><![CDATA[<p>corrigé alej c&#039;était le sticky bit dont je parlais <img src="http://forum.ubuntu-fr.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><p>j&#039;ai vérifié et je confirme, pour résumer :<br />1- le dossier doit appartenir à userX et être accessible en écriture à tous (ou à des utilisateurs bien définis en utilisant les ACL)<br />2- le sticky bit doit être positionné sur le dossier<br />3- le script donne l&#039;appartenance pour tout nouveau fichier à userX</p><p>ainsi tout le monde peut poster un fichier mais seul userX peut les supprimer/modifier (permission par défaut 644)</p>]]></description>
			<author><![CDATA[dummy@example.com (nesthib)]]></author>
			<pubDate>Mon, 01 Mar 2010 23:20:30 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3311914#p3311914</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [résolu] Chown sans droit 'sudo']]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3311906#p3311906</link>
			<description><![CDATA[<div class="quotebox"><cite>nesthib a écrit&#160;:</cite><blockquote><div><p>non pas si tu fixes le SGID sur le répertoire <img src="http://forum.ubuntu-fr.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><div class="codebox"><pre><code>chmod g+s répertoire</code></pre></div><p>le SGID empêche la suppression de fichiers que l&#039;on ne possède pas</p></div></blockquote></div><p>Ben chez moi, ça s&#039;passe pas comme ça...</p><div class="codebox"><pre><code>$ whoami
alex
$ ls -ld /home/michele/Partage/
drwxrwsrwx 2 michele michele 4096 2010-03-02 00:08 /home/michele/Partage/
$ cp Bureau/Gomorra\ -\ Saviano\ Roberto.pdf /home/michele/Partage/
`Bureau/Gomorra - Saviano Roberto.pdf&#039; -&gt; `/home/michele/Partage/Gomorra - Saviano Roberto.pdf&#039;
$ ls -l /home/michele/Partage/
total 1352
-rw-r--r-- 1 alex michele 1376365 2010-03-02 00:11 Gomorra - Saviano Roberto.pdf
$ cd /home/michele/Partage/
$ sudo chown michele.michele Gomorra\ -\ Saviano\ Roberto.pdf
$ pwd;ls -l;whoami
/home/michele/Partage
total 1352
-rw-r--r-- 1 michele michele 1376365 2010-03-02 00:11 Gomorra - Saviano Roberto.pdf
alex
$ rm Gomorra\ -\ Saviano\ Roberto.pdf 
rm: détruire un fichier protégé en écriture fichier standard `Gomorra - Saviano Roberto.pdf&#039;? y
détruit `Gomorra - Saviano Roberto.pdf&#039;
$ id
uid=1000(alex) gid=1000(alex) [...] 1000(alex)
$ su michele
Mot de passe : 
$ id
uid=1001(michele) gid=1001(michele) groupes=1001(michele)</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (alej)]]></author>
			<pubDate>Mon, 01 Mar 2010 23:17:37 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3311906#p3311906</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [résolu] Chown sans droit 'sudo']]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3311899#p3311899</link>
			<description><![CDATA[<p>non c&#039;est différent, mais je vois que j&#039;ai parlé trop vite <img src="http://forum.ubuntu-fr.org/img/smilies/wink.png" width="15" height="15" alt="wink" /> (corrigé, merci Qid)<br />le SGID permet de fixer automatiquement le groupe des nouveaux fichiers.</p>]]></description>
			<author><![CDATA[dummy@example.com (nesthib)]]></author>
			<pubDate>Mon, 01 Mar 2010 23:13:39 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3311899#p3311899</guid>
		</item>
	</channel>
</rss>
