osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setfacl


you are right.... both will do the job.

Thanks
Now we have the problem with new user/homedir....cause we user freeipa with
sssd




On Tue, Jun 5, 2018 at 3:44 PM Alfredo De Luca <alfredo.deluca at gmail.com>
wrote:

> thanks. That's what I ve done but for new files doesn't work. I d like to
> get the -d working properly.....
>
>
> On Tue, Jun 5, 2018 at 3:26 PM Ken D'Ambrosio <ken at jots.org> wrote:
>
>> 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.)
>>
>> setfacl -Rdm u:usernamehere:rwx directoryhere
>> setfacl -Rm u:usernamehere:rwx directoryhere
>>
>> On 2018-06-05 09:19, Alfredo De Luca wrote:
>>
>> Hi all.
>>
>> We have an sftp server with 10 users and only *one* needs to access the
>> other 9 users directory to retrieve/move/remove files.
>>
>> I tried with setfacl but doesn;t work properly.
>>
>> I tried
>> *setfacl -R -d -m u:oneuser:rwx /home*
>>
>> but doesn't work and if I try
>>
>>
>> *setfacl -R -m u:oneuser:rwx /home*
>>
>> it works but if a user create a new directory/files will not apply to it.
>>
>>
>> Any clue/other solution?
>>
>> Cheers
>>
>>
>>
>>
>>
>>
>> --
>> *Alfredo*
>>
>>
>>
>>
>>
>>
>
> --
> *Alfredo*
>
>

-- 
*Alfredo*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20180605/f416146d/attachment-0001.html>