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
--nextPart1768792.eKuUbW8mS0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Thursday 19 March 2009 11:36:27 Squirrel wrote:
> I'm currently re-installing db41 port.  Earlier using=20
> 'innodb_force_recovery =3D 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 luc=
k.

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

> When I log in to the server shell, it won't chroot me to my home director=
y.
>  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 a=
ny
> 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 the=
ir=20
home directory?

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

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

Given you are blindly changing perms without really understanding, I suspec=
t=20
PEBKAC.

=2D-=20
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


--nextPart1768792.eKuUbW8mS0
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

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

--nextPart1768792.eKuUbW8mS0--



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