On 18/01/2023 13:02, Richard Hector wrote:
I have a Wordpress site. The directory /srv/sitename/doc_root, and most
of the directories under it, are owned by user 'sitename'.
PHP runs as 'sitename-run', which has access (via group 'sitename') to
read all of that, but not write it. Some
On 18/01/23 16:38, Max Nikulin wrote:
On 18/01/2023 03:52, Richard Hector wrote:
On 17/01/23 23:52, Max Nikulin wrote:
lxc.idmap = u 0 10 1000
lxc.idmap = u 1000 1000 1
lxc.mount.entry = /home/richard/sitename/doc_root
srv/sitename/doc_root none bind,optional,create=dir
My goal is not
On 18/01/2023 03:52, Richard Hector wrote:
On 17/01/23 23:52, Max Nikulin wrote:
lxc.idmap = u 0 10 1000
lxc.idmap = u 1000 1000 1
lxc.mount.entry = /home/richard/sitename/doc_root
srv/sitename/doc_root none bind,optional,create=dir
My goal is not to map container users to host users,
On 17/01/23 23:52, Max Nikulin wrote:
On 17/01/2023 04:06, Richard Hector wrote:
I'm using bindfs in my web LXC containers to allow particular users to
write to their site docroot as the correct user.
I am not familiar with bindfs, so I may miss something important for
your use case.
On 17/01/2023 17:52, Max Nikulin wrote:
lxc.mount.entry = /home/richard/sitename/doc_root /srv/sitename/doc_root
none bind,optional,create=dir
Sorry, path inside the container should be without the leading slash.
lxc.mount.entry = /home/richard/sitename/doc_root srv/sitename/doc_root
none
On 17/01/2023 04:06, Richard Hector wrote:
I'm using bindfs in my web LXC containers to allow particular users to
write to their site docroot as the correct user.
I am not familiar with bindfs, so I may miss something important for
your use case.
First of all I am unsure why you prefer
Hi all,
I'm using bindfs in my web LXC containers to allow particular users to
write to their site docroot as the correct user.
Getting this to work has been really hacky, and while it does seem to
work, I get log messages saying it didn't ...
In /var/lib/lxc//config:
7 matches
Mail list logo