Can I change group ownership only?

QuestionsQuestions8 SkillsProPermissions of FilesOct, 04 2025
096

Yes, you can change only the group ownership of a file using the chgrp command. The syntax is as follows:

chgrp newgroup filename

Replace newgroup with the name of the group you want to assign and filename with the name of the file. This command will change the group ownership without affecting the user ownership.

0 Comments

no data
Be the first to share your comment!