From 03ee0fdeec666cdbdae2bf468256c0d32f5c95a7 Mon Sep 17 00:00:00 2001 From: akanealw Date: Thu, 18 Apr 2024 01:39:09 +0000 Subject: [PATCH] docs: update proxmox/Proxmox-lxc-usermappings --- proxmox/Proxmox-lxc-usermappings.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/proxmox/Proxmox-lxc-usermappings.md b/proxmox/Proxmox-lxc-usermappings.md index 2a28abd..2cf21f0 100644 --- a/proxmox/Proxmox-lxc-usermappings.md +++ b/proxmox/Proxmox-lxc-usermappings.md @@ -2,7 +2,7 @@ title: Promox-lxc-usermappings description: published: true -date: 2024-04-17T00:20:40.035Z +date: 2024-04-18T01:39:06.939Z tags: editor: markdown dateCreated: 2024-04-17T00:20:40.035Z @@ -35,6 +35,7 @@ To fix this: 2. Then use root/sudo to change ownership of the directory/files to root on the container ```bin sudo chown root:root -R /home/akanealw +sudo chown root:root /var/spool/cron/crontabs/akanealw ``` 3. Next, shutdown the container and reapply the mappings in config. Now when you restart the container, /home/akanealw should still be owned by root. @@ -42,5 +43,6 @@ sudo chown root:root -R /home/akanealw 4. Lastly, using container's root and change ownership back to the newly mapped akanealw ```bin sudo chown akanealw:akanealw -R /home/akanealw +sudo chown akanealw:crontabs /var/spool/cron/crontabs/akanealw ```