Code: Select all
$ sudo chmod 600 /etc/machine-id
$ ll /etc/machine-id
-rw------- 1 root root 33 Jan 24 16:09 /etc/machine-id
$ cat /etc/machine-id
cat: /etc/machine-id: Permission denied
$ vlc
VLC media player 3.0.12 Vetinari (revision 3.0.12-1-0-gd147bb5e7e)
[0000557008b0c5b0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
dbus[23870]: D-Bus library appears to be incorrectly set up: see the manual page for dbus-uuidgen to correct this issue. (Failed to open "/var/lib/dbus/machine-id": Permission denied; Failed to open "/etc/machine-id": Permission denied)
D-Bus not built with -rdynamic so unable to print a backtrace
Aborted
Code: Select all
$ sudo chmod 644 /etc/machine-id
$ ll /etc/machine-id
-rw-r--r-- 1 root root 33 Jan 24 16:09 /etc/machine-id
$ cat /etc/machine-id
627abbb966c244358779d20c13e7d709
$ vlc
VLC media player 3.0.12 Vetinari (revision 3.0.12-1-0-gd147bb5e7e)
[000055578a2315b0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[000055578a2d1390] main playlist: playlist is empty