Ok I messed up some permissions. Help me change the owner of folders and files
From: Ben Sewell (ben_sewell_007_at_hotmail.com)
Date: 09/05/04
- Previous message: Vipul Ramani: "Re: Why Linux can't visit public net?"
- Next in thread: Vipul Ramani: "Re: Ok I messed up some permissions. Help me change the owner of folders and files"
- Reply: Vipul Ramani: "Re: Ok I messed up some permissions. Help me change the owner of folders and files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: redhat-list@redhat.com Date: Sun, 05 Sep 2004 13:16:21 +0000
Hi,
I have a webserver on my red hat 9 system, and after doing some changes to
/etc/passwd to get something to work I got something not to work. PLease
bear with me, I don't remember exactly what I wanted to get fixed as I've
been very busy, but I know I edited the group IDs to be like this, again not
sure of exactly what it is now but just to get an idea:
pectabyte:802:802::/var/www/:bin/bash
Basicly I have a user- pectabyte who has their website stored in
/var/www/pectabyte. As a result of editing /etc/passwd, the files are now
owned by apache when before they were owned by pectabyte. My question is,
instead of simply copying the files and folders on to a new folder and
making the relevent changes to httpd.conf, can I just change the folder
owner instead, since everything under /var/www/pectabyte is just for that
user? Basicly I'm phyisically remote from my system and won't be there for
another 3 months so I have SSH setup and working so this is how I want to
solve this problem. I'm using putty as my SSH client.
Thanks for your assistance,
Ben
_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
- Previous message: Vipul Ramani: "Re: Why Linux can't visit public net?"
- Next in thread: Vipul Ramani: "Re: Ok I messed up some permissions. Help me change the owner of folders and files"
- Reply: Vipul Ramani: "Re: Ok I messed up some permissions. Help me change the owner of folders and files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]