Re: Publicly accessible directory?
- From: Tim Greer <tim@xxxxxxxxxxxxx>
- Date: Tue, 03 Mar 2009 17:42:46 -0800
Joyce of Pendle wrote:
Maxwell Lol wrote:
If you and DH are in group 'family"
do
mkdir shared_dir
chgrp family shared_dir
chmod g+rwxs shared_dir
I used this sequence on /etc/ to edit login.defs
Now how do I set /etc/ back to belonging only to the root?
Joyce.
If you were root to be able to change /etc, why didn't you edit the file
as root, instead of giving /etc/ group write permission to the dir or
files? Simply set it back to root ownership:
chown root:root /etc
chmod 755 /etc
Or, on the file itself (if you meant login.defs):
chown root:root /etc/login.defs
chmod 644 /etc/login.defs
--
Tim Greer, CEO/Founder/CTO, BurlyHost.com, Inc.
Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers
and Custom Hosting. 24/7 support, 30 day guarantee, secure servers.
Industry's most experienced staff! -- Web Hosting With Muscle!
.
- Follow-Ups:
- Re: Publicly accessible directory?
- From: Joyce of Pendle
- Re: Publicly accessible directory?
- References:
- Publicly accessible directory?
- From: Joyce of Pendle
- Re: Publicly accessible directory?
- From: Tim Greer
- Publicly accessible directory?
- From: Joyce of Pendle
- Re: Publicly accessible directory?
- From: David W. Hodgins
- Re: Publicly accessible directory?
- From: Joyce of Pendle
- Re: Publicly accessible directory?
- From: Maxwell Lol
- Re: Publicly accessible directory?
- From: Joyce of Pendle
- Publicly accessible directory?
- Prev by Date: Re: Publicly accessible directory?
- Next by Date: Re: Publicly accessible directory?
- Previous by thread: Re: Publicly accessible directory?
- Next by thread: Re: Publicly accessible directory?
- Index(es):
Relevant Pages
|