<?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: Linux Tips: get the list of subdirectories with their owner &amp; permissions and full paths</title> <atom:link href="http://www.ducea.com/2009/06/05/linux-tips-get-the-list-of-subdirectories-with-their-owner-permissions-and-full-paths/feed/" rel="self" type="application/rss+xml" /><link>http://www.ducea.com/2009/06/05/linux-tips-get-the-list-of-subdirectories-with-their-owner-permissions-and-full-paths/</link> <description>The Journal Of A Linux Sysadmin</description> <lastBuildDate>Thu, 09 Feb 2012 03:50:59 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <item><title>By: Ash</title><link>http://www.ducea.com/2009/06/05/linux-tips-get-the-list-of-subdirectories-with-their-owner-permissions-and-full-paths/comment-page-1/#comment-192682</link> <dc:creator>Ash</dc:creator> <pubDate>Mon, 04 Apr 2011 09:56:22 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/?p=910#comment-192682</guid> <description>Peter Manis: but this way you will start 100 times more processes, one chown for each directory. If there is more directories, one chown per 100 of them is better solution. Only works if the command can handle more arguments of course (chown does).</description> <content:encoded><![CDATA[<p>Peter Manis: but this way you will start 100 times more processes, one chown for each directory. If there is more directories, one chown per 100 of them is better solution. Only works if the command can handle more arguments of course (chown does).</p> ]]></content:encoded> </item> <item><title>By: Peter Manis</title><link>http://www.ducea.com/2009/06/05/linux-tips-get-the-list-of-subdirectories-with-their-owner-permissions-and-full-paths/comment-page-1/#comment-181599</link> <dc:creator>Peter Manis</dc:creator> <pubDate>Mon, 15 Feb 2010 07:48:39 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/?p=910#comment-181599</guid> <description>prasana:  You can do the chown inside of findfind /var -mount -type f ! -user root -exec chown root:root {} \;</description> <content:encoded><![CDATA[<p>prasana:  You can do the chown inside of find</p><p>find /var -mount -type f ! -user root -exec chown root:root {} \;</p> ]]></content:encoded> </item> <item><title>By: find . ! -type d -ls at LinuxPlanet Blogs</title><link>http://www.ducea.com/2009/06/05/linux-tips-get-the-list-of-subdirectories-with-their-owner-permissions-and-full-paths/comment-page-1/#comment-181561</link> <dc:creator>find . ! -type d -ls at LinuxPlanet Blogs</dc:creator> <pubDate>Wed, 03 Feb 2010 19:30:27 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/?p=910#comment-181561</guid> <description>[...] I ripped this straight off of ducea.com: [...]</description> <content:encoded><![CDATA[<p>[...] I ripped this straight off of ducea.com: [...]</p> ]]></content:encoded> </item> <item><title>By: prasana Iyengar</title><link>http://www.ducea.com/2009/06/05/linux-tips-get-the-list-of-subdirectories-with-their-owner-permissions-and-full-paths/comment-page-1/#comment-181472</link> <dc:creator>prasana Iyengar</dc:creator> <pubDate>Thu, 31 Dec 2009 00:17:14 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/?p=910#comment-181472</guid> <description>1.  xargs is a good way to chunk especially when the return set is large [which tends to be the case for find]
2. -mount to keep within a filesystem.as an example,
find /var -mount ! -user root -o ! -group root &#124; xargs -n 100 chown root:root(came here for arping -S -B ) and stayed to comment :) happy new year</description> <content:encoded><![CDATA[<p>1.  xargs is a good way to chunk especially when the return set is large [which tends to be the case for find]<br
/> 2. -mount to keep within a filesystem.</p><p>as an example,<br
/> find /var -mount ! -user root -o ! -group root | xargs -n 100 chown root:root</p><p>(came here for arping -S -B ) and stayed to comment <img
src='http://www.ducea.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> happy new year</p> ]]></content:encoded> </item> <item><title>By: Maher Saif</title><link>http://www.ducea.com/2009/06/05/linux-tips-get-the-list-of-subdirectories-with-their-owner-permissions-and-full-paths/comment-page-1/#comment-180646</link> <dc:creator>Maher Saif</dc:creator> <pubDate>Thu, 23 Jul 2009 00:18:55 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/?p=910#comment-180646</guid> <description>I think this will help :)
tree -dfup /var &#124; grep -v root</description> <content:encoded><![CDATA[<p>I think this will help <img
src='http://www.ducea.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br
/> tree -dfup /var | grep -v root</p> ]]></content:encoded> </item> <item><title>By: - Marius -</title><link>http://www.ducea.com/2009/06/05/linux-tips-get-the-list-of-subdirectories-with-their-owner-permissions-and-full-paths/comment-page-1/#comment-180416</link> <dc:creator>- Marius -</dc:creator> <pubDate>Fri, 05 Jun 2009 13:29:07 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/?p=910#comment-180416</guid> <description>@chlovechek: you are correct. This is a much better solution! thanks for your comment.Cheers,
- Marius -</description> <content:encoded><![CDATA[<p>@chlovechek: you are correct. This is a much better solution! thanks for your comment.</p><p>Cheers,<br
/> - Marius -</p> ]]></content:encoded> </item> <item><title>By: chlovechek</title><link>http://www.ducea.com/2009/06/05/linux-tips-get-the-list-of-subdirectories-with-their-owner-permissions-and-full-paths/comment-page-1/#comment-180415</link> <dc:creator>chlovechek</dc:creator> <pubDate>Fri, 05 Jun 2009 13:01:30 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/?p=910#comment-180415</guid> <description>This will also filter out directories having &#039;root&#039; in their name...Maybe cleaner solution would be:
find /var ! -user root -type d -ls</description> <content:encoded><![CDATA[<p>This will also filter out directories having &#8216;root&#8217; in their name&#8230;</p><p>Maybe cleaner solution would be:<br
/> find /var ! -user root -type d -ls</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Served from: www.ducea.com @ 2012-02-08 20:10:30 by W3 Total Cache -->
