Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #209898
| From | <tomas@tuxteam.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: web page problem |
| Date | 2019-06-14 15:00 +0200 |
| Message-ID | <y8TYd-PH-5@gated-at.bofh.it> (permalink) |
| References | <y8DJL-7XQ-7@gated-at.bofh.it> <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> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Fri, Jun 14, 2019 at 08:46:51AM -0400, Greg Wooledge wrote: > On Thu, Jun 13, 2019 at 06:11:03PM -0400, Gene Heskett wrote: > > looks good, but the problem is, only gene=user 1000 has any rights to > > follow that path, so this access must be done as gene, not the default > > www-data:www-data, or even as the parent session of apache2.. > > So change the ownership/permissions on the content. To serve it up > from a web server, you need to make it world-readable. This means that > directories require the x bit, and files require the r bit, for the > "other" (right-most characters in ls -l output, least significant bits > in the octal mode). Perhaps group readable (074x, x being usually 0) and setting the file's group would suffice? 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. Better safe than... Cheers -- t
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