Re: [users@httpd] Cannot write to the web directory

2021-03-19 Thread Tatsuki Makino
Frank Gingras wrote on 2021/03/20 09:46: > It has nothing to do with being "free to do anything". > > This is about basic security, and the principle of least privileges. However, a directory with permissions of 0755 (rwxr-xr-x) on FreeBSD behaves the same as a Linux directory with permissions

Re: [users@httpd] Cannot write to the web directory

2021-03-19 Thread Frank Gingras
It has nothing to do with being "free to do anything". This is about basic security, and the principle of least privileges. On Fri, 19 Mar 2021 at 19:33, Tatsuki Makino wrote: > Frank Gingras wrote on 2021/03/19 21:36: > > This is an extremely bad idea. You should never write to the docroot

Re: [users@httpd] Cannot write to the web directory

2021-03-19 Thread Tatsuki Makino
Frank Gingras wrote on 2021/03/19 21:36: > This is an extremely bad idea. You should never write to the docroot from > your application. Write outside the docroot instead, and use group write > permissions. Isn't root the owner of docroot? When the user of an application is the owner, he should

Re: [users@httpd] Cannot write to the web directory

2021-03-19 Thread Paul
did you check if MAC (SELuinux, AppArmor) was > getting in the way? > > HTH, > > Scott > > From: Paul > Sent: March 19, 2021 9:45 AM > To: users@httpd.apache.org > Subject: Re: [users@httpd] Cannot write to the web directory > > Ok , thanks , it doesn’t

Re: [users@httpd] Cannot write to the web directory

2021-03-19 Thread Scott A. Wozny
, AppArmor) was getting in the way? HTH, Scott From: Paul Sent: March 19, 2021 9:45 AM To: users@httpd.apache.org Subject: Re: [users@httpd] Cannot write to the web directory Ok , thanks , it doesn’t appear to be a permissions issue. I will check the php

Re: [users@httpd] Cannot write to the web directory

2021-03-19 Thread Paul
Ok , thanks , it doesn’t appear to be a permissions issue. I will check the php and the apache configuration. Envoyé de mon iPad > Le 19 mars 2021 à 08:37, Frank Gingras a écrit : > >  > This is an extremely bad idea. You should never write to the docroot from > your application. Write

Re: [users@httpd] Cannot write to the web directory

2021-03-19 Thread Rich Bowen
On 3/18/21 4:18 PM, Paul wrote: Would like to upload a file to have wordpress functionality working or be able to upload a file. User permissions are set at 777 owner is www, os is freebsd, the freebsd mailing list claims it’s not their issue but tried to assert assistance nevertheless.

Re: [users@httpd] Cannot write to the web directory

2021-03-19 Thread Frank Gingras
This is an extremely bad idea. You should never write to the docroot from your application. Write outside the docroot instead, and use group write permissions. On Thu, 18 Mar 2021 at 20:15, Tatsuki Makino wrote: > I'm not sure, but FreeBSD happens to be different from Linux, so please > change

Re: [users@httpd] Cannot write to the web directory

2021-03-18 Thread Tatsuki Makino
I'm not sure, but FreeBSD happens to be different from Linux, so please change the directory group to www as well. Permissions of 700, 750, 755, 770 or 775 should be sufficient. - To unsubscribe, e-mail:

Re: [users@httpd] Cannot write to the web directory

2021-03-18 Thread Paul
Thank you but this was not the question the reason for 777 is not because I want to run the system on 777 it’s because I get annoying responses dodging the question that it must be a permissions issue. If I do 777 it doesn’t matter what the question is the answer is that it’s unsafe. If I ask

[users@httpd] Cannot write to the web directory

2021-03-18 Thread Paul
Would like to upload a file to have wordpress functionality working or be able to upload a file. User permissions are set at 777 owner is www, os is freebsd, the freebsd mailing list claims it’s not their issue but tried to assert assistance nevertheless. What can I do so I can upload a file

Re: [users@httpd] Cannot write to the web directory

2021-03-18 Thread angel Hall-Coulston
Don’t know anything about WordPress but having any public (OR private even) accessible files with 777 permissions IS EXTREMELY UNWISE as it allows anyone who can see the file to Read, WRITE and execute it. It’s safer to have 755 permission for public accessible files. Please read apache2

[users@httpd] Cannot write to the web directory

2021-03-18 Thread Paul
Would like to upload a file to have wordpress functionality working or be able to upload a file. User permissions are set at 777 owner is www, os is freebsd, the freebsd mailing list claims it’s not their issue but tried to assert assistance nevertheless. What can I do so I can upload a file