Linux | Folder permissions for group

Let us see how we can create and give a group write permission for a folder on Linux environment. This becomes helpful when you want to keep downloaded files accessible to multiple users. Very helpful if you are dealing with Oracle EBS like applications that has different users for both database and application.

[root@erp-test /]# mkdir -p orapatches

--Change group ownership for the newly created folder.
[root@erp-test /]# chgrp -R oinstall /orapatches

--Finally change the mode so that all the members in this group could write to this folder.

[root@erp-test /]# chmod g+w /orapatches

Hope this helps few newbies out there!