The above command should have changed the user privileges to that of an administrator. What I mean to say here is that, give full privileges to all the existing users.
1.4 Change the permission of the entire directory.1 6 Ways to Fix You Need Permission to Perform This Action.