[100374] in RedHat Linux List

home help back first fref pref prev next nref lref last post

cp -rf worked! But what about httpd-logs permissions?

daemon@ATHENA.MIT.EDU (Justin Kuntz)
Fri Nov 20 08:31:17 1998

From: "Justin Kuntz" <jkuntz@prominic.com>
To: redhat-list@redhat.com
cc: Michael Kleber <kleber@math.mit.edu>
Date: Fri, 20 Nov 1998 07:30:17 -0600
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com


Michael --

Thank you for your advice with the -rf command.  As you can see, it is
working now:
11/20/98 07:18:13 AM       EXEC rc=0 cmd=cp -rf /home/ftp /home/KKonnector

My final question is this: for virtual FTP accounts where the idea is to
"lock" the user into just their home directory (no filesystem browsing or
shell, just so they can update the HTML files associated with the Apache
Web account), what is the proper permission / ownership for the html and
html-logs directories?

The goal is for the user to have complete control over the html directory -
such as adding subdirectories (but not be able to delete html itself), and
for the user to only be able to read the files in the html-logs directory,
but not to delete them or the directory.  Right now all I am doing is this:

11/20/98 07:18:09 AM       EXEC rc=0 cmd=chown KKonnector
/home/KKonnector/html
11/20/98 07:18:09 AM       EXEC rc=0 cmd=chown KKonnector
/home/KKonnector/html-logs

But I think I should change it to:
chown KKonnector.root /home/KKonnector/html
chown root.root /home/KKonnector/html

Is this correct?  And then what would I do for chown on these two
directories to accomplish my goals?  This is on Red Hat v5.1.

Thanks again!

Justin



-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post