<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">thanks. That's what I ve done but for new files doesn't work. I d like to get the -d working properly.....</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jun 5, 2018 at 3:26 PM Ken D'Ambrosio <<a href="mailto:ken@jots.org">ken@jots.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>I don't remember the particulars, but I do *both* of these: one to set the ACLs, one to preserve them. (Or something like that.)</p>
<p>setfacl -Rdm u:usernamehere:rwx directoryhere<br>setfacl -Rm u:usernamehere:rwx directoryhere</p>
<p>On 2018-06-05 09:19, Alfredo De Luca wrote:</p>
<blockquote type="cite" style="padding:0 0.4em;border-left:#1010ff 2px solid;margin:0">
<div dir="ltr">
<div class="gmail_default" style="font-family:verdana,sans-serif">Hi all.</div>
<div class="gmail_default" style="font-family:verdana,sans-serif"> </div>
<div class="gmail_default" style="font-family:verdana,sans-serif">We have an sftp server with 10 users and only <strong>one</strong> needs to access the other 9 users directory to retrieve/move/remove files. </div>
<div class="gmail_default" style="font-family:verdana,sans-serif"> </div>
<div class="gmail_default" style="font-family:verdana,sans-serif">I tried with setfacl but doesn;t work properly. </div>
<div class="gmail_default" style="font-family:verdana,sans-serif"> </div>
<div class="gmail_default" style="font-family:verdana,sans-serif">I tried </div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><strong>setfacl -R -d -m u:oneuser:rwx /home</strong></div>
<div class="gmail_default" style="font-family:verdana,sans-serif"> </div>
<div class="gmail_default" style="font-family:verdana,sans-serif">but doesn't work and if I try </div>
<div class="gmail_default" style="font-family:verdana,sans-serif"> </div>
<div class="gmail_default" style="font-family:verdana,sans-serif"> </div>
<div class="gmail_default" style="font-family:verdana,sans-serif">
<div class="gmail_default" style="color:#222222;font-size:13px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;font-family:verdana,sans-serif"><strong>setfacl -R -m u:oneuser:rwx /home</strong></div>
<div class="gmail_default" style="font-family:verdana,sans-serif"> </div>
it works but if a user create a new directory/files will not apply to it.</div>
<div class="gmail_default" style="font-family:verdana,sans-serif"> </div>
<div class="gmail_default" style="font-family:verdana,sans-serif"> </div>
<div class="gmail_default" style="font-family:verdana,sans-serif">Any clue/other solution?</div>
<div class="gmail_default" style="font-family:verdana,sans-serif"> </div>
<div class="gmail_default" style="font-family:verdana,sans-serif">Cheers</div>
<div class="gmail_default" style="font-family:verdana,sans-serif"> </div>
<div class="gmail_default" style="font-family:verdana,sans-serif"> </div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><br class="m_-6522433974105406549gmail-Apple-interchange-newline"><br></div>
<div class="gmail_default" style="font-family:verdana,sans-serif"> </div>
<div> </div>
-- <br>
<div class="m_-6522433974105406549gmail_signature" dir="ltr"><em>Alfredo</em><br>
<div> </div>
</div>
</div>
<br>
<div class="m_-6522433974105406549pre" style="margin:0;padding:0;font-family:monospace"> </div>
</blockquote>
<p><br></p>
</div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><i>Alfredo</i><br><div><br></div></div>