Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion misc/systemd/services/system/deepin-grub2.service
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ ReadWritePaths=-/etc/grub.d
ReadWritePaths=-/boot

NoNewPrivileges=yes
ProtectHome=yes
# 允许只读访问 /home 以读取 .Xauthority 文件
ProtectHome=read-only
ProtectKernelTunables=yes
ProtectKernelModules=yes
ProtectControlGroups=yes
Expand Down