At 08:22 PM 2/11/00 -0500, Liz Dunbar wrote:
>df    1% sure looks a lot better than df    86% - thank you! We're almost
>there, even I can tell. I hope.
>

I bet.

>Followed Ray & Greg's latest directions, moved site successfully to new
>disk, access through URL worked perfectly - and then we discovered
>webmaster no longer had permission to do anything but look at webmaster's
>files. Then the school day ended so we couldn't play any more so we
>backtracked enough that I can work on it this weekend, but... help yet again?

I hope you followed them with Greg's correction -- the -a flag to cp to
preserve permissions. If not, that was your problem, and I apologize for
misdirecting you. I'm assuming, BTW, that your web server does NOT run under
the userid "webmaster"; if it does, the files SHOULD be read-only for that
id. (Web servers usually run under an unprivileged userid, either "www" or
the ubiquitous "nobody", for security reasons.)

The best fix depends on the complexity of the Web site's contents. If they
are small, you might just go directory by directory and issue these commands:

        chown webmaster *
        chmod 644 *     for directories that contain html files
        chmod 755 *     for directories that contain cgi scripts

If the site is large, as I think it is, you probably want to re-do the cp
using the -a flag this time (instead of -r).
>
>Another question: will the website now coming up on hdb2 have any effect on
>all the email accounts that are still on hda3? 

It shouldn't. E-mail needs access to a spool directory (probably
/var/spool/mail) and to the users' home directories (probably /home/userid),
neither of which will have been affected by mounting a partition on the old
Web directory. Without knowing every detail of your setup, I can't (no one
can) be sure that some oddity will not crop up, but the conventional ways of
setting up Linux systems say mail will be unaffected.

------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
Palo Alto, CA                                    [EMAIL PROTECTED]        
----------------------------------------------------------------


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to