LinHES Forums http://forums.linhes.org/ |
|
Reset Permissions on /var http://forums.linhes.org/viewtopic.php?f=6&t=16169 |
Page 1 of 1 |
Author: | md10md [ Sat Aug 18, 2007 6:50 pm ] |
Post subject: | Reset Permissions on /var |
Well I accidentally ran "chown -R www-data /var" instead of "chown -R www-data /var/www" and I'm getting some weird errors now, mostly DB problems outside of myth. Is there anyway to get these back to normal without reinstalling? |
Author: | austinjp [ Tue Aug 21, 2007 4:39 pm ] |
Post subject: | |
You can always reset them by hand. I imagine if you use the same owners as this /var (from a new install), you'll be ok. Code: root@mythtv:~# ls -la /var
total 64 drwxr-xr-x 16 root root 4096 Nov 1 2006 . drwxr-xr-x 24 root root 4096 Aug 21 14:06 .. drwxr-xr-x 3 root root 4096 Oct 30 2006 autofs drwxr-xr-x 2 root root 4096 May 11 02:17 backups drwxr-xr-x 10 root root 4096 Apr 17 17:54 cache drwxr-xr-x 37 root root 4096 Apr 22 15:16 lib drwxrwsr-x 2 root staff 4096 Oct 28 2006 local drwxrwxrwt 5 root root 4096 Dec 30 2006 lock drwxr-xr-x 11 root root 4096 Aug 21 17:47 log dr-xr-xr-x 2 root root 4096 May 11 04:03 mail drwxr-xr-x 2 root root 4096 Oct 30 2006 opt drwxr-xr-x 14 root root 4096 Aug 21 17:47 run drwxr-xr-x 5 root root 4096 Nov 5 2006 spool drwxrwxrwt 2 root root 4096 Aug 21 17:47 tmp drwx------ 2 root bin 4096 Nov 1 2006 webmin drwxr-xr-x 5 root root 4096 Aug 21 14:10 www |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |