diff options
author | xdavidwu | 2020-05-02 17:24:35 +0800 |
---|---|---|
committer | xdavidwu | 2020-05-02 17:24:35 +0800 |
commit | 7cf2123abea6001835c8f84d212200b604474a67 (patch) | |
tree | 29033143e69e8cf38ec7893fea3e6cd4e6490e8c /00-screen-nosuid.hook | |
download | aur-pacman-screen-nosuid-hook.tar.gz |
initial commit
Diffstat (limited to '00-screen-nosuid.hook')
-rw-r--r-- | 00-screen-nosuid.hook | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/00-screen-nosuid.hook b/00-screen-nosuid.hook new file mode 100644 index 000000000000..51908cb33f83 --- /dev/null +++ b/00-screen-nosuid.hook @@ -0,0 +1,11 @@ +[Trigger] +Type = File +Operation = Install +Operation = Upgrade +Target = usr/bin/screen-* + +[Action] +Description = Removing suid bit on screen... +When = PostTransaction +Exec = /bin/sh -c '/usr/bin/xargs chmod u-s; sed -i "s/0755/0777/" /usr/lib/tmpfiles.d/screen.conf' +NeedsTargets |