<div dir="ltr"><br><br><div class="gmail_quote">2010/7/11 camelia <span dir="ltr"><<a href="mailto:camelia.botez@weizmann.ac.il">camelia.botez@weizmann.ac.il</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal">We have a server runing RHEL 4.</p>
<p class="MsoNormal">We created for an already existing file system acl looking
like this:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal" style=""><span style="font-family: "Courier New";">#
file: ngs</span></p>
<p class="MsoNormal" style=""><span style="font-family: "Courier New";">#
owner: bsgilgi</span></p>
<p class="MsoNormal" style=""><span style="font-family: "Courier New";">#
group: bioserv</span></p>
<p class="MsoNormal" style=""><span style="font-family: "Courier New";">user::rwx</span></p>
<p class="MsoNormal" style=""><span style="font-family: "Courier New";">group::rwx</span></p>
<p class="MsoNormal" style=""><span style="font-family: "Courier New";">group:bioserv:rwx</span></p>
<p class="MsoNormal" style=""><span style="font-family: "Courier New";">mask::rwx</span></p>
<p class="MsoNormal" style=""><span style="font-family: "Courier New";">other::r-x</span></p>
<p class="MsoNormal" style=""><span style="font-family: "Courier New";">default:user::rwx</span></p>
<p class="MsoNormal" style=""><span style="font-family: "Courier New";">default:group::rwx</span></p>
<p class="MsoNormal" style=""><span style="font-family: "Courier New";">default:group:bioserv:rwx</span></p>
<p class="MsoNormal" style=""><span style="font-family: "Courier New";">default:mask::rwx</span></p>
<p class="MsoNormal" style=""><span style="font-family: "Courier New";">default:other::r-x</span></p>
<p class="MsoNormal" style=""><span style="font-family: "Courier New";"> </span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">We want to know why the permissions for group bioserv are
not inherited on subdirectories ( only on the new created directories under
group bioserv) and why users from bioserv group cannot r/w files in other
users directories?</p>
</div>
</div>
<br></blockquote><div><br>There's no inheritence of permissions in *nix.<br><br>There is however a way to inherit the group of the parent directory on new files, by setting the directory with the suid bit (chmod +s).<br>
<br>If this was not done prior to creating the files, and now needs to be done, you can simply run:<br><br>chgrp -R bioserv <root-dir-name><br>chmod -R g+rw <root-dir-name><br>find <root-dir-name> -type d -exec chmod g+x '{}' \;<br>
<br>... and I think everything would be OK...<br><br>HTH,<br><br>-- Shimi<br></div></div><br></div>