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.
