<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>php files Archives - Chris Gilligan » new media</title>
	<atom:link href="https://chrisgilligan.com/tag/php-files/feed/" rel="self" type="application/rss+xml" />
	<link>https://chrisgilligan.com/tag/php-files/</link>
	<description>portfolio of web work</description>
	<lastBuildDate>Thu, 25 Feb 2021 20:27:58 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>Recursive chmod Tricks</title>
		<link>https://chrisgilligan.com/wordpress/chmod-recursive-files-only-directories-type/</link>
					<comments>https://chrisgilligan.com/wordpress/chmod-recursive-files-only-directories-type/#comments</comments>
		
		<dc:creator><![CDATA[Chris Gilligan]]></dc:creator>
		<pubDate>Tue, 05 Jul 2011 14:37:58 +0000</pubDate>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[chmod]]></category>
		<category><![CDATA[directories only]]></category>
		<category><![CDATA[directory only]]></category>
		<category><![CDATA[file only]]></category>
		<category><![CDATA[folders only]]></category>
		<category><![CDATA[only directories]]></category>
		<category><![CDATA[only files]]></category>
		<category><![CDATA[only folders]]></category>
		<category><![CDATA[php files]]></category>
		<category><![CDATA[recursive]]></category>
		<category><![CDATA[recursively]]></category>
		<guid isPermaLink="false">https://chrisgilligan.com/?p=349</guid>

					<description><![CDATA[<p>Recursively chmod only directories find . -type d -exec chmod 755 {} \; Similarly, recursively set the execute bit on every directory chmod -R a+X * The +X flag sets the execute bit on directories only See note from commenter, below, about effect on files ↓ Recursively chmod only files find . -type f -exec chmod 644 {} \; Recursively chmod only PHP files (with extension .php) find . -type f -name '*.php' -exec chmod 644 {} \;</p>
<p>The post <a href="https://chrisgilligan.com/wordpress/chmod-recursive-files-only-directories-type/">Recursive chmod Tricks</a> appeared first on <a href="https://chrisgilligan.com">Chris Gilligan » new media</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p style="float: right; margin: 0 0 10px 15px; width:240px; height: auto;">
		<img src="https://d2lehxir4n36oh.cloudfront.net/wp-content/uploads/2011/07/chmod-linux-1.png?x15172" width="240" style="max-width: 100%; height: auto;" />
		</p><p>Recursively <strong>chmod</strong> only directories<br />
<code>find . -type d -exec <strong>chmod</strong> 755 {} \;</code></p>
<p>Similarly, recursively set the execute bit on every directory<br />
<code><strong>chmod</strong> -R a+X *</code><br />
The +X flag sets the execute bit on <del>directories only<br />
</del>See <a href="#comment-44330">note from commenter, below, about effect on files ↓</a></p>
<p>Recursively <strong>chmod</strong> only files<br />
<code>find . -type f -exec <strong>chmod</strong> 644 {} \;</code></p>
<p>Recursively <strong>chmod</strong> only PHP files (with extension .php)<br />
<code>find . -type f -name '*.php' -exec <strong>chmod</strong> 644 {} \;</code></p>
<p>The post <a href="https://chrisgilligan.com/wordpress/chmod-recursive-files-only-directories-type/">Recursive chmod Tricks</a> appeared first on <a href="https://chrisgilligan.com">Chris Gilligan » new media</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://chrisgilligan.com/wordpress/chmod-recursive-files-only-directories-type/feed/</wfw:commentRss>
			<slash:comments>8</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Page Caching using Disk: Enhanced 
Content Delivery Network via Amazon Web Services: CloudFront: d2lehxir4n36oh.cloudfront.net
Lazy Loading (feed)

Served from: chrisgilligan.com @ 2026-09-09 14:42:16 by W3 Total Cache
-->