Closed monstermunchkin closed 2 years ago
Interesting, the issue seems limited to /tmp somehow :)
Ah, it's an issue with kernel security and the sticky bit I believe.
So I'm not sure that this should be treated as a bug given that:
root@speedtest:~# echo blah > /tmp/a
bash: /tmp/a: Permission denied
Closing as it's expected behavior for writes from the root user against a file owned by non-root on a sticky-bit folder like /tmp (1777 permissions).
Required information
Issue description
Pushing a file to an instance works fine the first time. Any subsequent push to the same file, fails with
Steps to reproduce
uuidgen | lxc file push - c1/tmp/testfile
uuidgen | lxc file push - c1/tmp/testfile
Error: sftp: "open /tmp/testfile: permission denied" (SSH_FX_FAILURE)