Deny access to sensitive data for other users
This commit is contained in:
parent
55fbda871c
commit
c709bceab9
2 changed files with 3 additions and 1 deletions
|
|
@ -208,6 +208,8 @@ EOF
|
||||||
|
|
||||||
QEMU='qemu:///session'
|
QEMU='qemu:///session'
|
||||||
|
|
||||||
|
umask 077
|
||||||
|
|
||||||
NEWCLONE=0
|
NEWCLONE=0
|
||||||
PERSISTENT=0
|
PERSISTENT=0
|
||||||
LIBVIRTOSINFO="win10"
|
LIBVIRTOSINFO="win10"
|
||||||
|
|
|
||||||
|
|
@ -222,7 +222,7 @@
|
||||||
Description=Create .vminfo.json for VMs
|
Description=Create .vminfo.json for VMs
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/bash -c 'umask 027; /usr/local/bin/vm-vminfo > "{% if localhome %}/home{% else %}/lmn/media{% endif %}/${USER}/.vminfo.json"'
|
ExecStart=/usr/bin/bash -c 'umask 077; /usr/local/bin/vm-vminfo > "{% if localhome %}/home{% else %}/lmn/media{% endif %}/${USER}/.vminfo.json"'
|
||||||
dest: /etc/systemd/user/vminfo.service
|
dest: /etc/systemd/user/vminfo.service
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue