HELP!!!

One of admins in our company changed rights of folder and subfolder /var
How me change back rights of folder and subfolder of /var
Now folder have’s so rights:
drwxrwxrwx 16 root root 408 Jul 22 16:24 var
and so rights of subfolder:
drwxrwxrwx 16 root root 408 Jul 22 16:24 .
drwxr-xr-x 25 root root 640 Mar 17 09:29 …
drwxrwxrwx 5 root root 152 Sep 27 2007 X11R6
drwxrwxrwx 9 root root 248 Dec 4 2007 adm
drwxrwxrwx 11 root root 280 Sep 27 2007 cache
drwxrwxrwx 10 root drweb 240 Apr 4 12:09 drweb
drwxrwxrwx 2 root root 48 May 3 2007 games
drwxrwxrwx 9 root root 312 Jul 22 16:33 jabber
drwxrwxrwx 43 root root 1152 Dec 22 2007 lib
drwxrwxrwx 5 root root 152 Jul 28 12:08 lock
drwxrwxrwx 12 root root 3952 Jul 29 12:30 log
lrwxrwxrwx 1 root root 10 Sep 27 2007 mail → spool/mail
drwxrwxrwx 3 root root 72 Sep 27 2007 opt
drwxrwxrwx 17 root root 904 Jul 28 13:18 run
drwxrwxrwx 12 root root 328 Sep 27 2007 spool
drwxrwxrwx 3 root root 112 Jul 29 00:06 tmp
drwxrwxrwx 3 root root 104 Sep 27 2007 yp

Thanks for advance.

If your system administrator changed permissions, you should ask him/her to change them back.

You need root access to change permissions for /var.

Hi,

Once you have gained root superuser privileges, you can use chmod to change the access rights of every object in the /var directory.

Use the -R option to make the change in one go.

As root, run

chmod -R 755 /var

You are done. This will revert the access rights of every object stored the /var hierarchy back to its standard security settings, where only root is allowed to change/remove them.

Hope this helps.

totaly agree.System rights changed for a reason.Ask your system administrator