Open toabctl opened 2 hours ago
On a recent Ubuntu instance running amazon-ssm-agent version 3.3.987.0 (installed from the snapstore), the working directory on a newly created session is a readonly directory.
amazon-ssm-agent
$ aws ssm start-session --target i-0e0d6b6d0d84843b2 Starting session with SessionId: tom-a6rd2j5dx36y98yggjegiu3poq $ pwd /var/snap/amazon-ssm-agent/9881 $
That is confusing for users especially when they try to call basic commands like:
$ echo "foo" > testfile sh: 2: cannot create testfile: Permission denied
changing the default working directory to /home/ssm-user for a session would be good:
/home/ssm-user
$ cd $ pwd /home/ssm-user
The Canonical public cloud team received a bug report for that: https://bugs.launchpad.net/cloud-images/+bug/2082447
On a recent Ubuntu instance running
amazon-ssm-agent
version 3.3.987.0 (installed from the snapstore), the working directory on a newly created session is a readonly directory.That is confusing for users especially when they try to call basic commands like:
changing the default working directory to
/home/ssm-user
for a session would be good: