Results 1 to 3 of 3

Thread: my mistake : # chmod 777 /var

  1. #1
    Join Date
    Mar 2010
    Beans
    2

    my mistake : # chmod -R 777 /var

    hello

    i did a big mistake today on my personal desktop...
    i send this : chmod -R 777 /var with root prompt instead of ./var on a website files tree...

    the question : is there any way to 'rollback' this? or the better thing to do is to re-install the system?
    reinstalling is not really a problem (/home is on a separate partition), i just want to save time and to know where to find appropriate guides to repair things like that in case of...

    thank you a lot for your help
    Last edited by cx1max; March 12th, 2010 at 01:57 AM.

  2. #2
    Join Date
    Mar 2010
    Location
    Finland
    Beans
    Hidden!
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: my mistake : # chmod 777 /var

    Code:
    sudo chmod 755 /var
    ?

  3. #3
    Join Date
    Mar 2010
    Beans
    2

    Re: my mistake : # chmod 777 /var

    sorry?

    Oops : here is what i did :

    Code:
    root prompt# chmod -R 777 /var
    with root (sudo su) and the -R switch
    thats why there is a problem with the /var dir now
    Last edited by cx1max; March 12th, 2010 at 01:56 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •