Granting Ownership and Authority
Enter these commands to grant ownership and authority to the directory you created in Creating a New User and Group:
chmod 777 host_code_dir
chown user host_code_dir
chgrp group host_code_dir
Enter these commands to grant ownership and authority to the directory you created in Creating a New User and Group:
chmod 777 host_code_dir
chown user host_code_dir
chgrp group host_code_dir