[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] chmod



MT> Date: Fri, 2 May 2003 18:36:04 -0700
MT> From: Manny Tau


MT> Quick question:
MT>
MT> What's the chmod to make a file web server writeable?

	chown user:group /path/to/file
	chmod u+w /path/to/file

Let "user" and "group" be the user and group ids, respectively,
under which the webserver runs.

Note that this does not apply if dealing with CGI scripts running
via suEXEC or similar.


MT> What is it to make it world writeable?

	chmod 666 /path/to/file


MT> I just need to make some things clear in my cluttered head.

I hope you're not making world- or webserver-writeable files.
Both are dangerous and bad.  Better ways exist.


Eddy
--
Brotsman & Dreger, Inc. - EverQuick Internet Division
Bandwidth, consulting, e-commerce, hosting, and network building
Phone: +1 (785) 865-5885 Lawrence and [inter]national
Phone: +1 (316) 794-8922 Wichita

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Date: Mon, 21 May 2001 11:23:58 +0000 (GMT)
From: A Trap <blacklist@xxxxxxxxx>
To: blacklist@xxxxxxxxx
Subject: Please ignore this portion of my mail signature.

These last few lines are a trap for address-harvesting spambots.
Do NOT send mail to <blacklist@xxxxxxxxx>, or you are likely to
be blocked.