<?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 : Change file/folder owner</title>
	<atom:link href="http://www.lost-in-code.com/server-management/linux-change-filefolder-owner/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lost-in-code.com/server-management/linux-change-filefolder-owner/</link>
	<description>Web Development Resources</description>
	<lastBuildDate>Mon, 30 Jan 2012 10:42:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: ligrex</title>
		<link>http://www.lost-in-code.com/server-management/linux-change-filefolder-owner/comment-page-1/#comment-9491</link>
		<dc:creator>ligrex</dc:creator>
		<pubDate>Mon, 30 Jan 2012 10:42:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/2008/02/20/linux-change-filefolder-owner/#comment-9491</guid>
		<description>I did these steps (changing dir owner) for a web sites and all worked well. I did the same for another site on the same server but when i try to get into root directory a message appear &quot;permission denied&quot;. Can anybody help me, please? 
Thank you,
ligrex</description>
		<content:encoded><![CDATA[<p>I did these steps (changing dir owner) for a web sites and all worked well. I did the same for another site on the same server but when i try to get into root directory a message appear &#8220;permission denied&#8221;. Can anybody help me, please?<br />
Thank you,<br />
ligrex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: quimkaos</title>
		<link>http://www.lost-in-code.com/server-management/linux-change-filefolder-owner/comment-page-1/#comment-9179</link>
		<dc:creator>quimkaos</dc:creator>
		<pubDate>Mon, 23 Jan 2012 19:20:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/2008/02/20/linux-change-filefolder-owner/#comment-9179</guid>
		<description>is it possible to assign multiple users ownership to a folder? even if they don&#039;t belong to the same user group? or multiple user group ownership to a folder?</description>
		<content:encoded><![CDATA[<p>is it possible to assign multiple users ownership to a folder? even if they don&#8217;t belong to the same user group? or multiple user group ownership to a folder?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pawan</title>
		<link>http://www.lost-in-code.com/server-management/linux-change-filefolder-owner/comment-page-1/#comment-8804</link>
		<dc:creator>Pawan</dc:creator>
		<pubDate>Tue, 13 Dec 2011 08:22:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/2008/02/20/linux-change-filefolder-owner/#comment-8804</guid>
		<description>Thanks a lot.. It helped :)</description>
		<content:encoded><![CDATA[<p>Thanks a lot.. It helped <img src='http://www.lost-in-code.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eduardo</title>
		<link>http://www.lost-in-code.com/server-management/linux-change-filefolder-owner/comment-page-1/#comment-8797</link>
		<dc:creator>Eduardo</dc:creator>
		<pubDate>Fri, 02 Dec 2011 09:49:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/2008/02/20/linux-change-filefolder-owner/#comment-8797</guid>
		<description>Hi thanks quick and nice...

to add my little part if you want to change also the group not only the user.

chgrp works pretty much the same way as chown does, except it changes the file&#039;s user group instead of the owner, of course.

$ chgrp usergroup somefile

After issuing this command, the file somefile will be owned by a user group usergroup. Although the file&#039;s group has changed to usergroup, the file&#039;s owner will still be the same.

The options of using chgrp are the same as using chown. So, for example, the -R and -v options will work with it just like they worked with chown:

$ chgrp -Rv usergroup somedir
changed group of &#039;somedir/&#039; to usergroup
changed group of &#039;somedir/boringfile&#039; to usergroup
changed group of &#039;somedir/somefile&#039; to usergroup


Regards,

Eduardo</description>
		<content:encoded><![CDATA[<p>Hi thanks quick and nice&#8230;</p>
<p>to add my little part if you want to change also the group not only the user.</p>
<p>chgrp works pretty much the same way as chown does, except it changes the file&#8217;s user group instead of the owner, of course.</p>
<p>$ chgrp usergroup somefile</p>
<p>After issuing this command, the file somefile will be owned by a user group usergroup. Although the file&#8217;s group has changed to usergroup, the file&#8217;s owner will still be the same.</p>
<p>The options of using chgrp are the same as using chown. So, for example, the -R and -v options will work with it just like they worked with chown:</p>
<p>$ chgrp -Rv usergroup somedir<br />
changed group of &#8216;somedir/&#8217; to usergroup<br />
changed group of &#8216;somedir/boringfile&#8217; to usergroup<br />
changed group of &#8216;somedir/somefile&#8217; to usergroup</p>
<p>Regards,</p>
<p>Eduardo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saleem Moahammad</title>
		<link>http://www.lost-in-code.com/server-management/linux-change-filefolder-owner/comment-page-1/#comment-8769</link>
		<dc:creator>Saleem Moahammad</dc:creator>
		<pubDate>Tue, 22 Nov 2011 10:47:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/2008/02/20/linux-change-filefolder-owner/#comment-8769</guid>
		<description>Hello,

I am used this pattern, this pattern changed the group name but not change owner. I am write code here .

$fileName = $root_directory.&#039;user_privileges/user_privileges_&#039;.$userid.&#039;.php&#039;;
		exec(&quot;chown employhr $fileName&quot;);
		exec(&quot;chgrp -R employhr $fileName&quot;);
		exec(&#039;&#039;);

Please suggest me how I can do these fo change owner/group.

Regards
Saleem</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I am used this pattern, this pattern changed the group name but not change owner. I am write code here .</p>
<p>$fileName = $root_directory.&#8217;user_privileges/user_privileges_&#8217;.$userid.&#8217;.php&#8217;;<br />
		exec(&#8220;chown employhr $fileName&#8221;);<br />
		exec(&#8220;chgrp -R employhr $fileName&#8221;);<br />
		exec(&#8221;);</p>
<p>Please suggest me how I can do these fo change owner/group.</p>
<p>Regards<br />
Saleem</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Les</title>
		<link>http://www.lost-in-code.com/server-management/linux-change-filefolder-owner/comment-page-1/#comment-8766</link>
		<dc:creator>Les</dc:creator>
		<pubDate>Sun, 20 Nov 2011 07:23:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/2008/02/20/linux-change-filefolder-owner/#comment-8766</guid>
		<description>Thanks for this very useful post.
I am always amazed (and a little scared) of how fast commands work in ssh -

This one did the trick for me!</description>
		<content:encoded><![CDATA[<p>Thanks for this very useful post.<br />
I am always amazed (and a little scared) of how fast commands work in ssh -</p>
<p>This one did the trick for me!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Velzy</title>
		<link>http://www.lost-in-code.com/server-management/linux-change-filefolder-owner/comment-page-1/#comment-7691</link>
		<dc:creator>James Velzy</dc:creator>
		<pubDate>Sat, 16 Jul 2011 05:41:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/2008/02/20/linux-change-filefolder-owner/#comment-7691</guid>
		<description>Where do you find the password for root? Eh?</description>
		<content:encoded><![CDATA[<p>Where do you find the password for root? Eh?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan</title>
		<link>http://www.lost-in-code.com/server-management/linux-change-filefolder-owner/comment-page-1/#comment-7569</link>
		<dc:creator>Ivan</dc:creator>
		<pubDate>Tue, 14 Jun 2011 19:08:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/2008/02/20/linux-change-filefolder-owner/#comment-7569</guid>
		<description>Well done, that helped me out. Thanks</description>
		<content:encoded><![CDATA[<p>Well done, that helped me out. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: avatar</title>
		<link>http://www.lost-in-code.com/server-management/linux-change-filefolder-owner/comment-page-1/#comment-7489</link>
		<dc:creator>avatar</dc:creator>
		<pubDate>Tue, 29 Mar 2011 09:34:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/2008/02/20/linux-change-filefolder-owner/#comment-7489</guid>
		<description>I would like to use some code which would enable me to change separately file permissions from folder permissions. The idea is to set FOLDER Permissions to 0755 and FILE Permissions to 0644. How to do that?</description>
		<content:encoded><![CDATA[<p>I would like to use some code which would enable me to change separately file permissions from folder permissions. The idea is to set FOLDER Permissions to 0755 and FILE Permissions to 0644. How to do that?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

