1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

I have crashe Plesk 9.3

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by Grossmann-Grupp, Feb 15, 2010.

  1. Grossmann-Grupp

    Grossmann-Grupp Guest

    0
     
    Hi!


    I have crashed the User and Group Rights in
    /var/www/vhosts/ or better say /var/www/
    Please let me know how I can set back all Owner and Group Names.

    Which rights need /var/www/... and which Groups

    Actualy:
    Group - root & apache
    Owner - root & ftp

    With Permissions: rwxr-x--- / 0755

    Please help with the right commands. I didn´t know the right way to fix this problem...

    Thanks allot!

    King Regards

    Joerg
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    For example:

    For vhosts you can set correct permissions with

    /usr/local/psa/admin/bin/vhostmng with --set-content-permissions option (--help for details)
     
  3. Grossmann-Grupp

    Grossmann-Grupp Guest

    0
     
    Some Options run, some not...

    Hi Igor!

    Thanks for your very fast awnser!!!
    I have set for one cronuser the settings with "chown !cronuser! /var/www/vhosts/!crownuser.tld! -R" and
    "chgrp !cronuser! /var/www/vhosts/!crownuser.tld! -R"
    ( I have 20 Cronuser's ) How can I speed up this work? Did you know a option to make this step faster than one by one?

    Than the command "/usr/local/psa/admin/bin/vhostmng --set-content-permissions option" (--help for details) won`t work. Please explaine how this command works with a example.

    At last... the "safemode.tld" is missing complete. "cronuser.tld" is a placeholder for the name of the TLD.
    Please let me know more about this misterious "safemode.tld"

    King Regards


    Joerg
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    cronuser, safemode.tld, etc. - it is just my SAMPLES!!! You have own domains, users, etc on your server!

    And did you read help for vhostmng command?

    Try it with

    I hope it will help you with understanding.
     
  5. Grossmann-Grupp

    Grossmann-Grupp Guest

    0
     
    Hi Igor!


    Thanks for explain "safemode.tld" and "usermod.tld"... ;)
    But the Help "/usr/local/psa/admin/bin/vhostmng --help" was not realy helpfull.

    First I have change all Groups and Owner to Root. After this step I start with the next Step...

    chown *cronuser* /var/www/vhosts/*crownuser.tld*/*Dir* -R;
    chgrp psaserv /var/www/vhosts/*crownuser.tld*/*Dir* -R;

    (All in * * must be change to your own Data! If you have more than 1 Command-Line you can use the ; to start Command after Command with one step!)

    After this step I use the Commands:
    chmod 700 /var/www/vhosts/*cronuser.tld*/private/;
    and:
    chmod 751 /var/www/vhosts/*cronuser.tld*/*Dir*/;

    (All in * * must be change to your own Data! If you have more than 1 Command-Line you can use the ; to start Command after Command with one step!)

    for all Dir's to set the right "Rights" ;-)

    If you have more than 1 *usermod.tld* you can prepare all Command Lines in the Notepad / Text Editor before posting in the Shell. That is a good way to work with this commands.

    Hope you think my way is the same way as your way...

    Much Thanks for your realy great Help!!!!!!!!!!!!


    King Regards

    Jörg

    PS: Now I have to fix the Problem with the Mails... Somebody can't send Mails to my Mail Adresses *LOL*
     
  6. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Jörg,

    If you have a problems with recovering your system permissions you can contact Papallels support team. They will fix it for you.
     
Loading...