<br><br><div><span class="gmail_quote">On 8/3/07, <b class="gmail_sendername">Ross S. W. Walker</b> <<a href="mailto:rwalker@medallion.com">rwalker@medallion.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> -----Original Message-----<br>> From: <a href="mailto:centos-bounces@centos.org">centos-bounces@centos.org</a><br>> [mailto:<a href="mailto:centos-bounces@centos.org">centos-bounces@centos.org</a>] On Behalf Of joseph blase
<br>> Sent: Thursday, August 02, 2007 5:33 PM<br>> To: CentOS mailing list<br>> Subject: [CentOS] Chmod Explaination<br>><br>> Howdy list,<br>><br>>  I can't seem to find any doc's explaining what's really
<br>> going on behind this scenario:<br>><br>> A user home directory had been reset to :<br>><br>> d--- --- --- user group user_dir<br>><br>><br>> As root i tried to :<br>><br>> chmod -R 750 user_dir
<br>><br>> got permission denied, my friend tried with as user that owns<br>> the directory to:<br>><br>> chmod -R 750 user_dir  and voila it works.<br>><br>> My question is how come did it work, since the user_dir
<br>> doesn't have a owner permission attached and why user root<br>> has been denied with changing the mode?<br><br>Owners always have rights to change permission on a file/folder.</blockquote><div><br><br>Even those that were reset? I thinking that it's good as no permission cause it has  only d--- --- ---   user_dir.
<br><br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">As far as root not being able to, do you have selinux running?</blockquote>
<div><br>No, I don't have.<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">-Ross</blockquote><div><br><br>-Joseph <br></div>
<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">______________________________________________________________________<br>This e-mail, and any attachments thereto, is intended only for use by
<br>the addressee(s) named herein and may contain legally privileged<br>and/or confidential information. If you are not the intended recipient<br>of this e-mail, you are hereby notified that any dissemination,<br>distribution or copying of this e-mail, and any attachments thereto,
<br>is strictly prohibited. If you have received this e-mail in error,<br>please immediately notify the sender and permanently delete the<br>original and any copy or printout thereof.<br><br>_______________________________________________
<br>CentOS mailing list<br><a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br><a href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos</a><br></blockquote></div><br>