<html><body bgcolor="#FFFFFF"><div>Hi,</div><div><br>On Jan 26, 2011, at 7:31 PM, James Bensley <<a href="mailto:jwbensley@gmail.com">jwbensley@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div><span>On 26 January 2011 10:17, Rafa Griman <<a href="mailto:rafagriman@gmail.com">rafagriman@gmail.com</a>> wrote:</span><br><blockquote type="cite"><span>Directories should have +x permissions. Do a:</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>chmod 0750 /directory</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>And see what happens.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><span></span><br><span>Hi Rafa, like a fool I sent that email and then worked this out</span><br><span>shortly after :)</span><br><span></span><br><span>Still, if I hadn't your response was quick so I wouldn't have been</span><br><span>waiting long. This leads me onto a new question though;</span><br><span></span><br><span>If user1 writes a file in folder1 will user2 be made the default group</span><br><span>owner, is there a way of enforcing this and with the required</span><br><span>privileges (r for files, rx for directories?).</span><br></div></blockquote><div><br></div><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); ">Yes. If user1 belongs to the user2 group, thatfs how it should [already] work.</span><div><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469);"><br></span><blockquote type="cite"><div><span></span><span>User1 accesses folder1 over smb so I could set up a create mask but</span><br><span>other folders accessed by users1 not via smb (ssh, rsync etc) I still</span><br><span>want user2 to have read only access. Can you implement smb style</span><br><span>create masks at a file system level?</span><br><font class="Apple-style-span" color="#000000"><font class="Apple-style-span" color="#0023A3"><br></font></font></div></blockquote><div><br></div><div> man acl</div><div><br></div><div>Maybe thatfs what you are looking for.</div><div><br></div><div>HTH,</div><div><br></div><div>-- </div><div>- Edwin - <a href="mailto:ml2edwin@gmail.com"><a href="mailto:ml2edwin@gmail.com">mailto:ml2edwin@gmail.com</a></a></div><div>gThe wise are the ones that treasure up knowledge, but the mouth</div><div> of the foolish one is near to ruin itself.hüüProverbs 10:14</div><div><br></div></div></body></html>