Umask Function In C, You can use chmod to set your preferred access rights for different users.