Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #209899
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: web page problem |
| Date | 2019-06-14 15:10 +0200 |
| Message-ID | <y8U7T-18o-3@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <y8EPv-8r-7@gated-at.bofh.it> <y8F8R-u7-1@gated-at.bofh.it> <y8GeC-17P-3@gated-at.bofh.it> <y8TOx-Mv-3@gated-at.bofh.it> <y8TYd-PH-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Jun 14, 2019 at 02:58:05PM +0200, tomas@tuxteam.de wrote: > That's my standard setup: the files belong to a "www admin" (can be a > regular user, can be root) and have the group www-data. So the web > server hasn't (usually) write access to normal htmls and cgi-bins > (oh, for the last, execute access for the group is necessary, so 075x. Changing the group-owner of the files is one possible approach, yes. However, I prefer to remind myself that if I put something on the web, the entire world can see it. So any attempt to restrict who can read the files on my local system would be entirely pointless, if they can simply read them on the world wide web instead. Thus, making the files world-readable is completely rational. And saves you the headaches and hassles of managing group permissions and umasks and so on. (However, those headaches may return if you are trying to allow multiple people administrative access to the content. That's a separate issue.)
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
web page problem Gene Heskett <gheskett@shentel.net> - 2019-06-13 21:40 +0200
Re: web page problem Felix Miata <mrmazda@earthlink.net> - 2019-06-13 22:10 +0200
Re: web page problem Gene Heskett <gheskett@shentel.net> - 2019-06-13 22:50 +0200
Re: web page problem Felix Miata <mrmazda@earthlink.net> - 2019-06-13 23:10 +0200
Re: web page problem Gene Heskett <gheskett@shentel.net> - 2019-06-14 00:20 +0200
Re: web page problem Greg Wooledge <wooledg@eeg.ccf.org> - 2019-06-14 14:50 +0200
Re: web page problem <tomas@tuxteam.de> - 2019-06-14 15:00 +0200
Re: web page problem Greg Wooledge <wooledg@eeg.ccf.org> - 2019-06-14 15:10 +0200
Re: web page problem Gene Heskett <gheskett@shentel.net> - 2019-06-15 03:20 +0200
Re: web page problem Joe <joe@jretrading.com> - 2019-06-14 15:10 +0200
Re: web page problem Kevin DAGNEAUX <kevin.dagneaux@fiitelcom.fr> - 2019-06-14 16:10 +0200
Re: web page problem Gene Heskett <gheskett@shentel.net> - 2019-06-15 03:30 +0200
Re: web page problem Gene Heskett <gheskett@shentel.net> - 2019-06-14 17:30 +0200
Re: web page problem mick crane <mick.crane@gmail.com> - 2019-06-15 12:00 +0200
csiph-web