<?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 delete &#8220;nobody&#8221; files from a directory I own in FreeBSD?</title>
	<atom:link href="http://www.mattcutts.com/blog/how-to-delete-files-from-a-directory-i-own-in-freebsd/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mattcutts.com/blog/how-to-delete-files-from-a-directory-i-own-in-freebsd/</link>
	<description>neat fun stuff</description>
	<lastBuildDate>Thu, 23 May 2013 01:01:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: prchecker</title>
		<link>http://www.mattcutts.com/blog/how-to-delete-files-from-a-directory-i-own-in-freebsd/#comment-477538</link>
		<dc:creator>prchecker</dc:creator>
		<pubDate>Tue, 23 Feb 2010 05:06:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattcutts.com/blog/?p=1016#comment-477538</guid>
		<description><![CDATA[You can delete files owner by user “nobody” if you are logged in as root.]]></description>
		<content:encoded><![CDATA[<p>You can delete files owner by user “nobody” if you are logged in as root.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: C.J.</title>
		<link>http://www.mattcutts.com/blog/how-to-delete-files-from-a-directory-i-own-in-freebsd/#comment-161392</link>
		<dc:creator>C.J.</dc:creator>
		<pubDate>Thu, 20 Nov 2008 00:43:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattcutts.com/blog/?p=1016#comment-161392</guid>
		<description><![CDATA[I had this same issue after running plogger on my Pair Freebsd server. I had about a 100 .jpg&#039;s owned by user nobody in different subdirectories. 

I discovered that the Pair machine didn&#039;t like chmod, chown or shell script exec from cgi. So I ssh&#039;d to the server and built a list of the files using find. Something like this:

find / -user &#039;nobody&#039; &gt; nobodylist.txt

Then I wrote a short PHP script that assigned the list to an array, and used a foreach loop to unlink each file. Using find for the recursion was simple, and having the text file gave me something to eyeball before running the script. This way I run the shell command with my username and do the unlinking as user nobody.]]></description>
		<content:encoded><![CDATA[<p>I had this same issue after running plogger on my Pair Freebsd server. I had about a 100 .jpg&#8217;s owned by user nobody in different subdirectories. </p>
<p>I discovered that the Pair machine didn&#8217;t like chmod, chown or shell script exec from cgi. So I ssh&#8217;d to the server and built a list of the files using find. Something like this:</p>
<p>find / -user &#8216;nobody&#8217; &gt; nobodylist.txt</p>
<p>Then I wrote a short PHP script that assigned the list to an array, and used a foreach loop to unlink each file. Using find for the recursion was simple, and having the text file gave me something to eyeball before running the script. This way I run the shell command with my username and do the unlinking as user nobody.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kenneth</title>
		<link>http://www.mattcutts.com/blog/how-to-delete-files-from-a-directory-i-own-in-freebsd/#comment-133697</link>
		<dc:creator>Kenneth</dc:creator>
		<pubDate>Thu, 18 Sep 2008 22:00:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattcutts.com/blog/?p=1016#comment-133697</guid>
		<description><![CDATA[Is the directory &#039;sticky&#039;? See &#039;man sticky(8)&#039;.

From &#039;man chmod(2)&#039;:

If mode ISTXT (the `sticky bit&#039;) is set on a directory, an unprivileged
user may not delete or rename files of other users in that directory.
The sticky bit may be set by any user on a directory which the user owns
or has appropriate permissions.  For more details of the properties of
the sticky bit, see sticky(8).]]></description>
		<content:encoded><![CDATA[<p>Is the directory &#8216;sticky&#8217;? See &#8216;man sticky(8)&#8217;.</p>
<p>From &#8216;man chmod(2)&#8217;:</p>
<p>If mode ISTXT (the `sticky bit&#8217;) is set on a directory, an unprivileged<br />
user may not delete or rename files of other users in that directory.<br />
The sticky bit may be set by any user on a directory which the user owns<br />
or has appropriate permissions.  For more details of the properties of<br />
the sticky bit, see sticky(8).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waldo</title>
		<link>http://www.mattcutts.com/blog/how-to-delete-files-from-a-directory-i-own-in-freebsd/#comment-133617</link>
		<dc:creator>Waldo</dc:creator>
		<pubDate>Tue, 16 Sep 2008 16:14:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattcutts.com/blog/?p=1016#comment-133617</guid>
		<description><![CDATA[Fellow Pair user here.  There really is no better web host out there, IMO.  Yeah, there are hosts that use chrooted jailed environments, Pair doesn&#039;t and they have their reasons, one being scalability.

Check out php-cgiwrap:
http://www.pair.com/support/knowledge_base/authoring_development/system_cgi_php-cgiwrap.html

I&#039;m running WP, Drupal and Gallery with that setup without any problems.

You can tighten down permissions pretty good then too because directories can be set at 701 (or you can just leave them at 755) and any php files can be set to 600.

You can also use cgiwrap for any cgi scripts you have and Pair is also working on testing suEXEC, so hopefully, those of us not on dedicated servers will be able to run pretty much everything under our own user account and not &#039;nobody&#039;.

Go ahead and hit www.pairusers.com, a community driven site hosted by a Pair user.  The username and password are the same as accessing their newsgroups.  Just log into your account via SSH and it&#039;s displayed there.  Search for &#039;security&#039; and &#039;permissions&#039; and you can read up on all kinds of info about tightening up your account at Pair.]]></description>
		<content:encoded><![CDATA[<p>Fellow Pair user here.  There really is no better web host out there, IMO.  Yeah, there are hosts that use chrooted jailed environments, Pair doesn&#8217;t and they have their reasons, one being scalability.</p>
<p>Check out php-cgiwrap:<br />
<a href="http://www.pair.com/support/knowledge_base/authoring_development/system_cgi_php-cgiwrap.html" rel="nofollow">http://www.pair.com/support/knowledge_base/authoring_development/system_cgi_php-cgiwrap.html</a></p>
<p>I&#8217;m running WP, Drupal and Gallery with that setup without any problems.</p>
<p>You can tighten down permissions pretty good then too because directories can be set at 701 (or you can just leave them at 755) and any php files can be set to 600.</p>
<p>You can also use cgiwrap for any cgi scripts you have and Pair is also working on testing suEXEC, so hopefully, those of us not on dedicated servers will be able to run pretty much everything under our own user account and not &#8216;nobody&#8217;.</p>
<p>Go ahead and hit <a href="http://www.pairusers.com" rel="nofollow">http://www.pairusers.com</a>, a community driven site hosted by a Pair user.  The username and password are the same as accessing their newsgroups.  Just log into your account via SSH and it&#8217;s displayed there.  Search for &#8216;security&#8217; and &#8216;permissions&#8217; and you can read up on all kinds of info about tightening up your account at Pair.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: whatever</title>
		<link>http://www.mattcutts.com/blog/how-to-delete-files-from-a-directory-i-own-in-freebsd/#comment-133572</link>
		<dc:creator>whatever</dc:creator>
		<pubDate>Tue, 16 Sep 2008 04:25:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattcutts.com/blog/?p=1016#comment-133572</guid>
		<description><![CDATA[You can delete files owner by user &quot;nobody&quot; if you are logged in as root.]]></description>
		<content:encoded><![CDATA[<p>You can delete files owner by user &#8220;nobody&#8221; if you are logged in as root.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike  Dammann</title>
		<link>http://www.mattcutts.com/blog/how-to-delete-files-from-a-directory-i-own-in-freebsd/#comment-133502</link>
		<dc:creator>Mike  Dammann</dc:creator>
		<pubDate>Mon, 15 Sep 2008 06:41:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattcutts.com/blog/?p=1016#comment-133502</guid>
		<description><![CDATA[@ceejayoz
You&#039;re right, I&#039;ve been way behind and just upgraded. The blogs using the Wordpress platforms which have been hacked however were not mine and some of those were using this latest version as well.
Wordpress has been and is a step behind when it comes to security. 
Switching to Blogger because of it?
Nah, I think I&#039;ll pass. :)
Matt Mullenweg has admitted to a need to make upgrades easier in a recent interview with me, but downplayed the security issues.
I see major issues coming up knowing that more and more hackers become aware of the fast benefit from hacking authority blogs.
I have also seen some quality blogs get penalized. One example from not too long ago would be the v7n blogs disappearing from the Google index, but there are many more out there which don&#039;t make it into the &quot;SEO headlines&quot;.
This is not just a Wordpress issue, it&#039;s also a Google issue as SERPs are getting manipulated and ranking in Google seems to be THE motivator to hack the blogs to begin with.



~ Mike Dammann]]></description>
		<content:encoded><![CDATA[<p>@ceejayoz<br />
You&#8217;re right, I&#8217;ve been way behind and just upgraded. The blogs using the WordPress platforms which have been hacked however were not mine and some of those were using this latest version as well.<br />
Wordpress has been and is a step behind when it comes to security.<br />
Switching to Blogger because of it?<br />
Nah, I think I&#8217;ll pass. <img src='http://www.mattcutts.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Matt Mullenweg has admitted to a need to make upgrades easier in a recent interview with me, but downplayed the security issues.<br />
I see major issues coming up knowing that more and more hackers become aware of the fast benefit from hacking authority blogs.<br />
I have also seen some quality blogs get penalized. One example from not too long ago would be the v7n blogs disappearing from the Google index, but there are many more out there which don&#8217;t make it into the &#8220;SEO headlines&#8221;.<br />
This is not just a WordPress issue, it&#8217;s also a Google issue as SERPs are getting manipulated and ranking in Google seems to be THE motivator to hack the blogs to begin with.</p>
<p>~ Mike Dammann</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Cutts</title>
		<link>http://www.mattcutts.com/blog/how-to-delete-files-from-a-directory-i-own-in-freebsd/#comment-133495</link>
		<dc:creator>Matt Cutts</dc:creator>
		<pubDate>Mon, 15 Sep 2008 02:57:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattcutts.com/blog/?p=1016#comment-133495</guid>
		<description><![CDATA[Harith, I think WordPress is so popular that it&#039;s inevitable that WP is a pretty big target for hackers. What bothers me is the need to upgrade my software whenever there&#039;s a new security hole--that plus this annoying &quot;it takes forever to clean up the junk left behind by WP Super Cache&quot; issue had me taking a fresh look at Blogger this past weekend.

I store my data in the cloud for most services these days precisely so I don&#039;t have to worry about security issues or keeping my software up-to-date. If Blogger had a few more options (ability to do different permalink url vs. title, better WordPress importing ability, more flexibility with comments), it would be pretty tempting. Some of the stuff at &lt;a href=&quot;http://bloggerindraft.blogspot.com/&quot; rel=&quot;nofollow&quot;&gt;Blogger in Draft&lt;/a&gt; is looking pretty neat.]]></description>
		<content:encoded><![CDATA[<p>Harith, I think WordPress is so popular that it&#8217;s inevitable that WP is a pretty big target for hackers. What bothers me is the need to upgrade my software whenever there&#8217;s a new security hole&#8211;that plus this annoying &#8220;it takes forever to clean up the junk left behind by WP Super Cache&#8221; issue had me taking a fresh look at Blogger this past weekend.</p>
<p>I store my data in the cloud for most services these days precisely so I don&#8217;t have to worry about security issues or keeping my software up-to-date. If Blogger had a few more options (ability to do different permalink url vs. title, better WordPress importing ability, more flexibility with comments), it would be pretty tempting. Some of the stuff at <a href="http://bloggerindraft.blogspot.com/" rel="nofollow">Blogger in Draft</a> is looking pretty neat.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maurice</title>
		<link>http://www.mattcutts.com/blog/how-to-delete-files-from-a-directory-i-own-in-freebsd/#comment-133490</link>
		<dc:creator>Maurice</dc:creator>
		<pubDate>Sun, 14 Sep 2008 20:45:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattcutts.com/blog/?p=1016#comment-133490</guid>
		<description><![CDATA[its a good idea to remove the version number from any wp inatallation as it makes searches for posible targets harder.]]></description>
		<content:encoded><![CDATA[<p>its a good idea to remove the version number from any wp inatallation as it makes searches for posible targets harder.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ceejayoz</title>
		<link>http://www.mattcutts.com/blog/how-to-delete-files-from-a-directory-i-own-in-freebsd/#comment-133485</link>
		<dc:creator>ceejayoz</dc:creator>
		<pubDate>Sun, 14 Sep 2008 14:51:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattcutts.com/blog/?p=1016#comment-133485</guid>
		<description><![CDATA[@Harith 12:33am - The article your link goes to is on a site running WordPress 2.3.3 (see the source code).  WordPress is on 2.6.2.  Perhaps he&#039;s getting hacked because he&#039;s not upgrading his installation with the latest security patches?

All code has vulnerabilities.  WordPress has been good about fixing them, but they can&#039;t force people to update their own installations.]]></description>
		<content:encoded><![CDATA[<p>@Harith 12:33am &#8211; The article your link goes to is on a site running WordPress 2.3.3 (see the source code).  WordPress is on 2.6.2.  Perhaps he&#8217;s getting hacked because he&#8217;s not upgrading his installation with the latest security patches?</p>
<p>All code has vulnerabilities.  WordPress has been good about fixing them, but they can&#8217;t force people to update their own installations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://www.mattcutts.com/blog/how-to-delete-files-from-a-directory-i-own-in-freebsd/#comment-133484</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Sun, 14 Sep 2008 13:52:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattcutts.com/blog/?p=1016#comment-133484</guid>
		<description><![CDATA[About saying you can do &quot;unlink(”file*”);&quot; while that is true, using the Directory Iterator class (if you have PHP5) is pretty simple to batch delete files in a foreach loop.  Either way you have a solution, just thought I&#039;d deposit my 2 cents.]]></description>
		<content:encoded><![CDATA[<p>About saying you can do &#8220;unlink(”file*”);&#8221; while that is true, using the Directory Iterator class (if you have PHP5) is pretty simple to batch delete files in a foreach loop.  Either way you have a solution, just thought I&#8217;d deposit my 2 cents.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using n/a

 Served from: www.mattcutts.com @ 2013-05-22 18:43:27 by W3 Total Cache -->