On 3 Jan 2004 11:32:28 -0800,
ne*****@zappo.c om (Sean) wrote:
What is meant by: "CHOWN the entire casetracker folder to something
that permits the server to write to it, such as apache.apache, or
whatever your Webmaster recommends"
chown alters the owner and/or group of a file or directory.
- is that 700 or 777...Help
That's chmod, which determines read/write/execute permissions for
owner/group/others. The owner and group being determined from whatever it was
set with using chown/chgrp or whatever values it inherited at create time.
700 is full access for owner, no access for anyone else (except root).
Also accepted by chmod is the alternative way of specifying it, which is a bit
easier to remember, for example 700 corresponds to:
u+rwx,g-rwx,o-rwx
User (i.e. file owner): has (given by the +) read, write, execute
Group: does not have (because of the -) read, write, execute.
Others: does not have (because of the -) read, write, execute.
770 is full access for owner and group, no access for others.
777 is full access for anyone on the system, which lets anyone modify your
files freely. You don't usually want to set this unless you completely trust
the system and everyone using it.
Ideally you'd set the group on the files to one that the web server user is
also a member of, and set permissions to something like u+rwx,g+rwx,o-rwx
(770), or g+r-wx for files the web server should only be able to read.
--
Andy Hassall (an**@andyh.co. uk) icq(5747695) (
http://www.andyh.co.uk)
Space: disk usage analysis tool (
http://www.andyhsoftware.co.uk/space)