1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-09-15 04:08:07 -04:00

Relax "group writeable!" error for compatibility w/ recent Linux

This commit is contained in:
Moritz Grimm 2015-05-28 08:36:25 +02:00
parent 6422607b1f
commit 2b004da593
2 changed files with 4 additions and 6 deletions

View File

@ -364,9 +364,8 @@ metadata_program(const char *program, int normalize)
metadata_free(&md);
return (NULL);
}
if (st.st_mode & (S_IWGRP | S_IWOTH)) {
log_error("%s: group and/or world writeable",
program);
if (st.st_mode & S_IWOTH) {
log_error("%s: world writeable", program);
metadata_free(&md);
return (NULL);
}

View File

@ -273,9 +273,8 @@ playlist_program(const char *filename)
playlist_free(&pl);
return (NULL);
}
if (st.st_mode & (S_IWGRP | S_IWOTH)) {
log_error("%s: group and/or world writeable",
filename);
if (st.st_mode & S_IWOTH) {
log_error("%s: world writeable", filename);
playlist_free(&pl);
return (NULL);
}