I'm giving full permission in a folder using chmod:
chmod 777 /srv/folder
Inside this folder many other folders and files will be created. My problem is that the full permission does no apply to these new folders and files. When I run the chmod command everything works OK, but after, when someone create a new file or folder this new item throws access denied error.
How can I set the permission in a way that everyone can do anything inside this folder, without having to update the permission?
Thanks in advance for any help.