Cannot create containers permission denied

newbie2204

New Member
Feb 26, 2022
2
0
1
38
Hi all, I am pretty new to proxmox and don't very knowledgable in linux. hence building my proxmox server to learn. Not sure what I may have done but I can't seemed to create an unpreviledge containers. Keep getting the below error. I can create VM and previledge containers.

Header
Proxmox
Virtual Environment 7.1-10
Search
Storage 'local' on node 'prox01'
Server View
Logs
extracting archive '/var/lib/vz/template/cache/ubuntu-21.04-standard_21.04-1_amd64.tar.gz'
cmd/lxc_usernsexec.c: 112: do_child - Permission denied - Failed to execute "tar"
TASK ERROR: unable to create CT 105 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar xpf - -z --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/105/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 1

If I run the lxc-usernsexec .... in shell I think that works ok but not in gui. any help would be much appreciated.
 
hi,

could you post the output from stat $(which tar) command?

the error
Permission denied - Failed to execute "tar"
seems to imply that the executable bit for the tar binary might be unset (not sure how that would happen though)
 
hi,

could you post the output from stat $(which tar) command?

the error

seems to imply that the executable bit for the tar binary might be unset (not sure how that would happen though)
Thank you, I'll have a look at the tar permission once I replace the blown PSU... lol
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!