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

Re: Where does 'www-data' come from?



In article <[🔎] 19990121195018.A18383@rising.com.au> you write:
>On Thu, Jan 21, 1999 at 07:36:43PM +1100, Brian May wrote:
>> 1. web files owned by www-data:www-data (ie no group change), and the
>> web process executed by www:www (for instance). There is no need for
>> users to be members of root. This would require an extra UID and GID.
>
>But this won't allow regular users to change the web files either?

Now you have me confused... Isn't www-data:www-data the default for web
files? My proposal didn't change this. If you want regular users to
be able to edit web files, then you put them in the www-data group.
However, there is nothing stopping you from changing this if you want...

The only thing my proposal changed was the UID and the GID of the web
server, so that the web server doesn't have write access to the web
files. It most cases, it is not required that the web server have
write access to its files, and in those cases where it is required
(eg if CGI scripts need to be able to modify HTML files), then
you can change the UID and/or GID of those individual files.


Reply to: