summaryrefslogtreecommitdiff
path: root/sway/main.c
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2017-02-22 00:45:51 -0500
committerGitHub <[email protected]>2017-02-22 00:45:51 -0500
commit692768230385d7d63938d7a40e9253c0f028d1cb (patch)
tree5b8222416cf425c2c2dee123a13dd774fd2a368c /sway/main.c
parent46bd2bb5df02bd155bf92af6483c5b553afa7b6e (diff)
parentf68d2fb33c433d13def0921db561eb23d400683c (diff)
Merge branch 'master' into swaylock_colors
Diffstat (limited to 'sway/main.c')
-rw-r--r--sway/main.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sway/main.c b/sway/main.c
index 1c4c56c0..0151e078 100644
--- a/sway/main.c
+++ b/sway/main.c
@@ -175,13 +175,6 @@ static void security_sanity_check() {
cap_free(cap);
}
#endif
- if (!stat(SYSCONFDIR "/sway", &s)) {
- if (s.st_uid != 0 || s.st_gid != 0
- || (s.st_mode & S_IWGRP) || (s.st_mode & S_IWOTH)) {
- sway_log(L_ERROR,
- "!! DANGER !! " SYSCONFDIR "/sway is not secure! It should be owned by root and set to 0755 at the minimum");
- }
- }
}
int main(int argc, char **argv) {