Re: website permissions and ownership

2021-02-02 Thread Kenneth Parker
On Tue, Feb 2, 2021, 2:10 AM Richard Hector wrote: > Hi all, > > I'm reviewing how I set up websites (mostly Wordpress at the moment), > and would like other opinions on what I'm planning is sane. > > My plan is to have a user eg "mysite" that owns all/most of the standard > files and directories

Re: website permissions and ownership

2021-02-02 Thread Richard Hector
On 2/02/21 10:42 pm, Jeremy Ardley wrote: On 2/2/21 5:32 pm, Jeremy Ardley wrote: On 2/2/21 4:55 pm, Richard Hector wrote: What you are doing sounds pretty O.K. Though I personally also use SELinux for web facing services. Thanks. I haven't looked in to SELinux. I looked at AppArmor, but

Re: website permissions and ownership

2021-02-02 Thread Jeremy Ardley
On 2/2/21 5:32 pm, Jeremy Ardley wrote: On 2/2/21 4:55 pm, Richard Hector wrote: What you are doing sounds pretty O.K. Though I personally also use SELinux for web facing services. Thanks. I haven't looked in to SELinux. I looked at AppArmor, but it appears that it won't work as expected

Re: website permissions and ownership

2021-02-02 Thread Richard Hector
On 2/02/21 10:37 pm, john doe wrote: On 2/2/2021 9:55 AM, Richard Hector wrote: On 2/02/21 9:11 pm, Jeremy Ardley wrote: On 2/2/21 3:09 pm, Richard Hector wrote: Hi all, I'm reviewing how I set up websites (mostly Wordpress at the moment), and would like other opinions on what I'm planning i

Re: website permissions and ownership

2021-02-02 Thread john doe
On 2/2/2021 9:55 AM, Richard Hector wrote: On 2/02/21 9:11 pm, Jeremy Ardley wrote: On 2/2/21 3:09 pm, Richard Hector wrote: Hi all, I'm reviewing how I set up websites (mostly Wordpress at the moment), and would like other opinions on what I'm planning is sane. My plan is to have a user eg

Re: website permissions and ownership

2021-02-02 Thread Jeremy Ardley
On 2/2/21 4:55 pm, Richard Hector wrote: What you are doing sounds pretty O.K. Though I personally also use SELinux for web facing services. Thanks. I haven't looked in to SELinux. I looked at AppArmor, but it appears that it won't work as expected in an LXC container, which is where I ru

Re: website permissions and ownership

2021-02-02 Thread Richard Hector
On 2/02/21 9:11 pm, Jeremy Ardley wrote: On 2/2/21 3:09 pm, Richard Hector wrote: Hi all, I'm reviewing how I set up websites (mostly Wordpress at the moment), and would like other opinions on what I'm planning is sane. My plan is to have a user eg "mysite" that owns all/most of the standa

Re: website permissions and ownership

2021-02-02 Thread Jeremy Ardley
On 2/2/21 3:09 pm, Richard Hector wrote: Hi all, I'm reviewing how I set up websites (mostly Wordpress at the moment), and would like other opinions on what I'm planning is sane. My plan is to have a user eg "mysite" that owns all/most of the standard files and directories. The webserver

website permissions and ownership

2021-02-01 Thread Richard Hector
Hi all, I'm reviewing how I set up websites (mostly Wordpress at the moment), and would like other opinions on what I'm planning is sane. My plan is to have a user eg "mysite" that owns all/most of the standard files and directories. The webserver (actually php-fpm) would run as "mysite-run