Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Brandon Friedman on December 19, 2000, 06:05:48 PM
-
Hi
I have recently replaced a full red-hat server with an e-smith server. The old hard disk contain the .html files, gifs etc.
Should I mount the drive on the e-smith server and copy?
What is the easiest way to move the files to the /primary/html directory? Do I have to worry about permissions ie chmod or something?
Regards
BF
-
Hi,
Permissions wise, the biggest headache you may have is that RedHats deafult 'Web user', nobody, is different to E-smiths choices (such as admin etc).
If you have a look at the user & group of the existing index.html in the primary (and/or ibay) html directory then this should give you a clue on what you need set the files ownership to.
As for the copy process, I'd install the old HDD as secondary drive (either on a spare linux box pref'bly but the e-smith server will do) and copy across from there.
Regards,
Luke
-
Luke Drumm wrote:
> Hi, Permissions wise, the biggest headache you may have is that
> RedHats deafult 'Web user', nobody, is different to E-smiths
> choices (such as admin etc).
>
> If you have a look at the user & group of the existing
> index.html in the primary (and/or ibay) html directory then
> this should give you a clue on what you need set the files
> ownership to.
You don't want the web server to own the files it serves. If it owns them, it can change them, which might be a bad thing, and can happen if there is a web server bug or a CGI sript with a bug in it - both have been known to happen.
Regards
Charlie
-
Update:
Ok well I have solved the issue - for those of us still using windoze , I found a nice little util that allows you to read ex2fs partitons from windoze!!!
http://uranus.it.swin.edu.au/~jn/linux/explore2fs.htm
Regards
BF