osdir.com


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

setfacl


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_
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20180605/b4f84d25/attachment.html>