What user and group ownership does the directory new-dir have after the ownership change?

QuestionsQuestions8 SkillsProPermissions of FilesAug, 30 2025
097

To determine the user and group ownership of the directory new-dir after an ownership change, you can use the following command:

ls -ld new-dir

This command will display the details of the directory, including the user and group ownership. The output will look something like this:

drwxr-xr-x 2 new_user camelherders 4096 Mar 24 16:47 new-dir

In this example, new_user is the owner and camelherders is the group. Adjust the command according to the actual ownership you set.

0 Comments

no data
Be the first to share your comment!