Comment 9 for bug 1876217

Revision history for this message
Alberto Donato (ack) wrote :

@mvo it does, but unfortunately this still yields a permission denied since /etc/os-release on Ubuntu is a symlink and the target is not allowed:

root@maas:~# cat /var/lib/snapd/hostfs/etc/os-release
cat: /var/lib/snapd/hostfs/etc/os-release: Permission denied

root@maas:~# ls -la /var/lib/snapd/hostfs/etc/os-release
lrwxrwxrwx 1 root root 21 Jan 30 12:28 /var/lib/snapd/hostfs/etc/os-release -> ../usr/lib/os-release

root@maas:~# cat /var/lib/snapd/hostfs/usr/lib/os-release
cat: /var/lib/snapd/hostfs/usr/lib/os-release: Permission denied