Crash!!! -- Permission Error

Daniel O'Connor doconnor at gsoft.com.au
Wed Mar 18 19:10:01 PDT 2009


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20090319/6005d296/attachment.pgp


More information about the freebsd-stable mailing list