<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How to Find Files With SUID and SGID Permissions in Linux	</title>
	<atom:link href="https://www.tecmint.com/how-to-find-files-with-suid-and-sgid-permissions-in-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/how-to-find-files-with-suid-and-sgid-permissions-in-linux/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Thu, 13 Jul 2023 14:00:33 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Tomas Raulickis		</title>
		<link>https://www.tecmint.com/how-to-find-files-with-suid-and-sgid-permissions-in-linux/comment-page-1/#comment-1403089</link>

		<dc:creator><![CDATA[Tomas Raulickis]]></dc:creator>
		<pubDate>Mon, 21 Dec 2020 17:48:47 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=26604#comment-1403089</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/how-to-find-files-with-suid-and-sgid-permissions-in-linux/comment-page-1/#comment-956459&quot;&gt;ROMSAT&lt;/a&gt;.

This is incorrect too.  From &quot;man find&quot;: 
&lt;pre&gt;
-perm +mode
&lt;/pre&gt;
This is no longer  supported  (and  has  been  deprecated  since 2005).  

Use &lt;code&gt;-perm /mode&lt;/code&gt; instead.

The correct answer is : 

To find files with SUID, SGID and StickyBit set in Linux.
&lt;pre&gt;
$ sudo find / -type f -perm -7000 
&lt;/pre&gt;
To find directories with SUID, SGID and StickyBit set in Linux.
&lt;pre&gt;
$ sudo find / -type d -perm -7000
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/how-to-find-files-with-suid-and-sgid-permissions-in-linux/comment-page-1/#comment-956459">ROMSAT</a>.</p>
<p>This is incorrect too.  From &#8220;man find&#8221;: </p>
<pre>
-perm +mode
</pre>
<p>This is no longer  supported  (and  has  been  deprecated  since 2005).  </p>
<p>Use <code>-perm /mode</code> instead.</p>
<p>The correct answer is : </p>
<p>To find files with SUID, SGID and StickyBit set in Linux.</p>
<pre>
$ sudo find / -type f -perm -7000 
</pre>
<p>To find directories with SUID, SGID and StickyBit set in Linux.</p>
<pre>
$ sudo find / -type d -perm -7000
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Tomas Raulickis		</title>
		<link>https://www.tecmint.com/how-to-find-files-with-suid-and-sgid-permissions-in-linux/comment-page-1/#comment-1402865</link>

		<dc:creator><![CDATA[Tomas Raulickis]]></dc:creator>
		<pubDate>Sun, 20 Dec 2020 16:58:42 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=26604#comment-1402865</guid>

					<description><![CDATA[The command to find files that have both &lt;strong&gt;SUID&lt;/strong&gt; and &lt;strong&gt;SGID&lt;/strong&gt; set would be with minus sign like so:
&lt;pre&gt;
$ find . -perm -6000
&lt;/pre&gt;
and not with a slash sign like you recommend.
&lt;pre&gt;
$ find . -perm /6000
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>The command to find files that have both <strong>SUID</strong> and <strong>SGID</strong> set would be with minus sign like so:</p>
<pre>
$ find . -perm -6000
</pre>
<p>and not with a slash sign like you recommend.</p>
<pre>
$ find . -perm /6000
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Aaron Kili		</title>
		<link>https://www.tecmint.com/how-to-find-files-with-suid-and-sgid-permissions-in-linux/comment-page-1/#comment-956818</link>

		<dc:creator><![CDATA[Aaron Kili]]></dc:creator>
		<pubDate>Tue, 02 Jan 2018 05:48:39 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=26604#comment-956818</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/how-to-find-files-with-suid-and-sgid-permissions-in-linux/comment-page-1/#comment-956459&quot;&gt;ROMSAT&lt;/a&gt;.

@ROMSTAT

Many thanks for sharing this.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/how-to-find-files-with-suid-and-sgid-permissions-in-linux/comment-page-1/#comment-956459">ROMSAT</a>.</p>
<p>@ROMSTAT</p>
<p>Many thanks for sharing this.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ROMSAT		</title>
		<link>https://www.tecmint.com/how-to-find-files-with-suid-and-sgid-permissions-in-linux/comment-page-1/#comment-956459</link>

		<dc:creator><![CDATA[ROMSAT]]></dc:creator>
		<pubDate>Mon, 01 Jan 2018 10:53:03 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=26604#comment-956459</guid>

					<description><![CDATA[Find files with SUID, SGID and StickyBit set in Linux.
&lt;pre&gt;
$ sudo find / -perm +7000 -type f
&lt;/pre&gt;
Find directories with SUID, SGID and StickyBit set in Linux.
&lt;pre&gt;
$ sudo find / -perm +7000 -type d     
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>Find files with SUID, SGID and StickyBit set in Linux.</p>
<pre>
$ sudo find / -perm +7000 -type f
</pre>
<p>Find directories with SUID, SGID and StickyBit set in Linux.</p>
<pre>
$ sudo find / -perm +7000 -type d     
</pre>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
