Hi@akhtar,
You got this error because your user don't have the execute power of /root folder. So you have to assign execute power to your user. You can use the below command to do so.
$ chmod o+x /root/
It will assign execute power to any user of /root folder.
Hope this answer help you.
To learn more about Linux, enroll in Linux administration course online today.
Thanks.