inherit permissions of the parent directory in newly created file
I have created a directory and added to to a group.I want that any new files/dirs created in the directory should inherit all the permissions including user and owner.
chgrp -Rv mygrp mydir/
I have used the above command to add mydir directory to mygrp group.
I want any new files created in mydir shoul have group owner as mygrp and inherit other permissions of mydir also.I think umask,sgid command should solve the purpose but can anybody suggest me ho to do it
Last edited by abhijit_mohanta; 09-10-2009 at 04:56 AM.