Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Oct 2004 08:35:17 +0100
From:      "Brian " <Brian@bossbox.com>
To:        <freebsd-questions@freebsd.org>
Subject:   Cp -Rp Nightmare unable to access /usr
Message-ID:  <200410060735.i967ZGXL009001@emboss.bossbox.com>

next in thread | raw e-mail | index | archive | help
Hi,

I'm running a FreeBSD 5.2.1 test box at home for Apache,PHP,MySQL.

I wanted to move the default mysql dabatse location from /var/db/mysql to
/usr/mysql

What I did was cp -Rp /var/db/mysql  /usr

I know now it was wrong for the most part I know how stupid this idea was.

I now can't ssh to the box I get the error below

Could not chdir to home directory /home/reports: Permission denied
/usr/local/bin/bash: Permission denied

What I'm looking to know is, what exactly have I done to /usr and if I'm at
the console can I easiliy reverse what I did ?

Thanks in advance.

Brian


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.766 / Virus Database: 513 - Release Date: 17/09/2004
 



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