I have some difficult problem with Linux permissions - I use Ubuntu 16.04 LTS. I have there an admin account (not root) and I have created there directory which is available for all users in path /home/sadmin/ftp/freeForAll with chmod's 777. Of course when any user logins to his own ftp account he can put there files and remove them without any problem like it should be. But problem begins when any user will create there some directory. This specific directory can't be removed by anyone except this particular user, who has created it. Is it possible to set, in some way, inheriting of permissions of parent directory freeForAll --> "/home/sadmin/ftp/freeForAll" for all newly created subdirectories/nested directories and files?
should be possible using ACL, it supports inheritance of rules. In terms of security / reliability I'm not sure wether this is a very good solution.
I am reading about sgid, suid, sticky bit but I am not sure it resolve this problem. ACL in Linux - it's about setfacl command? I will know what term I should google.
yes, it is about Code: setfacl -dm setting default acl and so on I have some german resources unfortunally, but the ACL entry for archlinux is also informative I think.
Thank you, I will google it. It's important. PS Things, about which I was reading, are not related with the case, am I right?