Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Mar 2009 12:39:45 +1030
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Squirrel <squirrel@mail.isot.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Crash!!!  --  Permission Error
Message-ID:  <200903191239.52808.doconnor@gsoft.com.au>
In-Reply-To: <fa5dabb61f49658b4ec91026575b57e4@mail.isot.com>
References:  <fa5dabb61f49658b4ec91026575b57e4@mail.isot.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Thursday 19 March 2009 11:36:27 Squirrel wrote:
> I'm currently re-installing db41 port.  Earlier using 
> 'innodb_force_recovery = 6' seemed to fix that PANIC error.  But I don't
> understand this permission error.  I've tried various permissions as well
> 777, 766, 666, 760, etc etc.  I've also ran mysqld_safe as root user, but
> with same permission error.  Also tried different directories without luck.

I think you need to _understand_ the permissions before you blindly change 
them.

> When I log in to the server shell, it won't chroot me to my home directory.
>  Instead it puts me in '/' with error message "no .bash_login.  And when I
> log out I get message "no .bash_logout".  I've never had these files in any
> of my users' directories.  Another strange thing just discovered is IE or
> FireFox display "Forbidden - You don't have permission to access / on this
> server", on all web sites.

Does the user have permission to access all the elements in the path of their 
home directory?

ie if their home directory is /usr/home/foo can then cd into /usr, /usr/home 
and /usr/home/foo? If not you will get odd errors.

> So it seems that I have permission problem globally not just within MySQL. 
> What can possibly cause this permission problem?  Hard drive corruption?

Given you are blindly changing perms without really understanding, I suspect 
PEBKAC.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQBJwalp5ZPcIHs/zowRAloEAKClTtavr9VPYv70vw5C+zdaYNie6ACfX8je
hO3cf+pyrSHNsY3alk4sZSU=
=L/bu
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903191239.52808.doconnor>