Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Plesk server running the domain I was trying to run cronjobs using the scheduler on plesk however I was receiving emails of the cronjobs saying: permission denied.

I SSH into the server:

-bash-3.2$ ls -l var/www/vhosts/
ls: var/www/vhosts/ Permission denied

So I decided to try to make myself a root user like so

chown root:root /home/reopayadmin

Now my website isn't working.

share|improve this question

migrated from Jan 9 '13 at 5:09

This question came from our site for professional and enthusiast programmers.

I'm not sure why this would break your site - what you did is change the owner of your home directly to root instead of giving yourself permission to see that directly. You'll probably need root or sudo access to change it back. Once you change it back, run:sudo ls -l /your/site/directory This will give you the permissions for the site. Next, post what you're trying to do in cron so we can help ensure you set permissions in the right spot.

share|improve this answer
Well I don't know what to change it back to and yes weird that it broke my domain. and I know how to su - to run the cron manually but the idea was to give my user a superuser access permanently – Outcast Jan 9 '13 at 3:41
That's generally not something that you'd like to do - it's dangerous to permanently give your user superuser privileges. As for resetting the chown you did earlier, is your current user reopayadmin? If so, try chown reopayadmin:reopayadmin /home/reopayadmin – Dan Lopez Jan 9 '13 at 4:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.